diff options
author | Arun Kumar K.R <akumarkr@codeaurora.org> | 2016-10-03 21:26:10 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-17 10:25:18 -0700 |
commit | c18263edc2ba90edf91a1f492a29805a7ecd3d96 (patch) | |
tree | 7cfd4826ef718d0fdee4669db7899c2ee2b87647 /libgralloc | |
parent | 9fd4a735ef81ed678f8e3303795c6ad906cc98ec (diff) | |
download | display-c18263edc2ba90edf91a1f492a29805a7ecd3d96.tar.gz |
display: Add Support for Rec.2020
- Add Rec2020 CSC in qdMetadata for limited/full range
- Expose CSC as #defines in gralloc private header to
help GFX decouple from the display headers
Change-Id: I90ee2708275bf1a37ece0fce2f0867dfad64e39a
Crs-fixed: 1074164
Diffstat (limited to 'libgralloc')
-rw-r--r-- | libgralloc/gralloc_priv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgralloc/gralloc_priv.h b/libgralloc/gralloc_priv.h index 4c059cfd..738b63ff 100644 --- a/libgralloc/gralloc_priv.h +++ b/libgralloc/gralloc_priv.h @@ -166,6 +166,13 @@ #define HAL_IGC_NOT_SPECIFIED 0 #define HAL_IGC_s_RGB 1 +/* Color Space: Values maps to ColorSpace_t in qdMetadata.h */ +#define HAL_CSC_ITU_R_601 0 +#define HAL_CSC_ITU_R_601_FR 1 +#define HAL_CSC_ITU_R_709 2 +#define HAL_CSC_ITU_R_2020 3 +#define HAL_CSC_ITU_R_2020_FR 4 + /* possible formats for 3D content*/ enum { HAL_NO_3D = 0x0, |