Home
last modified time | relevance | path

Searched refs:vdec_ (Results 1 - 16 of 16) sorted by relevance

/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/src/
H A Dapi_test.cpp59 OH_AVCodec *vdec_ = NULL; member
84 if (vdec_ != NULL) { in TearDown()
85 OH_VideoDecoder_Destroy(vdec_); in TearDown()
86 vdec_ = nullptr; in TearDown()
100 vdec_ = OH_VideoDecoder_CreateByMime(NULL); in HWTEST_F()
101 ASSERT_EQ(NULL, vdec_); in HWTEST_F()
111 vdec_ = OH_VideoDecoder_CreateByName(NULL); in HWTEST_F()
112 ASSERT_EQ(NULL, vdec_); in HWTEST_F()
138 vdec_ = OH_VideoDecoder_CreateByName(CODEC_NAME.c_str()); in HWTEST_F()
139 ASSERT_NE(NULL, vdec_); in HWTEST_F()
[all...]
H A Dvideodec_ndk_sample.cpp176 int ret = OH_VideoDecoder_Configure(vdec_, format); in ConfigureVideoDecoder()
212 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in RunVideoDec_Surface()
270 return OH_VideoDecoder_SetCallback(vdec_, cb_, static_cast<void *>(signal_)); in SetVideoDecoderCallback()
299 int ret = OH_VideoDecoder_Start(vdec_); in StartVideoDecoder()
310 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
317 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
328 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
338 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
350 vdec_ = OH_VideoDecoder_CreateByName(codeName.c_str()); in CreateVideoDecoder()
352 vdec_ in CreateVideoDecoder()
[all...]
H A Dfunc_test.cpp69 OH_AVCodec *vdec_ = OH_VideoDecoder_CreateByName("OMX.h264.decode.111.222.333"); in HWTEST_F() local
70 ASSERT_EQ(nullptr, vdec_); in HWTEST_F()
107 OH_VideoDecoder_IsValid(vDecSample->vdec_, &isVaild); in HWTEST_F()
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/
H A Dapi_test.cpp52 OH_AVCodec *vdec_ = NULL; member
84 if (vdec_ != NULL) { in TearDown()
85 OH_VideoDecoder_Destroy(vdec_); in TearDown()
86 vdec_ = nullptr; in TearDown()
109 vdec_ = OH_VideoDecoder_CreateByMime(NULL); in HWTEST_F()
110 ASSERT_EQ(NULL, vdec_); in HWTEST_F()
120 vdec_ = OH_VideoDecoder_CreateByName(NULL); in HWTEST_F()
121 ASSERT_EQ(NULL, vdec_); in HWTEST_F()
146 vdec_ = OH_VideoDecoder_CreateByName(g_codecName.c_str()); in HWTEST_F()
147 ASSERT_NE(NULL, vdec_); in HWTEST_F()
[all...]
H A Dvideodec_ndk_sample.cpp215 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
228 int ret = OH_VideoDecoder_Configure(vdec_, format); in ConfigureVideoDecoder()
277 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface()
335 return OH_VideoDecoder_SetCallback(vdec_, cb_, static_cast<void *>(signal_)); in SetVideoDecoderCallback()
365 vdec_ = OH_VideoDecoder_CreateByName(codeName.c_str()); in CreateVideoDecoder()
367 return vdec_ == nullptr ? AV_ERR_UNKNOWN : AV_ERR_OK; in CreateVideoDecoder()
373 int ret = OH_VideoDecoder_Start(vdec_); in StartVideoDecoder()
384 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
391 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
402 (void)OH_VideoDecoder_Stop(vdec_); in StartVideoDecoder()
[all...]
H A Dfunc_test.cpp83 OH_AVCodec *vdec_ = OH_VideoDecoder_CreateByName("OMX.h264.decode.111.222.333"); in HWTEST_F() local
84 ASSERT_EQ(nullptr, vdec_); in HWTEST_F()
/test/xts/acts/multimedia/av_codec/vcodec/hdrcodec/src/
H A Dhdrcodec_ndk_sample.cpp171 ret = OH_VideoDecoder_Flush(sample->vdec_); in RepeatCallStartFlush()
180 ret = OH_VideoDecoder_Start(sample->vdec_); in RepeatCallStartFlush()
191 ret = OH_VideoDecoder_Stop(sample->vdec_); in RepeatCallStartStop()
204 ret = OH_VideoDecoder_Start(sample->vdec_); in RepeatCallStartStop()
219 ret = OH_VideoDecoder_Flush(sample->vdec_); in RepeatCallStartFlushStop()
223 ret = OH_VideoDecoder_Stop(sample->vdec_); in RepeatCallStartFlushStop()
236 ret = OH_VideoDecoder_Start(sample->vdec_); in RepeatCallStartFlushStop()
254 vdec_ = OH_VideoDecoder_CreateByMime(OH_AVCODEC_MIMETYPE_VIDEO_HEVC); in CreateCodec()
255 if (vdec_ == nullptr) { in CreateCodec()
321 if (SendData(vdec_, inde in InputFunc()
[all...]
/test/xts/dcts/distributedhardware/distributedscreentest/
H A Ddecoder_demo.cpp102 vdec_ = VideoDecoderFactory::CreateByMime("video/avc"); in CreateVdec()
104 vdec_ = VideoDecoderFactory::CreateByMime("video/mp4v-es"); in CreateVdec()
109 vdec_->SetCallback(cb_); in CreateVdec()
115 return vdec_->Configure(format); in Configure()
120 return vdec_->Prepare(); in Prepare()
132 return vdec_->Start(); in Start()
159 return vdec_->Stop(); in Stop()
164 return vdec_->Flush(); in Flush()
169 return vdec_->Reset(); in Reset()
174 return vdec_ in Release()
[all...]
H A Ddecoder_demo.h87 std::shared_ptr<MediaAVCodec::AVCodecVideoDecoder> vdec_; member in OHOS::MediaAVCodec::VDecDemo
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
H A 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/av_codec/vcodec/hdrcodec/include/
H A Dhdrcodec_ndk_sample.h87 OH_AVCodec *vdec_; member in OHOS::Media::HDRCodecNdkSample
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/include/
H A DVDecEncNdkSample.h118 struct OH_AVCodec* vdec_; member in OHOS::Media::VDecEncNdkSample
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/include/
H A Dvideodec_ndk_inner_sample.h140 std::shared_ptr<AVCodecVideoDecoder> vdec_; member in OHOS::MediaAVCodec::VDecNdkInnerSample
H A Dvideodec_ndk_sample.h144 OH_AVCodec *vdec_; member in OHOS::Media::VDecNdkSample
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/include/
H A Dvideodec_ndk_inner_sample.h144 std::shared_ptr<AVCodecVideoDecoder> vdec_; member in OHOS::MediaAVCodec::VDecNdkInnerSample
H A Dvideodec_ndk_sample.h116 OH_AVCodec *vdec_; member in OHOS::Media::VDecNdkSample

Completed in 10 milliseconds