Home
last modified time | relevance | path

Searched refs:FALSE_RETURN_V_MSG (Results 1 - 25 of 27) sorted by relevance

12

/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dvideo_decoder_adapter.cpp124 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 Dsurface_decoder_filter.cpp333 FALSE_RETURN_V_MSG(meta->GetData(Tag::MIME_TYPE, codecMimeType_), in OnLinked()
H A Ddecoder_surface_filter.cpp203 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 Dcodec_port.cpp46 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 Dhdi_codec_manager.cpp52 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 Dcodec_cmd_executor.cpp68 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 Dhdi_codec_adapter.cpp140 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 Dcodec_buffer_pool.cpp45 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 Daudio_server_sink_plugin.cpp258 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 Dlog.h226 #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 Ddata_stream_source_plugin.cpp138 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 Dffmpeg_convert.cpp61 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 Dffmpeg_convert.cpp98 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 Dlog.h333 #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 Dhttp_media_downloader.cpp488 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 Dstd_stream_source_plugin.cpp164 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 Ddash_segment_downloader.cpp170 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 Ddemuxer_filter.cpp198 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 Dhiplayer_impl.cpp456 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 Dsdl_audio_sink_plugin.cpp176 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 Dmedia_demuxer.cpp195 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 Ddownloader.cpp385 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 Dhls_media_downloader.cpp441 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 Daudio_ffmpeg_encoder_plugin.cpp283 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 Dvideo_ffmpeg_decoder_plugin.cpp550 FALSE_RETURN_V_MSG(scale_->Init(scalePara, scaleData_, scaleLineSize_) == Status::OK, in ScaleVideoFrame()

Completed in 27 milliseconds

12