Home
last modified time | relevance | path

Searched refs:codecClient (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/services/sa_avcodec/client/
H A Davcodec_client.cpp64 int32_t AVCodecClient::CreateCodecService(std::shared_ptr<ICodecService> &codecClient) in CreateCodecService() argument
78 ret = CodecClient::Create(codecProxy, codecClient); in CreateCodecService()
79 CHECK_AND_RETURN_RET_LOG(codecClient != nullptr, ret, "Failed to create codec client."); in CreateCodecService()
81 codecClientList_.push_back(codecClient); in CreateCodecService()
85 int32_t AVCodecClient::DestroyCodecService(std::shared_ptr<ICodecService> codecClient) in DestroyCodecService() argument
88 … CHECK_AND_RETURN_RET_LOG(codecClient != nullptr, AVCS_ERR_NO_MEMORY, "codec client is nullptr."); in DestroyCodecService()
89 codecClientList_.remove(codecClient); in DestroyCodecService()
175 auto codecClient = std::static_pointer_cast<CodecClient>(it); in DoAVCodecServerDied() local
176 if (codecClient != nullptr) { in DoAVCodecServerDied()
177 codecClient->AVCodecServerDied(); in DoAVCodecServerDied()
H A Davcodec_client.h41 int32_t CreateCodecService(std::shared_ptr<ICodecService> &codecClient) override;
42 int32_t DestroyCodecService(std::shared_ptr<ICodecService> codecClient) override;
/ohos5.0/foundation/multimedia/av_codec/services/include/
H A Di_avcodec_service.h70 virtual int32_t CreateCodecService(std::shared_ptr<ICodecService> &codecClient) = 0;