Home
last modified time | relevance | path

Searched refs:switchSurfaceFlag (Results 1 - 10 of 10) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dvideodec_ndk_sample.cpp294 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder()
295 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
682 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SendData()
683 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
712 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in AutoSwitchSurface()
713 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
717 int32_t angle = DEFAULT_ANGLE * reinterpret_cast<int32_t>(switchSurfaceFlag); in AutoSwitchSurface()
[all...]
H A Dvideodec_api11_sample.cpp320 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder()
321 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
744 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SendData()
745 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
794 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in AutoSwitchSurface()
795 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
799 int32_t angle = DEFAULT_ANGLE * reinterpret_cast<int32_t>(switchSurfaceFlag); in AutoSwitchSurface()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dvideodec_ndk_sample.cpp230 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder()
231 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
621 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SendData()
622 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
671 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in AutoSwitchSurface()
672 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
676 int32_t angle = DEFAULT_ANGLE * reinterpret_cast<int32_t>(switchSurfaceFlag); in AutoSwitchSurface()
[all...]
H A Dvideodec_api11_sample.cpp296 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder()
297 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
732 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SendData()
733 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
782 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in AutoSwitchSurface()
783 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
787 int32_t angle = DEFAULT_ANGLE * reinterpret_cast<int32_t>(switchSurfaceFlag); in AutoSwitchSurface()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_api11_sample.cpp210 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder()
211 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
609 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SendData()
610 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
659 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in AutoSwitchSurface()
660 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
664 int32_t angle = DEFAULT_ANGLE * reinterpret_cast<int32_t>(switchSurfaceFlag); in AutoSwitchSurface()
[all...]
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/
H A Dvideodec_sample.h132 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecNdkSample
H A Dvideodec_api11_sample.h150 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecAPI11Sample
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/
H A Dvideodec_api11_sample.h152 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecAPI11Sample
H A Dvideodec_sample.h139 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecNdkSample
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/
H A Dvideodec_api11_sample.h144 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecAPI11Sample

Completed in 11 milliseconds