/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 295 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 D | videodec_api11_sample.cpp | 321 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 D | api_test.cpp | 362 * @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 D | videodec_ndk_sample.cpp | 231 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 D | videodec_api11_sample.cpp | 297 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 D | api_test.cpp | 336 * @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 D | videodec_api11_sample.cpp | 211 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 D | videodec_ndk_sample.cpp | 237 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in RunVideoDec_Surface()
|
H A D | api_test.cpp | 320 * @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 D | native_avcodec_videodecoder.h | 123 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window);
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hdrcodec/src/ |
H A D | hdrcodec_ndk_sample.cpp | 353 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 D | video_decoder.cpp | 53 ret = OH_VideoDecoder_SetSurface(codec_.get(), sampleInfo.window.get());
in Config()
|
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/ |
H A D | avcodec_e2e_demo_api10.cpp | 232 OH_VideoDecoder_SetSurface(dec, window); in Configure()
|
H A D | avcodec_e2e_demo.cpp | 212 OH_VideoDecoder_SetSurface(dec, window); in Configure()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/capi/ |
H A D | videodec_capi_mock.cpp | 177 return OH_VideoDecoder_SetSurface(codec_, nativeWindow); in SetOutputSurface()
|
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderconfigure_fuzzer/ |
H A D | videodec_sample.cpp | 153 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/ |
H A D | videodec_api11_sample.cpp | 147 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/ |
H A D | videodec_sample.cpp | 153 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/foundation/multimedia/av_codec/test/nativedemo/video_demo/ |
H A D | avcodec_video_decoder_demo.cpp | 262 return OH_VideoDecoder_SetSurface(videoDec_, window); in SetSurface()
|
/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/ |
H A D | videodec_sample.cpp | 148 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/foundation/multimedia/av_codec/test/fuzztest/hevcswdecoderapi11_fuzzer/ |
H A D | videodec_api11_sample.cpp | 147 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/foundation/multimedia/av_codec/test/unittest/video_test/fcodec_test/ |
H A D | video_decoder_capi_unit_test.cpp | 610 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 D | tester_capi.cpp | 579 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 D | native_video_decoder.cpp | 497 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window) in OH_VideoDecoder_SetSurface() function
|