Merge "The aidl changes necessary to add requested AHB format enums" am: 3e01679bb5 am: a8fbf496f8 am: af57555cbf

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2328513

Change-Id: I6ef9729b24defe2acad14c332455d8542a325eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Trevor Black 2022-12-21 01:32:07 +00:00 committed by Automerger Merge Worker
commit b0170e08de
2 changed files with 29 additions and 0 deletions

View file

@ -65,4 +65,7 @@ enum PixelFormat {
YCBCR_P010 = 54,
HSV_888 = 55,
R_8 = 56,
R_16_UINT = 57,
RG_1616_UINT = 58,
RGBA_10101010 = 59,
}

View file

@ -506,4 +506,30 @@ enum PixelFormat {
* The component values are unsigned normalized to the range [0, 1].
*/
R_8 = 0x38,
/**
* 16-bit format with a single 16-bit component
*
* The component values are unsigned integers, whose interpretation is
* defined by the dataspace.
*/
R_16_UINT = 0x39,
/**
* 32-bit format that has 16-bit R and G components, in that order,
* from the lowest memory address to the highest memory address.
*
* The component values are unsigned integers, whose interpretation is
* defined by the dataspace.
*/
RG_1616_UINT = 0x3a,
/**
* 40-bit format that has 10-bit R, G, B, and A components, in that order,
* from the lowest memory address to the highest memory address.
*
* The component values are unsigned normalized to the range [0, 1], whose
* interpretation is defined by the dataspace.
*/
RGBA_10101010 = 0x3b,
}