diff options
author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2018-01-03 12:03:58 -0700 |
---|---|---|
committer | Courtney Goeltzenleuchter <courtneygo@google.com> | 2018-01-23 16:15:27 -0800 |
commit | e1128319c4b19209a0f420d3ac5eefc366c7c373 (patch) | |
tree | f94707f4eba480f1a09708d66fdadc1d246334f8 | |
parent | 1c08d5049f9297986206f7d9cb34b4c09ae2bbd2 (diff) | |
download | core-e1128319c4b19209a0f420d3ac5eefc366c7c373.tar.gz core-e1128319c4b19209a0f420d3ac5eefc366c7c373.tar.bz2 core-e1128319c4b19209a0f420d3ac5eefc366c7c373.zip |
Add Dataspace and PixelFormats to support HDR
Bug: 63710530
Test: make
Change-Id: I40c668978972598d057e4302f27ebc65f59cf895
-rw-r--r-- | libsystem/include/system/graphics-base-v1.1.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libsystem/include/system/graphics-base-v1.1.h b/libsystem/include/system/graphics-base-v1.1.h index 3d5c3c0cf..12d01c17f 100644 --- a/libsystem/include/system/graphics-base-v1.1.h +++ b/libsystem/include/system/graphics-base-v1.1.h @@ -16,8 +16,16 @@ typedef enum { HAL_PIXEL_FORMAT_DEPTH_32F = 51, HAL_PIXEL_FORMAT_DEPTH_32F_STENCIL_8 = 52, HAL_PIXEL_FORMAT_STENCIL_8 = 53, + HAL_PIXEL_FORMAT_YCBCR_P010 = 54, } android_pixel_format_v1_1_t; +typedef enum { + HAL_DATASPACE_BT2020_ITU = + 281411584, // ((STANDARD_BT2020 | TRANSFER_SMPTE_170M) | RANGE_LIMITED) + HAL_DATASPACE_BT2020_ITU_PQ = + 298188800, // ((STANDARD_BT2020 | TRANSFER_ST2084) | RANGE_LIMITED) +} android_dataspace_v1_1_t; + #ifdef __cplusplus } #endif |