/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | video_decoder_adapter.cpp | 124 FALSE_RETURN_V_MSG(mediaCodec_ != nullptr, Status::ERROR_INVALID_STATE, "mediaCodec_ is nullptr"); in Init() 133 FALSE_RETURN_V_MSG(mediaCodec_ != nullptr, Status::ERROR_INVALID_STATE, "mediaCodec_ is nullptr"); in Configure() 142 FALSE_RETURN_V_MSG(mediaCodec_ != nullptr, AVCodecServiceErrCode::AVCS_ERR_INVALID_VAL, "mediaCodec_ is nullptr"); in SetParameter() 149 FALSE_RETURN_V_MSG(mediaCodec_ != nullptr, Status::ERROR_INVALID_STATE, "mediaCodec_ is nullptr"); in Start() 150 FALSE_RETURN_V_MSG(isConfigured_, Status::ERROR_INVALID_STATE, "mediaCodec_ is not configured"); in Start() 168 FALSE_RETURN_V_MSG(mediaCodec_ != nullptr, Status::ERROR_INVALID_STATE, "mediaCodec_ is nullptr"); in Stop() 169 FALSE_RETURN_V_MSG(isConfigured_, Status::ERROR_INVALID_STATE, "mediaCodec_ is not configured"); in Stop() 178 FALSE_RETURN_V_MSG(mediaCodec_ != nullptr, Status::ERROR_INVALID_STATE, "mediaCodec_ is nullptr"); in Flush() 179 FALSE_RETURN_V_MSG(isConfigured_, Status::ERROR_INVALID_STATE, "mediaCodec_ is not configured"); in Flush() 196 FALSE_RETURN_V_MSG(mediaCodec in Reset() [all...] |
H A D | surface_decoder_filter.cpp | 333 FALSE_RETURN_V_MSG(meta->GetData(Tag::MIME_TYPE, codecMimeType_),
in OnLinked()
|
H A D | decoder_surface_filter.cpp | 203 FALSE_RETURN_V_MSG(!baseName.empty(), in DoInitAfterLink() 368 FALSE_RETURN_V_MSG(!inPreroll_.load(), Status::OK, "DoPreroll in preroll now."); in DoPreroll() 547 FALSE_RETURN_V_MSG(meta->GetData(Tag::MIME_TYPE, codecMimeType_), in OnLinked()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_port.cpp | 46 FALSE_RETURN_V_MSG(ret == HDF_SUCCESS, Status::ERROR_INVALID_PARAMETER, "HdiGetParameter portDef failed"); in Config() 69 FALSE_RETURN_V_MSG(ret == HDF_SUCCESS, Status::ERROR_INVALID_PARAMETER, "HdiSetParameter failed"); in Config() 77 FALSE_RETURN_V_MSG(ret == HDF_SUCCESS, Status::ERROR_INVALID_PARAMETER, "HdiGetParameter failed"); in QueryParam()
|
H A D | hdi_codec_manager.cpp | 52 FALSE_RETURN_V_MSG(mgr_ != nullptr, HDF_FAILURE, "mgr is nullptr"); in CreateComponent() 55 FALSE_RETURN_V_MSG(codecComponent != nullptr, HDF_FAILURE, "component is nullptr"); in CreateComponent() 63 FALSE_RETURN_V_MSG(mgr_ != nullptr, HDF_FAILURE, "mgr_ is nullptr"); in DestroyComponent()
|
H A D | codec_cmd_executor.cpp | 68 FALSE_RETURN_V_MSG(ret == HDF_SUCCESS, Status::ERROR_INVALID_OPERATION, "HdiSendCommand failed"); in SendCmd() 79 FALSE_RETURN_V_MSG(ret == HDF_SUCCESS, Status::ERROR_INVALID_OPERATION, "HdiSendCommand failed"); in SendCmd() 85 FALSE_RETURN_V_MSG(ret == HDF_SUCCESS, Status::ERROR_INVALID_OPERATION, "HdiSendCommand failed"); in SendCmd()
|
H A D | hdi_codec_adapter.cpp | 140 FALSE_RETURN_V_MSG(codecCallback_ != nullptr, Status::ERROR_NULL_POINTER, "create callback_ failed"); in Init() 149 FALSE_RETURN_V_MSG(codecComp_ != nullptr, Status::ERROR_NULL_POINTER, in Init() 151 FALSE_RETURN_V_MSG(InitVersion() == Status::OK, Status::ERROR_INVALID_DATA, "Init compVersion failed!"); in Init() 152 FALSE_RETURN_V_MSG(InitPortIndex() == Status::OK, Status::ERROR_INVALID_DATA, "Init compVersion failed!"); in Init() 568 FALSE_RETURN_V_MSG(ret == Status::OK, Status::ERROR_INVALID_OPERATION, "HdiSendCommand failed"); in ChangeState()
|
H A D | codec_buffer_pool.cpp | 45 FALSE_RETURN_V_MSG(codecBuffer != nullptr, Status::ERROR_NULL_POINTER, "Create codec buffer failed"); in UseBuffers()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/sink/ |
H A D | audio_server_sink_plugin.cpp | 258 FALSE_RETURN_V_MSG(audioRenderer_ == nullptr, Status::OK, "audio renderer already create "); in Init() 336 FALSE_RETURN_V_MSG(ret, Status::ERROR_INVALID_PARAMETER, "audio renderer do not support pcm encoding"); in Prepare() 360 FALSE_RETURN_V_MSG(audioRenderer_->GetStatus() != AudioStandard::RendererState::RENDERER_STOPPED, in StopRender() 372 FALSE_RETURN_V_MSG(StopRender(), Status::ERROR_UNKNOWN, "stop render error"); in Reset() 395 FALSE_RETURN_V_MSG(ret, Status::ERROR_UNKNOWN, "AudioRenderer::Start failed"); in Start() 404 FALSE_RETURN_V_MSG(StopRender(), Status::ERROR_UNKNOWN, "stop render failed"); in Stop() 460 FALSE_RETURN_V_MSG(!supportedSampleRateList.empty(), false, "GetSupportedSamplingRates fail"); in AssignSampleRateIfSupported() 475 FALSE_RETURN_V_MSG(!supportedChannelsList.empty(), false, "GetSupportedChannels fail"); in AssignChannelNumIfSupported() 756 FALSE_RETURN_V_MSG(ret == OHOS::AudioStandard::SUCCESS, Status::ERROR_UNKNOWN, in SetAudioEffectMode() 778 FALSE_RETURN_V_MSG(re in SetSpeed() [all...] |
/foundation/multimedia/media_foundation/engine/include/foundation/ |
H A D | log.h | 226 #ifndef FALSE_RETURN_V_MSG 227 #define FALSE_RETURN_V_MSG(exec, ret, fmt, args...) FALSE_RETURN_V_MSG_IMPL(MEDIA_LOG_E, exec, ret, fmt, ##args) macro
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
H A D | data_stream_source_plugin.cpp | 138 FALSE_RETURN_V_MSG(memory != nullptr, Status::ERROR_NO_MEMORY, "allocate memory failed!"); in Read() 167 FALSE_RETURN_V_MSG(realLen != MediaDataSourceError::SOURCE_ERROR_IO, Status::ERROR_UNKNOWN, "read data error!"); in Read() 168 FALSE_RETURN_V_MSG(realLen != MediaDataSourceError::SOURCE_ERROR_EOF, Status::END_OF_STREAM, "eos reached!"); in Read()
|
/foundation/multimedia/media_foundation/engine/plugin/convert/ |
H A D | ffmpeg_convert.cpp | 61 FALSE_RETURN_V_MSG(resamplePara_.destFmt == AV_SAMPLE_FMT_S16, Status::ERROR_UNIMPLEMENTED, in Convert() 73 FALSE_RETURN_V_MSG(resamplePara_.destFmt == AV_SAMPLE_FMT_S16, Status::ERROR_UNIMPLEMENTED, in Convert()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | ffmpeg_convert.cpp | 98 FALSE_RETURN_V_MSG(resamplePara_.destFmt == AV_SAMPLE_FMT_S16, Status::ERROR_UNIMPLEMENTED, in Convert() 110 FALSE_RETURN_V_MSG(resamplePara_.destFmt == AV_SAMPLE_FMT_S16, Status::ERROR_UNIMPLEMENTED, in Convert()
|
/foundation/multimedia/media_foundation/interface/inner_api/common/ |
H A D | log.h | 333 #ifndef FALSE_RETURN_V_MSG 334 #define FALSE_RETURN_V_MSG(exec, ret, fmt, args...) FALSE_RETURN_V_MSG_IMPL(MEDIA_LOG_E, exec, ret, fmt, ##args) macro
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/ |
H A D | http_media_downloader.cpp | 488 FALSE_RETURN_V_MSG(ringBuffer_ != nullptr, Status::END_OF_STREAM, "ringBuffer_ = nullptr"); in ReadDelegate() 489 FALSE_RETURN_V_MSG(!isInterruptNeeded_.load(), Status::END_OF_STREAM, "isInterruptNeeded"); in ReadDelegate() 490 FALSE_RETURN_V_MSG(readDataInfo.wantReadLength_ > 0, Status::END_OF_STREAM, "wantReadLength_ <= 0"); in ReadDelegate() 500 FALSE_RETURN_V_MSG(cacheMediaBuffer_ != nullptr, Status::END_OF_STREAM, "cacheMediaBuffer_ = nullptr"); in ReadDelegate() 501 FALSE_RETURN_V_MSG(!isInterruptNeeded_.load(), Status::END_OF_STREAM, "isInterruptNeeded"); in ReadDelegate() 502 FALSE_RETURN_V_MSG(readDataInfo.wantReadLength_ > 0, Status::END_OF_STREAM, "wantReadLength_ <= 0"); in ReadDelegate()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/std_stream_source/ |
H A D | std_stream_source_plugin.cpp | 164 FALSE_RETURN_V_MSG(memory != nullptr, Status::ERROR_NO_MEMORY, "allocate memory failed!"); in Read()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/ |
H A D | dash_segment_downloader.cpp | 170 FALSE_RETURN_V_MSG(buffer_ != nullptr, DASH_READ_FAILED, "buffer is null"); in Read() 171 FALSE_RETURN_V_MSG(!isInterruptNeeded.load(), DASH_READ_INTERRUPT, "isInterruptNeeded"); in Read() 176 FALSE_RETURN_V_MSG(readDataInfo.wantReadLength_ > 0, DASH_READ_FAILED, "wantReadLength_ <= 0"); in Read()
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/demux/ |
H A D | demuxer_filter.cpp | 198 FALSE_RETURN_V_MSG(plugin_ != nullptr, ErrorCode::ERROR_INVALID_OPERATION, "plugin is nullptr"); in SetParameter() 204 FALSE_RETURN_V_MSG(plugin_ != nullptr, ErrorCode::ERROR_INVALID_OPERATION, "plugin is nullptr"); in GetParameter()
|
/foundation/multimedia/media_foundation/engine/scene/player/lite/ |
H A D | hiplayer_impl.cpp | 456 FALSE_RETURN_V_MSG(ptr != nullptr, ErrorCode::SUCCESS, "Player callback not exist."); in DoOnComplete() 465 FALSE_RETURN_V_MSG(ptr != nullptr, ErrorCode::SUCCESS, "Player callback not exist."); in DoOnError()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/ |
H A D | sdl_audio_sink_plugin.cpp | 176 FALSE_RETURN_V_MSG(resample_->Init(resamplePara) == Status::OK, Status::ERROR_UNKNOWN, "Resample init error"); in Prepare()
|
/foundation/multimedia/av_codec/services/media_engine/modules/demuxer/ |
H A D | media_demuxer.cpp | 195 FALSE_RETURN_V_MSG(source_->GetSeekable() == Plugins::Seekable::SEEKABLE, in StartReferenceParser() 343 FALSE_RETURN_V_MSG(source_ != nullptr, Status::ERROR_INVALID_OPERATION, "Source is nullptr"); in GetBitRates() 357 FALSE_RETURN_V_MSG(source_ != nullptr, Status::ERROR_INVALID_OPERATION, "Source is nullptr"); in GetDownloadInfo() 363 FALSE_RETURN_V_MSG(source_ != nullptr, Status::ERROR_INVALID_OPERATION, "Source is nullptr"); in GetPlaybackInfo()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/ |
H A D | downloader.cpp | 385 FALSE_RETURN_V_MSG(!isDestructor_ && !isInterruptNeeded_, false, "not Seek. is Destructor or InterruptNeeded"); in Seek() 423 FALSE_RETURN_V_MSG(client_ != nullptr && !isDestructor_ && !isInterruptNeeded_, false, in Retry()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | hls_media_downloader.cpp | 441 FALSE_RETURN_V_MSG(cacheMediaBuffer_ != nullptr, Status::END_OF_STREAM, "eos, cacheMediaBuffer_ is nullptr"); in ReadDelegate() 442 FALSE_RETURN_V_MSG(!isInterruptNeeded_.load(), Status::END_OF_STREAM, "eos, isInterruptNeeded"); in ReadDelegate() 471 FALSE_RETURN_V_MSG(readDataInfo.wantReadLength_ > 0, Status::END_OF_STREAM, "eos, wantReadLength_ <= 0"); in ReadDelegate()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | audio_ffmpeg_encoder_plugin.cpp | 283 FALSE_RETURN_V_MSG(resample_->Init(resamplePara) == Status::OK, Status::ERROR_UNKNOWN, "Resample init error"); in Start()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/ |
H A D | video_ffmpeg_decoder_plugin.cpp | 550 FALSE_RETURN_V_MSG(scale_->Init(scalePara, scaleData_, scaleLineSize_) == Status::OK, in ScaleVideoFrame()
|