/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/ |
H A D | pts_and_index_conversion.cpp | 77 FALSE_RETURN_MSG(buffer != nullptr, "Buffer is nullptr"); in ReadBufferFromDataSource() 106 FALSE_RETURN_MSG(header.size >= 0, "StartParse failed due to error box size"); in StartParse() 133 FALSE_RETURN_MSG(memory != nullptr, "No memory in buffer"); in ReadLargeSize() 135 FALSE_RETURN_MSG(ptr != nullptr, "ReadLargeSize failed due to nullptr"); in ReadLargeSize() 145 FALSE_RETURN_MSG(memory != nullptr, "No memory in buffer"); in ReadBoxHeader() 147 FALSE_RETURN_MSG(ptr != nullptr, "ReadBoxHeader failed due to nullptr"); in ReadBoxHeader() 149 FALSE_RETURN_MSG(size >= sizeof(header.size) + 4, // 4 is used to check data in ReadBoxHeader() 260 FALSE_RETURN_MSG(ptr != nullptr, "ParseCtts failed due to nullptr"); in ParseCtts() 297 FALSE_RETURN_MSG(ptr != nullptr, "ParseStts failed due to nullptr"); in ParseStts() 333 FALSE_RETURN_MSG(ptr != nullptr, "ParseHdlr failed due to nullptr"); in ParseHdlr() [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | condition_variable.cpp | 69 FALSE_RETURN_MSG(condInited_, "NotifyOne uninitialized pthread cond"); in NotifyOne() 76 FALSE_RETURN_MSG(condInited_, "NotifyAll uninitialized pthread cond"); in NotifyAll() 83 FALSE_RETURN_MSG(condInited_, "Wait uninitialized pthread cond"); in Wait() 89 FALSE_RETURN_MSG(condInited_, "Wait uninitialized pthread cond"); in Wait()
|
H A D | mutex.cpp | 45 FALSE_RETURN_MSG(created_, "lock uninitialized pthread mutex!"); in lock() 60 FALSE_RETURN_MSG(created_, "unlock uninitialized pthread mutex!"); in unlock()
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | dfx_agent.cpp | 56 FALSE_RETURN_MSG(ptr != nullptr, "DfxAgent is released"); in SetSourceType() 67 FALSE_RETURN_MSG(ptr != nullptr, "DfxAgent is released"); in SetInstanceId() 80 FALSE_RETURN_MSG(ptr != nullptr, "DfxAgent is released"); in OnDfxEvent() 91 FALSE_RETURN_MSG(ptr != nullptr, "DfxAgent is released"); in ReportLagEvent() 128 FALSE_RETURN_MSG(ptr != nullptr, "DfxAgent is released"); in ResetAgent()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | video_decoder_adapter.cpp | 98 FALSE_RETURN_MSG(mediaCodec_ != nullptr, "mediaCodec_ is nullptr"); in ~VideoDecoderAdapter() 261 FALSE_RETURN_MSG(tmpBuffer->meta_ != nullptr, "tmpBuffer is nullptr."); in AquireAvailableInputBuffer() 263 … FALSE_RETURN_MSG(tmpBuffer->meta_->GetData(Tag::REGULAR_TRACK_ID, index), "get index failed."); in AquireAvailableInputBuffer() 270 FALSE_RETURN_MSG(mediaCodec_ != nullptr, "mediaCodec_ is nullptr."); in AquireAvailableInputBuffer() 292 FALSE_RETURN_MSG(buffer != nullptr && buffer->meta_ != nullptr, "meta_ is nullptr."); in OnInputBufferAvailable() 322 FALSE_RETURN_MSG(callback_ != nullptr, "OnError callback_ is nullptr"); in OnError() 328 FALSE_RETURN_MSG(callback_ != nullptr, "OnOutputFormatChanged callback_ is nullptr"); in OnOutputFormatChanged() 341 FALSE_RETURN_MSG(callback_ != nullptr, "callback_ is nullptr"); in OnOutputBufferAvailable()
|
H A D | surface_decoder_adapter.cpp | 311 FALSE_RETURN_MSG(buffer != nullptr && buffer->meta_ != nullptr, "meta_ is nullptr."); in OnInputBufferAvailable() 366 FALSE_RETURN_MSG(filledInputBuffer->meta_ != nullptr, "filledInputBuffer meta is nullptr."); in AcquireAvailableInputBuffer() 368 …FALSE_RETURN_MSG(filledInputBuffer->meta_->GetData(Tag::REGULAR_TRACK_ID, index), "get index faile… in AcquireAvailableInputBuffer() 369 FALSE_RETURN_MSG(codecServer_ != nullptr, "codecServer_ is nullptr."); in AcquireAvailableInputBuffer()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | media_monitor_service.cpp | 324 FALSE_RETURN_MSG(dumpSignal_ != nullptr, "signal is nullptr"); in DumpLoopFunc() 325 FALSE_RETURN_MSG(dumpBufferWrap_ != nullptr, "buffer wrap is nullptr"); in DumpLoopFunc() 373 FALSE_RETURN_MSG(dumpSignal_ != nullptr, "signal is nullptr"); in AddBufferToQueue() 386 FALSE_RETURN_MSG(buffer != nullptr, "buffer is nullptr"); in WriteBufferFromQueue() 388 FALSE_RETURN_MSG(IsRealPath(fileFloader_), "check path failed"); in WriteBufferFromQueue() 390 FALSE_RETURN_MSG(dumpFile != nullptr, "pcm file %{public}s open failed", realFilePath.c_str()); in WriteBufferFromQueue() 400 FALSE_RETURN_MSG(dumpFile != nullptr, "reopen file failed"); in WriteBufferFromQueue() 441 FALSE_RETURN_MSG(buffer != nullptr, "buffer is nullptr"); in AudioBufferRelease()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/foundation/utils/ |
H A D | dump_buffer.cpp | 51 FALSE_RETURN_MSG(allDumpFileFds[fileName] != nullptr, "fd is null"); in DumpBufferToFile() 101 FALSE_RETURN_MSG(buffer && (!buffer->IsEmpty()), PUBLIC_LOG_S " Buffer(null or empty)", desc); in DumpBufferToLog() 111 …FALSE_RETURN_MSG(len > 0 && len <= 2, "snprintf_s returned unexpected value " PUBLIC_LOG_D32, len)… in DumpBufferToLog()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | stream_parser_manager.cpp | 94 FALSE_RETURN_MSG(streamParser_ != nullptr, "Stream parser is nullptr"); in ParseExtraData() 173 FALSE_RETURN_MSG(streamParser_ != nullptr, "Stream parser is nullptr"); in ConvertPacketToAnnexb() 179 FALSE_RETURN_MSG(streamParser_ != nullptr, "Stream parser is nullptr"); in ParseAnnexbExtraData() 185 FALSE_RETURN_MSG(streamParser_ != nullptr, "Stream parser is nullptr"); in ResetXPSSendStatus()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/common/src/ |
H A D | event_bean.cpp | 83 FALSE_RETURN_MSG(intMapSize < MAX_MAP_SIZE, in ReadFromParcel() 92 FALSE_RETURN_MSG(stringMapSize < MAX_MAP_SIZE, in ReadFromParcel() 101 FALSE_RETURN_MSG(uint64MapSize < MAX_MAP_SIZE, in ReadFromParcel() 110 FALSE_RETURN_MSG(floatMapSize < MAX_MAP_SIZE, in ReadFromParcel()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/source/ |
H A D | source.cpp | 66 FALSE_RETURN_MSG(callback != nullptr, "callback is nullptr"); in SetCallback() 67 FALSE_RETURN_MSG(mediaDemuxerCallback_ != nullptr, "mediaDemuxerCallback is nullptr"); in SetCallback() 282 FALSE_RETURN_MSG(mediaDemuxerCallback_ != nullptr, "mediaDemuxerCallback is nullptr"); in OnEvent() 497 FALSE_RETURN_MSG(plugin_ != nullptr, "WaitForBufferingEnd source plugin is nullptr"); in WaitForBufferingEnd()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/include/foundation/ |
H A D | log.h | 204 #ifndef FALSE_RETURN_MSG 205 #define FALSE_RETURN_MSG(exec, fmt, args...) … macro
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/client/src/ |
H A D | media_monitor_manager.cpp | 135 FALSE_RETURN_MSG(ptr != nullptr, "in data is empty"); in WriteAudioBuffer() 137 FALSE_RETURN_MSG(gamp != nullptr, "gamp is nullptr"); in WriteAudioBuffer()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/monitor/ |
H A D | download_monitor.cpp | 280 FALSE_RETURN_MSG(downloader != nullptr, "downloader is nullptr."); in OnDownloadStatus() 305 FALSE_RETURN_MSG(downloader_ != nullptr, "SetReadBlockingFlag downloader is null"); in SetReadBlockingFlag() 424 FALSE_RETURN_MSG(downloader_ != nullptr, "WaitForBufferingEnd downloader is nullptr"); in WaitForBufferingEnd()
|
/ohos5.0/foundation/multimedia/media_foundation/src/osal/utils/ |
H A D | dump_buffer.cpp | 40 …FALSE_RETURN_MSG((para == "w" || para == "a") && !fileName.empty(), "para or fileName is invalid."… in DumpAVBufferToFile()
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/ |
H A D | av_virtual_memory.cpp | 68 … FALSE_RETURN_MSG(ret, "Free memory failed, instance: 0x%{public}06" PRIXPTR, FAKE_POINTER(this)); in ~AVVirtualMemory()
|
H A D | av_surface_memory.cpp | 90 … FALSE_RETURN_MSG(ret, "Free memory failed, instance: 0x%{public}06" PRIXPTR, FAKE_POINTER(this)); in ~AVSurfaceMemory()
|
H A D | av_shared_memory_ext.cpp | 88 … FALSE_RETURN_MSG(ret, "Free memory failed, instance: 0x%{public}06" PRIXPTR, FAKE_POINTER(this)); in ~AVSharedMemoryExt()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | media_synchronous_sink.cpp | 90 FALSE_RETURN_MSG(meta != nullptr, "meta is null!"); in UpdateMediaTimeRange()
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/common/ |
H A D | log.h | 311 #ifndef FALSE_RETURN_MSG 312 #define FALSE_RETURN_MSG(exec, fmt, args...) \ macro
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/monitor/ |
H A D | download_monitor.cpp | 174 …FALSE_RETURN_MSG(downloader != nullptr, "downloader is null, url is " PUBLIC_LOG_S, request->GetUr… in OnDownloadStatus()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/buffer/src/ |
H A D | dump_buffer_manager.cpp | 59 FALSE_RETURN_MSG(buffer != nullptr, "input buffer is nullptr!"); in DumpBufferDestroy()
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/ |
H A D | hitranscoder_impl.cpp | 197 FALSE_RETURN_MSG( in ConfigureMetaDataToTrackFormat() 207 FALSE_RETURN_MSG(meta != nullptr, "meta is invalid, index: %zu", index); in ConfigureMetaDataToTrackFormat() 688 FALSE_RETURN_MSG(meta != nullptr, "meta is invalid."); in AppendSrcMediaInfo() 720 FALSE_RETURN_MSG(meta != nullptr, "meta is invalid."); in AppendDstMediaInfo()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_demuxer_plugin.cpp | 370 FALSE_RETURN_MSG(avStream.codecpar != nullptr, "Codecpar is nullptr"); in InitBitStreamContext() 373 … FALSE_RETURN_MSG(g_bitstreamFilterMap.count(codecID) != 0, "Can not match any BitStreamContext"); in InitBitStreamContext() 376 …FALSE_RETURN_MSG((avBitStreamFilter != nullptr), "Call av_bsf_get_by_name failed for" PUBLIC_LOG_S, in InitBitStreamContext() 382 FALSE_RETURN_MSG((ret >= 0 && avbsfContext != nullptr), in InitBitStreamContext() 386 …FALSE_RETURN_MSG((ret >= 0), "Call avcodec_parameters_copy failed, err:" PUBLIC_LOG_S, AVStrError(… in InitBitStreamContext() 389 …FALSE_RETURN_MSG((ret >= 0), "Call av_bsf_init failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()… in InitBitStreamContext() 397 …FALSE_RETURN_MSG(avbsfContext_ != nullptr, "Stream " PUBLIC_LOG_S " will not be converted to annex… in InitBitStreamContext() 1053 FALSE_RETURN_MSG(formatContext_ != nullptr, "AVFormatContext is nullptr"); in InitParser()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | hdi_codec_manager.cpp | 161 FALSE_RETURN_MSG(ret == HDF_SUCCESS, "GetComponentCapabilityList fail"); in InitCaps()
|