Home
last modified time | relevance | path

Searched refs:shouldDrop (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/sink/
H A Daudio_server_sink_plugin.cpp855 bool shouldDrop = false; in DrainCacheData() local
856 size_t remained = WriteAudioBuffer(destBuffer, destLength, shouldDrop); in DrainCacheData()
861 if (shouldDrop) { // write error and drop buffer in DrainCacheData()
891 … AudioServerSinkPlugin::WriteAudioBuffer(uint8_t* inputBuffer, size_t bufferSize, bool& shouldDrop) in WriteAudioBuffer() argument
903 shouldDrop = false; in WriteAudioBuffer()
906 shouldDrop = true; in WriteAudioBuffer()
955 bool shouldDrop = false; in Write() local
956 size_t remained = WriteAudioBuffer(destBuffer, destLength, shouldDrop); in Write()
960 if (!shouldDrop) { in Write()
H A Daudio_server_sink_plugin.h182 size_t WriteAudioBuffer(uint8_t* inputBuffer, size_t bufferSize, bool& shouldDrop);
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/video_sink/
H A Dvideo_sink_filter.cpp500 bool shouldDrop = false; in DoSyncWrite() local
522 shouldDrop = CheckBufferLatenessMayWait(buffer); in DoSyncWrite()
525 shouldDrop = false; in DoSyncWrite()
529 if (shouldDrop) { in DoSyncWrite()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_unmarshal_thread.cpp106 …bool shouldDrop = ReportTransactionDataStatistics(callingPid, transData.get(), isNonSystemAppCalli… in RecvParcel() local
107 if (shouldDrop) { in RecvParcel()
H A Drs_render_service_connection.cpp286 bool shouldDrop = RSUnmarshalThread::Instance().ReportTransactionDataStatistics( in CommitTransaction() local
288 if (shouldDrop) { in CommitTransaction()