Searched refs:switchSurfaceFlag (Results 1 - 10 of 10) sorted by relevance
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 294 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 D | videodec_api11_sample.cpp | 320 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 D | videodec_ndk_sample.cpp | 230 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 D | videodec_api11_sample.cpp | 296 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 D | videodec_api11_sample.cpp | 210 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 D | videodec_sample.h | 132 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecNdkSample
|
H A D | videodec_api11_sample.h | 150 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecAPI11Sample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/ |
H A D | videodec_api11_sample.h | 152 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecAPI11Sample
|
H A D | videodec_sample.h | 139 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecNdkSample
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/ |
H A D | videodec_api11_sample.h | 144 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecAPI11Sample
|
Completed in 11 milliseconds