/foundation/multimedia/media_foundation/src/osal/task/pthread/ |
H A D | condition_variable.cpp | 69 FALSE_RETURN_MSG(condInited_, "NotifyOne uninitialized pthread cond"); 76 FALSE_RETURN_MSG(condInited_, "NotifyAll uninitialized pthread cond"); 83 FALSE_RETURN_MSG(condInited_, "Wait uninitialized pthread cond"); 89 FALSE_RETURN_MSG(condInited_, "Wait uninitialized pthread cond");
|
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()
|
/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() 166 FALSE_RETURN_MSG(streamParser_ != nullptr, "Stream parser is nullptr"); in ConvertExtraDataToAnnexb() 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()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | video_decoder_adapter.cpp | 100 FALSE_RETURN_MSG(mediaCodec_ != nullptr, "mediaCodec_ is nullptr"); in ~VideoDecoderAdapter() 267 FALSE_RETURN_MSG(tmpBuffer->meta_ != nullptr, "tmpBuffer is nullptr."); in AquireAvailableInputBuffer() 269 FALSE_RETURN_MSG(tmpBuffer->meta_->GetData(Tag::REGULAR_TRACK_ID, index), "get index failed."); in AquireAvailableInputBuffer() 273 FALSE_RETURN_MSG(mediaCodec_ != nullptr, "mediaCodec_ is nullptr."); in AquireAvailableInputBuffer() 296 FALSE_RETURN_MSG(buffer != nullptr && buffer->meta_ != nullptr, "meta_ is nullptr."); in OnInputBufferAvailable() 324 FALSE_RETURN_MSG(callback_ != nullptr, "OnError callback_ is nullptr"); in OnError() 330 FALSE_RETURN_MSG(callback_ != nullptr, "OnOutputFormatChanged callback_ is nullptr"); in OnOutputFormatChanged() 343 FALSE_RETURN_MSG(buffer != nullptr, "buffer is nullptr"); in OnOutputBufferAvailable() 344 FALSE_RETURN_MSG(callback_ != nullptr, "callback_ is nullptr"); in OnOutputBufferAvailable()
|
H A D | surface_decoder_adapter.cpp | 296 FALSE_RETURN_MSG(buffer != nullptr && buffer->meta_ != nullptr, "meta_ is nullptr.");
in OnInputBufferAvailable() 350 FALSE_RETURN_MSG(filledInputBuffer->meta_ != nullptr, "filledInputBuffer meta is nullptr.");
in AcquireAvailableInputBuffer() 352 FALSE_RETURN_MSG(filledInputBuffer->meta_->GetData(Tag::REGULAR_TRACK_ID, index), "get index failed.");
in AcquireAvailableInputBuffer() 353 FALSE_RETURN_MSG(codecServer_ != nullptr, "codecServer_ is nullptr.");
in AcquireAvailableInputBuffer()
|
H A D | decoder_surface_filter.cpp | 94 FALSE_RETURN_MSG(decoderSurfaceFilter != nullptr, "invalid decoderSurfaceFilter"); 101 FALSE_RETURN_MSG(decoderSurfaceFilter != nullptr, "invalid decoderSurfaceFilter"); 112 FALSE_RETURN_MSG(decoderSurfaceFilter != nullptr, "invalid decoderSurfaceFilter"); 132 FALSE_RETURN_MSG(decoderSurfaceFilter != nullptr, "invalid decoderSurfaceFilter"); in OnBufferAvailable() 854 FALSE_RETURN_MSG(ret || height <= 0, "failed to get video height"); in ParseDecodeRateLimit() 857 FALSE_RETURN_MSG(ret || width <= 0, "failed to get video width"); in ParseDecodeRateLimit() 862 FALSE_RETURN_MSG(videoCap != nullptr, "failed to get videoCap instance"); in ParseDecodeRateLimit()
|
/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); // max len 2 in DumpBufferToLog()
|
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | media_monitor_service.cpp | 334 FALSE_RETURN_MSG(dumpSignal_ != nullptr, "signal is nullptr"); in DumpLoopFunc() 335 FALSE_RETURN_MSG(dumpBufferWrap_ != nullptr, "buffer wrap is nullptr"); in DumpLoopFunc() 383 FALSE_RETURN_MSG(dumpSignal_ != nullptr, "signal is nullptr"); in AddBufferToQueue() 396 FALSE_RETURN_MSG(buffer != nullptr, "buffer is nullptr"); in WriteBufferFromQueue() 398 FALSE_RETURN_MSG(IsRealPath(fileFloader_), "check path failed"); in WriteBufferFromQueue() 400 FALSE_RETURN_MSG(dumpFile != nullptr, "pcm file %{public}s open failed", realFilePath.c_str()); in WriteBufferFromQueue() 410 FALSE_RETURN_MSG(dumpFile != nullptr, "reopen file failed"); in WriteBufferFromQueue() 451 FALSE_RETURN_MSG(buffer != nullptr, "buffer is nullptr"); in AudioBufferRelease()
|
/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()
|
/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
|
/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()
|
/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_shared_memory_ext.cpp | 88 FALSE_RETURN_MSG(ret, "Free memory failed, instance: 0x%{public}06" PRIXPTR, FAKE_POINTER(this)); in ~AVSharedMemoryExt()
|
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()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/monitor/ |
H A D | download_monitor.cpp | 232 FALSE_RETURN_MSG(downloader != nullptr, "downloader is nullptr."); in OnDownloadStatus() 257 FALSE_RETURN_MSG(downloader_ != nullptr, "SetReadBlockingFlag downloader is null"); in SetReadBlockingFlag() 378 FALSE_RETURN_MSG(downloader_ != nullptr, "WaitForBufferingEnd downloader is nullptr"); in WaitForBufferingEnd()
|
/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() 290 FALSE_RETURN_MSG(mediaDemuxerCallback_ != nullptr, "mediaDemuxerCallback is nullptr"); in OnEvent() 500 FALSE_RETURN_MSG(plugin_ != nullptr, "WaitForBufferingEnd source plugin is nullptr"); in WaitForBufferingEnd()
|
/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()
|
/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()
|
/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
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/monitor/ |
H A D | download_monitor.cpp | 194 FALSE_RETURN_MSG(downloader != nullptr, "downloader is null, url is " PUBLIC_LOG_S, request->GetUrl().c_str()); in OnDownloadStatus()
|
/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()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_reference_parser.cpp | 57 FALSE_RETURN_MSG(videoStreamIdx >= 0, "Can not find video stream");
in ParserBoxInfo() 59 FALSE_RETURN_MSG(videoStream != nullptr, "Video stream is nullptr");
in ParserBoxInfo() 75 FALSE_RETURN_MSG(GetPresentationTimeUsFromFfmpegMOV(GET_ALL_FRAME_PTS, videoStreamIdx, 0, 0) == Status::OK,
in ParserBoxInfo()
|
H A D | ffmpeg_demuxer_plugin.cpp | 346 FALSE_RETURN_MSG(avStream.codecpar != nullptr, "Codecpar is nullptr"); in InitBitStreamContext() 349 FALSE_RETURN_MSG(g_bitstreamFilterMap.count(codecID) != 0, "Can not match any BitStreamContext"); in InitBitStreamContext() 352 FALSE_RETURN_MSG((avBitStreamFilter != nullptr), "Call av_bsf_get_by_name failed for" PUBLIC_LOG_S, in InitBitStreamContext() 358 FALSE_RETURN_MSG((ret >= 0 && avbsfContext != nullptr), in InitBitStreamContext() 362 FALSE_RETURN_MSG((ret >= 0), "Call avcodec_parameters_copy failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext() 365 FALSE_RETURN_MSG((ret >= 0), "Call av_bsf_init failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()); in InitBitStreamContext() 373 FALSE_RETURN_MSG(avbsfContext_ != nullptr, "Stream " PUBLIC_LOG_S " will not be converted to annexb", in InitBitStreamContext() 971 FALSE_RETURN_MSG(formatContext_ != nullptr, "AVFormatContext is nullptr"); in InitParser()
|
/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()
|
/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/ |
H A D | hitranscoder_impl.cpp | 196 FALSE_RETURN_MSG(
in ConfigureMetaDataToTrackFormat() 206 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()
|