Home
last modified time | relevance | path

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

/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/src/
H A Dvideodec_ndk_sample.cpp214 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in ConfigureVideoDecoder()
215 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_INVALID_STATE) { in ConfigureVideoDecoder()
586 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in SendData()
587 OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) == AV_ERR_OK ? (0) : (errCount++); in SendData()
625 switchSurfaceFlag = (switchSurfaceFlag == 1) ? 0 : 1; in AutoSwitchSurface()
626 if (OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]) != AV_ERR_OK) { in AutoSwitchSurface()
809 int32_t ret = OH_VideoDecoder_SetSurface(vdec_, nativeWindow[switchSurfaceFlag]); in SwitchSurface()
[all...]
/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/include/
H A Dvideodec_ndk_sample.h132 int32_t switchSurfaceFlag = 0; member in OHOS::Media::VDecNdkSample

Completed in 3 milliseconds