From: Jiyu Yang Date: Fri, 14 Jul 2017 05:38:47 +0000 (+0800) Subject: use HAL_PIXEL_FORMAT_YCrCb_420_SP for HAL_PIXEL_FORMAT_YCbCr_420_888 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bbee547a99c2b8e41c041507797dae76461d7c32;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_mali-driver.git use HAL_PIXEL_FORMAT_YCrCb_420_SP for HAL_PIXEL_FORMAT_YCbCr_420_888 PD#146294 use HAL_PIXEL_FORMAT_YCrCb_420_SP for HAL_PIXEL_FORMAT_YCbCr_420_888 (Android flexible YCbCr 4:2:0 formats) This format allows platforms to use an efficient YCbCr/YCrCb 4:2:0 buffer layout, while still describing the general format in a layout-independent manner. While called YCbCr, it can be used to describe formats with either chromatic ordering, as well as whole planar or semiplanar layouts. struct android_ycbcr (below) is the the struct used to describe it. This format must be accepted by the gralloc module when USAGE_SW_WRITE_* or USAGE_SW_READ_* are set. This format is locked for use by gralloc's (*lock_ycbcr) method, and locking with the (*lock) method will return an error. When used with ANativeWindow, the dataSpace field describes the color space of the buffer. Change-Id: I1167c091350f17f8f6e4477841d0ab485e57954d Signed-off-by: Jiyu Yang --- diff --git a/lib/t82x_ion/libGLES_mali_default_8a_32-n-r16p0.so b/lib/t82x_ion/libGLES_mali_default_8a_32-n-r16p0.so index 13d6546..d39af2c 100644 Binary files a/lib/t82x_ion/libGLES_mali_default_8a_32-n-r16p0.so and b/lib/t82x_ion/libGLES_mali_default_8a_32-n-r16p0.so differ diff --git a/lib/t82x_ion/libGLES_mali_default_8a_64-n-r16p0.so b/lib/t82x_ion/libGLES_mali_default_8a_64-n-r16p0.so index 540d570..7ad3cb6 100644 Binary files a/lib/t82x_ion/libGLES_mali_default_8a_64-n-r16p0.so and b/lib/t82x_ion/libGLES_mali_default_8a_64-n-r16p0.so differ diff --git a/lib/t83x_ion/libGLES_mali_default_8a_32-n-r16p0.so b/lib/t83x_ion/libGLES_mali_default_8a_32-n-r16p0.so index f438c1a..b649dba 100644 Binary files a/lib/t83x_ion/libGLES_mali_default_8a_32-n-r16p0.so and b/lib/t83x_ion/libGLES_mali_default_8a_32-n-r16p0.so differ diff --git a/lib/t83x_ion/libGLES_mali_default_8a_64-n-r16p0.so b/lib/t83x_ion/libGLES_mali_default_8a_64-n-r16p0.so index 95bc3f3..8246a84 100644 Binary files a/lib/t83x_ion/libGLES_mali_default_8a_64-n-r16p0.so and b/lib/t83x_ion/libGLES_mali_default_8a_64-n-r16p0.so differ