Home
last modified time | relevance | path

Searched refs:FALSE_RETURN_MSG (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/
H A Dpts_and_index_conversion.cpp77 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 Dcondition_variable.cpp69 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 Dmutex.cpp45 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 Ddfx_agent.cpp56 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 Dvideo_decoder_adapter.cpp98 FALSE_RETURN_MSG(mediaCodec_ != nullptr, "mediaCodec_ is nullptr"); in ~VideoDecoderAdapter()
261 FALSE_RETURN_MSG(tmpBuffer->meta_ != nullptr, "tmpBuffer is nullptr."); in AquireAvailableInputBuffer()
263FALSE_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 Dsurface_decoder_adapter.cpp311 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()
368FALSE_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 Dmedia_monitor_service.cpp324 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 Ddump_buffer.cpp51 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()
111FALSE_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 Dstream_parser_manager.cpp94 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 Devent_bean.cpp83 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 Dsource.cpp66 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 Dlog.h204 #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 Dmedia_monitor_manager.cpp135 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 Ddownload_monitor.cpp280 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 Ddump_buffer.cpp40FALSE_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 Dav_virtual_memory.cpp68FALSE_RETURN_MSG(ret, "Free memory failed, instance: 0x%{public}06" PRIXPTR, FAKE_POINTER(this)); in ~AVVirtualMemory()
H A Dav_surface_memory.cpp90FALSE_RETURN_MSG(ret, "Free memory failed, instance: 0x%{public}06" PRIXPTR, FAKE_POINTER(this)); in ~AVSurfaceMemory()
H A Dav_shared_memory_ext.cpp88FALSE_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 Dmedia_synchronous_sink.cpp90 FALSE_RETURN_MSG(meta != nullptr, "meta is null!"); in UpdateMediaTimeRange()
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/common/
H A Dlog.h311 #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 Ddownload_monitor.cpp174FALSE_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 Ddump_buffer_manager.cpp59 FALSE_RETURN_MSG(buffer != nullptr, "input buffer is nullptr!"); in DumpBufferDestroy()
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/transcoder/
H A Dhitranscoder_impl.cpp197 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 Dffmpeg_demuxer_plugin.cpp370 FALSE_RETURN_MSG(avStream.codecpar != nullptr, "Codecpar is nullptr"); in InitBitStreamContext()
373FALSE_RETURN_MSG(g_bitstreamFilterMap.count(codecID) != 0, "Can not match any BitStreamContext"); in InitBitStreamContext()
376FALSE_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()
386FALSE_RETURN_MSG((ret >= 0), "Call avcodec_parameters_copy failed, err:" PUBLIC_LOG_S, AVStrError(… in InitBitStreamContext()
389FALSE_RETURN_MSG((ret >= 0), "Call av_bsf_init failed, err:" PUBLIC_LOG_S, AVStrError(ret).c_str()… in InitBitStreamContext()
397FALSE_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 Dhdi_codec_manager.cpp161 FALSE_RETURN_MSG(ret == HDF_SUCCESS, "GetComponentCapabilityList fail"); in InitCaps()

12