summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2019-02-28 23:59:53 +0000
committerPeter Cai <peter@typeblog.net>2019-10-21 17:33:07 +0800
commitf6796f8ae1fc62084de8b45f63e3e37924962a2e (patch)
tree314b974ef2d12eb65006c156f45a20c6db39f243
parent63264d933902f18c41cb15242502b776ff75f5e4 (diff)
downloadandroid_hardware_qcom_display-lineage-17.0-caf-sm8150.tar.gz
android_hardware_qcom_display-lineage-17.0-caf-sm8150.tar.bz2
android_hardware_qcom_display-lineage-17.0-caf-sm8150.zip
Add C2D_FORMAT_BT601_FULLRANGE to C2D_FORMAT_MODElineage-17.0-caf-sm8150
* Another definition that CAF forgot to include in public HALs, leading to libc2dcolorconvert target breakage. Change-Id: Ida86923bcf9b8298a728bd0dcd08cf0410b2a8c9
-rw-r--r--libcopybit/c2d2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcopybit/c2d2.h b/libcopybit/c2d2.h
index 821a6d577..2ee71b1ac 100644
--- a/libcopybit/c2d2.h
+++ b/libcopybit/c2d2.h
@@ -72,6 +72,7 @@ typedef enum {
C2D_FORMAT_MACROTILED = (1 << 16), /* tiled in macro level */
C2D_FORMAT_TILED_4x4 = (1 << 17), /* 4x4 tiled format */
C2D_FORMAT_SWAP_RB = (1 << 18), /* Swap R & B color components */
+ C2D_FORMAT_BT601_FULLRANGE = (1 << 20), /* YUV format is full range following BT 601 */
C2D_FORMAT_UBWC_COMPRESSED = (1 << 23), /* UBWC compressed format */
} C2D_FORMAT_MODE;