Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a41ce24a authored by Courtney Goeltzenleuchter's avatar Courtney Goeltzenleuchter Committed by Android (Google) Code Review
Browse files

Merge "Add Dataspace and PixelFormats to support HDR"

parents 6a6629ff e1128319
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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