diff options
author | Changyeon Lee <cyeon.lee@samsung.com> | 2017-10-17 11:48:29 +0900 |
---|---|---|
committer | Changyeon Lee <cyeon.lee@samsung.com> | 2017-10-17 11:54:15 +0900 |
commit | 111ed1b6cc80b0ab35dcf9faa5bd3aeac4f923b0 (patch) | |
tree | b4497706323d12b28832ec4e37d090794d5b491c | |
parent | 8abafce152109d5da76266725315591d13a8742b (diff) | |
download | libtbm-exynos-tgm-111ed1b6cc80b0ab35dcf9faa5bd3aeac4f923b0.tar.gz libtbm-exynos-tgm-111ed1b6cc80b0ab35dcf9faa5bd3aeac4f923b0.tar.bz2 libtbm-exynos-tgm-111ed1b6cc80b0ab35dcf9faa5bd3aeac4f923b0.zip |
Use 16 align at UV Plane of NV12
Change-Id: Icb51f56439e2cecc9f1c29502b51b62369493e7e
-rw-r--r-- | src/tbm_bufmgr_exynos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbm_bufmgr_exynos.c b/src/tbm_bufmgr_exynos.c index 4bb6d46..f5f4a86 100644 --- a/src/tbm_bufmgr_exynos.c +++ b/src/tbm_bufmgr_exynos.c @@ -1826,7 +1826,7 @@ tbm_exynos_surface_get_plane_data(int width, int height, /*else if (plane_idx == 1)*/ { _offset += _size; - _pitch = SIZE_ALIGN(width, TBM_SURFACE_ALIGNMENT_PITCH_YUV / 2); + _pitch = SIZE_ALIGN(width, TBM_SURFACE_ALIGNMENT_PITCH_YUV); _size = MAX(_calc_uvplane_nv12(width, height), _new_calc_uvplane_nv12(width, height)); _bo_idx = 0; |