graphics: Add 12 bits and 14 bits formats

Add six new formats to the formats definitions. The new formats
have two distinct properties:
Each format includes either one component (only R),
two components (R ang G) or four components (R, G, B and A).
The size of each component in the format is 12 bits or 14 bits.

Bug: 414794424
Flag: com.android.graphics.hwui.flags.requested_formats_12_14
Test: Manual compilation of the AOSP tree.
Change-Id: Ib6394dcab70b1a4f14919bd8b1bac57299843a29
Signed-off-by: Avi Shif <avi.shif@arm.com>
4 files changed