Add COLOR_MODE_DISPLAY_BT2020 to graphics header.

Bug: 256551001
Test: build and flash; hidl-gen -Lexport-header -o $ANDROID_BUILD_TOP/system/core/include/system/graphics-base-v1.2.h
android.hardware.graphics.common@1.2

Change-Id: I989d1171c98f477f174ad092b74d455a062c9bad
This commit is contained in:
Sally Qi 2022-11-29 22:48:48 +00:00
parent f9e6c5104d
commit af7be76168

View file

@ -14,12 +14,16 @@ typedef enum {
} android_hdr_v1_2_t;
typedef enum {
HAL_DATASPACE_DISPLAY_BT2020 = 142999552 /* ((STANDARD_BT2020 | TRANSFER_SRGB) | RANGE_FULL) */,
HAL_DATASPACE_DISPLAY_BT2020 = 142999552 /* STANDARD_BT2020 | TRANSFER_SRGB | RANGE_FULL */,
HAL_DATASPACE_DYNAMIC_DEPTH = 4098 /* 0x1002 */,
HAL_DATASPACE_JPEG_APP_SEGMENTS = 4099 /* 0x1003 */,
HAL_DATASPACE_HEIF = 4100 /* 0x1004 */,
} android_dataspace_v1_2_t;
typedef enum {
HAL_COLOR_MODE_DISPLAY_BT2020 = 13,
} android_color_mode_v1_2_t;
typedef enum {
HAL_PIXEL_FORMAT_HSV_888 = 55 /* 0x37 */,
} android_pixel_format_v1_2_t;