Home
last modified time | relevance | path

Searched refs:vdec_ (Results 1 – 4 of 4) sorted by relevance

/test/xts/dcts/distributedhardware/distributedscreentest/
Ddecoder_demo.cpp101 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 …]
Ddecoder_demo.h85 std::shared_ptr<Media::AVCodecVideoDecoder> vdec_; variable
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
DVDecEncNdkSample.cpp123 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 …]
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/include/
DVDecEncNdkSample.h118 struct OH_AVCodec* vdec_; variable