Searched refs:vdec_ (Results 1 – 4 of 4) sorted by relevance
101 vdec_ = VideoDecoderFactory::CreateByMime("video/avc"); in CreateVdec()103 vdec_ = VideoDecoderFactory::CreateByMime("video/mp4v-es"); in CreateVdec()108 vdec_->SetCallback(cb_); in CreateVdec()114 return vdec_->Configure(format); in Configure()119 return vdec_->Prepare(); in Prepare()131 return vdec_->Start(); in Start()158 return vdec_->Stop(); in Stop()163 return vdec_->Flush(); in Flush()168 return vdec_->Reset(); in Reset()173 return vdec_->Release(); in Release()[all …]
85 std::shared_ptr<Media::AVCodecVideoDecoder> vdec_; variable
123 OH_VideoDecoder_Destroy(vdec_); in ~VDecEncNdkSample()202 vdec_ = OH_VideoDecoder_CreateByMime(OH_AVCODEC_MIMETYPE_VIDEO_AVC); in CreateVideoDecoderByMime()204 vdec_ = OH_VideoDecoder_CreateByMime(mimetype.c_str()); in CreateVideoDecoderByMime()206 NDK_CHECK_AND_RETURN_RET_LOG(vdec_ != nullptr, nullptr, "Fatal: OH_VideoDecoder_CreateByMime"); in CreateVideoDecoderByMime()215 int32_t ret = OH_VideoDecoder_SetCallback(vdec_, cbDec_, static_cast<void *>(vcodecSignal_)); in CreateVideoDecoderByMime()217 return vdec_; in CreateVideoDecoderByMime()222 vdec_ = OH_VideoDecoder_CreateByName(name.c_str()); in CreateVideoDecoderByName()223 NDK_CHECK_AND_RETURN_RET_LOG(vdec_ != nullptr, nullptr, "Fatal: OH_VideoDecoder_CreateByName"); in CreateVideoDecoderByName()232 int32_t ret = OH_VideoDecoder_SetCallback(vdec_, cbDec_, static_cast<void *>(vcodecSignal_)); in CreateVideoDecoderByName()234 return vdec_; in CreateVideoDecoderByName()[all …]
118 struct OH_AVCodec* vdec_; variable