Home
last modified time | relevance | path

Searched refs:OH_VideoDecoder_SetSurface (Results 1 - 24 of 24) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dvideodec_ndk_sample.cpp295 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
360 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface()
511 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in testAPI()
683 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
713 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
905 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface()
916 ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in RepeatCallSetSurface()
927 return OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in DecodeSetSurface()
H A Dvideodec_api11_sample.cpp321 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
392 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface()
558 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in testAPI()
745 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
795 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
1079 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface()
1089 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in RepeatCallSetSurface()
1100 return OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in DecodeSetSurface()
H A Dapi_test.cpp362 * @tc.name : OH_VideoDecoder_SetSurface para error
369 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_SetSurface(vdec_, NULL)); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dvideodec_ndk_sample.cpp231 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
301 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface()
452 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in testAPI()
622 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
672 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
863 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface()
874 ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in RepeatCallSetSurface()
885 return OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in DecodeSetSurface()
H A Dvideodec_api11_sample.cpp297 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
379 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface()
547 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in testAPI()
733 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
783 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
1066 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface()
1076 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in RepeatCallSetSurface()
1087 return OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in DecodeSetSurface()
H A Dapi_test.cpp336 * @tc.name : OH_VideoDecoder_SetSurface para error
342 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_SetSurface(vdec_, NULL)); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_api11_sample.cpp211 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
281 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface()
431 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in testAPI()
610 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
660 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
884 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface()
894 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in RepeatCallSetSurface()
H A Dvideodec_ndk_sample.cpp237 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in RunVideoDec_Surface()
H A Dapi_test.cpp320 * @tc.name : OH_VideoDecoder_SetSurface para error
326 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_VideoDecoder_SetSurface(vdec_, NULL)); in HWTEST_F()
/foundation/multimedia/av_codec/interfaces/kits/c/
H A Dnative_avcodec_videodecoder.h123 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window);
/foundation/multimedia/av_codec/test/moduletest/vcodec/hdrcodec/src/
H A Dhdrcodec_ndk_sample.cpp353 ret = OH_VideoDecoder_SetSurface(vdec_, window); in Configure()
404 ret = OH_VideoDecoder_SetSurface(vdec_, window); in ReConfigure()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/video_codec/video_decoder/
H A Dvideo_decoder.cpp53 ret = OH_VideoDecoder_SetSurface(codec_.get(), sampleInfo.window.get()); in Config()
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo_api10.cpp232 OH_VideoDecoder_SetSurface(dec, window); in Configure()
H A Davcodec_e2e_demo.cpp212 OH_VideoDecoder_SetSurface(dec, window); in Configure()
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/capi/
H A Dvideodec_capi_mock.cpp177 return OH_VideoDecoder_SetSurface(codec_, nativeWindow); in SetOutputSurface()
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderconfigure_fuzzer/
H A Dvideodec_sample.cpp153 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/
H A Dvideodec_api11_sample.cpp147 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/
H A Dvideodec_sample.cpp153 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/foundation/multimedia/av_codec/test/nativedemo/video_demo/
H A Davcodec_video_decoder_demo.cpp262 return OH_VideoDecoder_SetSurface(videoDec_, window); in SetSurface()
/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/
H A Dvideodec_sample.cpp148 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderapi11_fuzzer/
H A Dvideodec_api11_sample.cpp147 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/foundation/multimedia/av_codec/test/unittest/video_test/fcodec_test/
H A Dvideo_decoder_capi_unit_test.cpp610 EXPECT_EQ(OH_AVErrCode::AV_ERR_OK, OH_VideoDecoder_SetSurface(videoDec_, nativeWindow)); in HWTEST_F()
796 EXPECT_EQ(OH_AVErrCode::AV_ERR_OK, OH_VideoDecoder_SetSurface(videoDec_, nativeWindow)); in HWTEST_F()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_capi.cpp579 OH_AVErrCode err = OH_VideoDecoder_SetSurface(codec_, window); in SetOutputSurface()
581 TLOGE("OH_VideoDecoder_SetSurface failed"); in SetOutputSurface()
584 CostRecorder::Instance().Update(begin, "OH_VideoDecoder_SetSurface"); in SetOutputSurface()
/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/
H A Dnative_video_decoder.cpp497 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window) in OH_VideoDecoder_SetSurface() function

Completed in 29 milliseconds