Searched refs:switchSurfaceFlag (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 221 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder() 222 … if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder() 609 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; 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() 851 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface() 852 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SwitchSurface() 853 cout << "manual switch surf "<< switchSurfaceFlag << endl; in SwitchSurface() 861 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in RepeatCallSetSurface() [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() 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() 1066 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface() 1067 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SwitchSurface() 1068 cout << "manual switch surf "<< switchSurfaceFlag << endl; in SwitchSurface() 1075 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in RepeatCallSetSurface() [all …]
|
/ohos5.0/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() 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() 905 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface() 906 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SwitchSurface() 907 cout << "manual switch surf "<< switchSurfaceFlag << endl; in SwitchSurface() 915 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in RepeatCallSetSurface() [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() 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() 1079 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface() 1080 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SwitchSurface() 1081 cout << "manual switch surf "<< switchSurfaceFlag << endl; in SwitchSurface() 1088 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in RepeatCallSetSurface() [all …]
|
/ohos5.0/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() 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() 884 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface() 885 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SwitchSurface() 886 cout << "manual switch surf "<< switchSurfaceFlag << endl; in SwitchSurface() 893 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in RepeatCallSetSurface() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/include/ |
H A D | videodec_sample.h | 132 int32_t switchSurfaceFlag = 0; variable
|
H A D | videodec_api11_sample.h | 150 int32_t switchSurfaceFlag = 0; variable
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/include/ |
H A D | videodec_sample.h | 139 int32_t switchSurfaceFlag = 0; variable
|
H A D | videodec_api11_sample.h | 152 int32_t switchSurfaceFlag = 0; variable
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/include/ |
H A D | videodec_api11_sample.h | 144 int32_t switchSurfaceFlag = 0; variable
|