From: Changyeon Lee Date: Tue, 17 Oct 2017 03:01:53 +0000 (+0900) Subject: Use 16 align at UV Plane of NV12 X-Git-Tag: accepted/tizen/unified/20171128.150419~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=593bc3a95b3d472b53b88cafd246987cc246f8ad;p=platform%2Fadaptation%2Fsamsung_exynos%2Flibtbm-exynos.git Use 16 align at UV Plane of NV12 Change-Id: I1f9f8779dab2c7e0bef2656b440fbaf092666776 --- diff --git a/src/tbm_bufmgr_exynos.c b/src/tbm_bufmgr_exynos.c index ec94a66..e914646 100644 --- a/src/tbm_bufmgr_exynos.c +++ b/src/tbm_bufmgr_exynos.c @@ -1905,7 +1905,7 @@ tbm_exynos_surface_get_plane_data(int width, int height, _bo_idx = 0; } else if (plane_idx == 1) { _offset = 0; - _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 = 1;