summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2019-02-28 23:59:53 +0000
committeralk3pInjection <webmaster@raspii.tech>2022-09-05 22:00:03 +0800
commita4d9cf0a3514f936abbeb9c5fc407dcdb9ff96e8 (patch)
treef821cbf150030fdadf6756cd4df14fb16f224718
parent3ba61871bbddd0b406bdbaa0c8f11ff7830923b2 (diff)
Add C2D_FORMAT_BT601_FULLRANGE to C2D_FORMAT_MODE
* 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 821a6d57..2ee71b1a 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;