Merge "graphics.h: Add android_hdr_t" into nyc-dev

This commit is contained in:
Dan Stoza 2016-04-07 21:32:52 +00:00 committed by Android (Google) Code Review
commit 1dcf56080f

View file

@ -1066,6 +1066,20 @@ typedef enum android_color_transform {
HAL_COLOR_TRANSFORM_CORRECT_TRITANOPIA = 6 HAL_COLOR_TRANSFORM_CORRECT_TRITANOPIA = 6
} android_color_transform_t; } android_color_transform_t;
/*
* Supported HDR formats. Must be kept in sync with equivalents in Display.java.
*/
typedef enum android_hdr {
/* Device supports Dolby Vision HDR */
HAL_HDR_DOLBY_VISION = 1,
/* Device supports HDR10 */
HAL_HDR_HDR10 = 2,
/* Device supports hybrid log-gamma HDR */
HAL_HDR_HLG = 3
} android_hdr_t;
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif