Searched refs:codecClient_ (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/av_codec/frameworks/native/avcodec/ |
H A D | avcodec_video_decoder_impl.cpp | 83 int32_t ret = AVCodecServiceFactory::GetInstance().CreateCodecService(codecClient_); in Init() 84 CHECK_AND_RETURN_RET_LOG(codecClient_ != nullptr, ret, "Codec client create failed"); in Init() 86 return codecClient_->Init(type, isMimeType, name, *format.GetMeta()); in Init() 96 if (codecClient_ != nullptr) { in ~AVCodecVideoDecoderImpl() 97 (void)AVCodecServiceFactory::GetInstance().DestroyCodecService(codecClient_); in ~AVCodecVideoDecoderImpl() 98 codecClient_ = nullptr; in ~AVCodecVideoDecoderImpl() 105 CHECK_AND_RETURN_RET_LOG(codecClient_ != nullptr, AVCS_ERR_INVALID_OPERATION, "Codec service is nullptr"); in Configure() 108 return codecClient_->Configure(format); in Configure() 113 CHECK_AND_RETURN_RET_LOG(codecClient_ != nullptr, AVCS_ERR_INVALID_OPERATION, "Codec service is nullptr"); in Prepare() 116 return codecClient_ in Prepare() [all...] |
H A D | avcodec_video_encoder_impl.cpp | 84 int32_t ret = AVCodecServiceFactory::GetInstance().CreateCodecService(codecClient_); in Init() 85 CHECK_AND_RETURN_RET_LOG(codecClient_ != nullptr, ret, "Codec client create failed"); in Init() 87 return codecClient_->Init(type, isMimeType, name, *format.GetMeta()); in Init() 97 if (codecClient_ != nullptr) { in ~AVCodecVideoEncoderImpl() 98 (void)AVCodecServiceFactory::GetInstance().DestroyCodecService(codecClient_); in ~AVCodecVideoEncoderImpl() 99 codecClient_ = nullptr; in ~AVCodecVideoEncoderImpl() 106 CHECK_AND_RETURN_RET_LOG(codecClient_ != nullptr, AVCS_ERR_INVALID_OPERATION, "Codec service is nullptr"); in Configure() 109 return codecClient_->Configure(format); in Configure() 114 CHECK_AND_RETURN_RET_LOG(codecClient_ != nullptr, AVCS_ERR_INVALID_OPERATION, "Codec service is nullptr"); in SetCustomBuffer() 117 return codecClient_ in SetCustomBuffer() [all...] |
H A D | avcodec_video_encoder_impl.h | 53 std::shared_ptr<ICodecService> codecClient_ = nullptr; member in OHOS::MediaAVCodec::AVCodecVideoEncoderImpl
|
H A D | avcodec_video_decoder_impl.h | 52 std::shared_ptr<ICodecService> codecClient_ = nullptr; member in OHOS::MediaAVCodec::AVCodecVideoDecoderImpl
|
Completed in 2 milliseconds