Home
last modified time | relevance | path

Searched refs:OH_VideoDecoder_SetSurface (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/docs/zh-cn/application-dev/media/avcodec/
H A Dparallel-decoding-nativeWindow.md115 ret = OH_VideoDecoder_SetSurface(videoDec, nativeImageWindow);
128 在应用业务真正的surface消费端创建成功后,可以调用OH_VideoDecoder_SetSurface接口,将解码输出重定向到新的surface上。
136 ret = OH_VideoDecoder_SetSurface(videoDec, nativeWindow);
H A Dvideo-decoding.md16 | 动态切换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 Dvideodec_ndk_sample.cpp222 … 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()
610OH_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 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()
733OH_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 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()
683OH_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()
745OH_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 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()
610OH_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()
/ohos5.0/foundation/multimedia/av_codec/interfaces/kits/c/
H A Dnative_avcodec_videodecoder.h145 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.md39 | [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 Dnative__avcodec__videodecoder_8h.md27 | [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 Dhdrcodec_ndk_sample.cpp353 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 Davcodec_e2e_demo.cpp212 OH_VideoDecoder_SetSurface(dec, window); in Configure()
H A Davcodec_e2e_demo_api10.cpp232 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 Dvideo_decoder.cpp53 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 Dvideodec_capi_mock.cpp177 return OH_VideoDecoder_SetSurface(codec_, nativeWindow); in SetOutputSurface()
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/
H A Dnative__avcodec__videodecoder_8h.md27 | [OH_AVErrCode](_core.md#oh_averrcode) [OH_VideoDecoder_SetSurface](_video_decoder.md#oh_videodeco…
H A D_video_decoder.md39 | [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 Davcodec_video_decoder_demo.cpp262 return OH_VideoDecoder_SetSurface(videoDec_, window); in SetSurface()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/
H A Dvideodec_sample.cpp148 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/
H A Dvideodec_api11_sample.cpp147 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/
H A Dvideodec_sample.cpp153 OH_VideoDecoder_SetSurface(vdec_, nativeWindow); in ConfigureVideoDecoder()
/ohos5.0/docs/en/application-dev/media/avcodec/
H A Dvideo-decoding.md16 | 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 Dvideo_decoder_capi_unit_test.cpp610 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 Dtester_capi.cpp579 OH_AVErrCode err = OH_VideoDecoder_SetSurface(codec_, window); in SetOutputSurface()

12