Merge "Prevent conflict with deprecated pixel format constants"
diff --git a/graphics/common/1.0/types.hal b/graphics/common/1.0/types.hal
index 9726c3a..67ff353 100644
--- a/graphics/common/1.0/types.hal
+++ b/graphics/common/1.0/types.hal
@@ -40,11 +40,11 @@
/*
* The following formats use a 16bit float per color component.
*/
- RGBA_FP16 = 0x10,
- RGBX_FP16 = 0x11,
+ RGBA_FP16 = 0x16,
+ RGBX_FP16 = 0x17,
/*
- * 0x100 - 0x1FF
+ * 0x101 - 0x1FF
*
* This range is reserved for pixel formats that are specific to the HAL
* implementation. Implementations can use any value in this range to
@@ -422,9 +422,10 @@
FLEX_RGBA_8888 = 0x2A,
/* Legacy formats (deprecated), used by ImageFormat.java */
- YCBCR_422_SP = 0x10, // NV16
- YCRCB_420_SP = 0x11, // NV21
- YCBCR_422_I = 0x14, // YUY2
+ YCBCR_422_SP = 0x10, // NV16
+ YCRCB_420_SP = 0x11, // NV21
+ YCBCR_422_I = 0x14, // YUY2
+ JPEG = 0x100,
};
/**