diff options
-rw-r--r-- | src/tbm_backend_exynos_tgm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tbm_backend_exynos_tgm.c b/src/tbm_backend_exynos_tgm.c index de20f09..edc82fd 100644 --- a/src/tbm_backend_exynos_tgm.c +++ b/src/tbm_backend_exynos_tgm.c @@ -1073,6 +1073,12 @@ tbm_exynos_bufmgr_get_plane_data(hal_tbm_bufmgr *bufmgr, case HAL_TBM_FORMAT_YVYU: case HAL_TBM_FORMAT_UYVY: case HAL_TBM_FORMAT_VYUY: + bpp = 16; + _offset = 0; + _pitch = SIZE_ALIGN((width * bpp) >> 3, TBM_SURFACE_ALIGNMENT_PITCH_YUV); + _size = SIZE_ALIGN(_pitch * height, TBM_SURFACE_ALIGNMENT_PLANE); + _bo_idx = 0; + break; case HAL_TBM_FORMAT_AYUV: bpp = 32; _offset = 0; |