Add AIDL PixelFormat::R_8

Bug: 193170859
Bug: 209497983
Test: build and boot
Test: TODO (b/209458105)
Change-Id: I6f6b7f22e76609151a413ca6a6dbf55bd91911dd
This commit is contained in:
Leon Scroggins III 2021-11-22 14:15:42 -05:00
parent d709be7d8c
commit c0ae66a05e
2 changed files with 8 additions and 0 deletions

View file

@ -63,4 +63,5 @@ enum PixelFormat {
STENCIL_8 = 53,
YCBCR_P010 = 54,
HSV_888 = 55,
R_8 = 56,
}

View file

@ -498,4 +498,11 @@ enum PixelFormat {
* interpretation is defined by the dataspace.
*/
HSV_888 = 0x37,
/**
* 8 bit format with a single 8-bit component.
*
* The component values are unsigned normalized to the range [0, 1].
*/
R_8 = 0x38,
}