• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2 // Source: android.hardware.graphics.common@1.1
3 // Location: hardware/interfaces/graphics/common/1.1/
4 
5 #ifndef HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_COMMON_V1_1_EXPORTED_CONSTANTS_H_
6 #define HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_COMMON_V1_1_EXPORTED_CONSTANTS_H_
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 typedef enum {
13     HAL_PIXEL_FORMAT_DEPTH_16 = 48,
14     HAL_PIXEL_FORMAT_DEPTH_24 = 49,
15     HAL_PIXEL_FORMAT_DEPTH_24_STENCIL_8 = 50,
16     HAL_PIXEL_FORMAT_DEPTH_32F = 51,
17     HAL_PIXEL_FORMAT_DEPTH_32F_STENCIL_8 = 52,
18     HAL_PIXEL_FORMAT_STENCIL_8 = 53,
19     HAL_PIXEL_FORMAT_YCBCR_P010 = 54,
20 } android_pixel_format_v1_1_t;
21 
22 typedef enum {
23     HAL_DATASPACE_BT2020_ITU =
24         281411584,  // ((STANDARD_BT2020 | TRANSFER_SMPTE_170M) | RANGE_LIMITED)
25     HAL_DATASPACE_BT2020_ITU_PQ =
26         298188800,  // ((STANDARD_BT2020 | TRANSFER_ST2084) | RANGE_LIMITED)
27     HAL_DATASPACE_BT2020_ITU_HLG = 302383104,  // ((STANDARD_BT2020 | TRANSFER_HLG) | RANGE_LIMITED)
28     HAL_DATASPACE_BT2020_HLG = 168165376,      // ((STANDARD_BT2020 | TRANSFER_HLG) | RANGE_FULL)
29 } android_dataspace_v1_1_t;
30 
31 typedef enum {
32     HAL_COLOR_MODE_BT2020 = 10,
33     HAL_COLOR_MODE_BT2100_PQ = 11,
34     HAL_COLOR_MODE_BT2100_HLG = 12,
35 } android_color_mode_v1_1_t;
36 
37 typedef enum {
38     HAL_RENDER_INTENT_COLORIMETRIC = 0,
39     HAL_RENDER_INTENT_ENHANCE = 1,
40     HAL_RENDER_INTENT_TONE_MAP_COLORIMETRIC = 2,
41     HAL_RENDER_INTENT_TONE_MAP_ENHANCE = 3,
42 } android_render_intent_v1_1_t;
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif  // HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_COMMON_V1_1_EXPORTED_CONSTANTS_H_
49