/ohos5.0/docs/zh-cn/application-dev/media/avcodec/ |
H A D | parallel-decoding-nativeWindow.md | 115 ret = OH_VideoDecoder_SetSurface(videoDec, nativeImageWindow); 128 在应用业务真正的surface消费端创建成功后,可以调用OH_VideoDecoder_SetSurface接口,将解码输出重定向到新的surface上。 136 ret = OH_VideoDecoder_SetSurface(videoDec, nativeWindow);
|
H A D | video-decoding.md | 16 | 动态切换surface | 通过调用OH_VideoDecoder_SetSurface接口配置,仅Surface模式支持。具体可参考下文中:Surface模式步骤-6 | 41 …- Surface模式下,应用在解码器就绪前,必须调用OH_VideoDecoder_SetSurface接口设置OHNativeWindow,启动后,调用OH_VideoDecoder_Rend… 391 int32_t ret = OH_VideoDecoder_SetSurface(videoDec, window); // 从XComponent获取window 644 …eoDecoder_Reset接口后,解码器回到初始化的状态,需要调用OH_VideoDecoder_Configure接口、OH_VideoDecoder_SetSurface接口和OH_Vid… 661 ret = OH_VideoDecoder_SetSurface(videoDec, window);
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 222 … if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder() 289 err = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[0]); in RunVideoDec_Surface() 440 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() 851 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface() 862 ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in RepeatCallSetSurface() 873 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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/av_codec/interfaces/kits/c/ |
H A D | native_avcodec_videodecoder.h | 145 OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *window);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avcodec-kit/ |
H A D | _video_decoder.md | 39 | [OH_AVErrCode](_core.md#oh_averrcode) [OH_VideoDecoder_SetSurface](#oh_videodecoder_setsurface) (… 643 ### OH_VideoDecoder_SetSurface() 646 OH_AVErrCode OH_VideoDecoder_SetSurface (OH_AVCodec * codec, OHNativeWindow * window )
|
H A D | native__avcodec__videodecoder_8h.md | 27 | [OH_AVErrCode](_core.md#oh_averrcode) [OH_VideoDecoder_SetSurface](_video_decoder.md#oh_videodeco…
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/ |
H A D | avcodec_e2e_demo.cpp | 212 OH_VideoDecoder_SetSurface(dec, window); in Configure()
|
H A D | avcodec_e2e_demo_api10.cpp | 232 OH_VideoDecoder_SetSurface(dec, window); in Configure()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/ |
H A D | native__avcodec__videodecoder_8h.md | 27 | [OH_AVErrCode](_core.md#oh_averrcode) [OH_VideoDecoder_SetSurface](_video_decoder.md#oh_videodeco…
|
H A D | _video_decoder.md | 39 | [OH_AVErrCode](_core.md#oh_averrcode) [OH_VideoDecoder_SetSurface](#oh_videodecoder_setsurface) (… 677 ### OH_VideoDecoder_SetSurface() 680 OH_AVErrCode OH_VideoDecoder_SetSurface (OH_AVCodec * codec, OHNativeWindow * window )
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/ |
H A D | videodec_sample.cpp | 148 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/ |
H A D | videodec_api11_sample.cpp | 147 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/ |
H A D | videodec_sample.cpp | 153 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
|
/ohos5.0/docs/en/application-dev/media/avcodec/ |
H A D | video-decoding.md | 16 | Dynamic surface switching | Call **OH_VideoDecoder_SetSurface** to configure this capability. It … 40 …- In surface mode, the caller must call **OH_VideoDecoder_SetSurface** to set an OHNativeWindow be… 392 …int32_t ret = OH_VideoDecoder_SetSurface(videoDec, window); // Obtain the window from the XCompone… 647 …tinue decoding, you must call **OH_VideoDecoder_Configure**, **OH_VideoDecoder_SetSurface**, and *… 664 ret = OH_VideoDecoder_SetSurface(videoDec, window);
|
/ohos5.0/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)); 796 EXPECT_EQ(OH_AVErrCode::AV_ERR_OK, OH_VideoDecoder_SetSurface(videoDec_, nativeWindow));
|
/ohos5.0/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()
|