Merge "Add Dataspace and PixelFormats to support HDR"

This commit is contained in:
Courtney Goeltzenleuchter 2018-01-24 19:43:48 +00:00 committed by Android (Google) Code Review
commit a41ce24ac1

View file

@ -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