Merge "graphics.h: Add android_hdr_t" into nyc-dev
am: 1dcf560
* commit '1dcf56080f7a396d57a9bd0e2c601f739a4bdf9a':
graphics.h: Add android_hdr_t
Change-Id: I816d5741dfec2b9f69fd3d1e4426bf00b9b8cee7
This commit is contained in:
commit
76a903224f
|
@ -1066,6 +1066,20 @@ typedef enum android_color_transform {
|
|||
HAL_COLOR_TRANSFORM_CORRECT_TRITANOPIA = 6
|
||||
} 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
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue