summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Ryd <patrik.ryd@stericsson.com>2012-03-28 10:16:55 +0200
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2012-04-05 15:18:10 -0600
commitfc18425fbdd2c2dc80e1a78ff9702b56847922f4 (patch)
tree813b79eb2b1dd1c5db96886968753b3bc6f4a856
parentf1ab0dd3a3d1a4aa3497151a1033fa6cbe4a9223 (diff)
downloadcore-fc18425fbdd2c2dc80e1a78ff9702b56847922f4.tar.gz
Adding required ST-Ericsson changes to graphics.h
Pixel formats have been added to graphics.h. One is ST-Ericsson specific and the rest were there in GB. Change-Id: I861957f19d41167284f99213f7e8c366985461af Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com> Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--include/system/graphics.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/system/graphics.h b/include/system/graphics.h
index 729e92c78..956e32820 100644
--- a/include/system/graphics.h
+++ b/include/system/graphics.h
@@ -87,11 +87,24 @@ enum {
HAL_PIXEL_FORMAT_YV12 = 0x32315659, // YCrCb 4:2:0 Planar
+ /* STE: Added Support of YUV42XMBN, required for Copybit CC acceleration */
+ HAL_PIXEL_FORMAT_YCBCR42XMBN = 0xE,
/* Legacy formats (deprecated), used by ImageFormat.java */
HAL_PIXEL_FORMAT_YCbCr_422_SP = 0x10, // NV16
HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11, // NV21
+ HAL_PIXEL_FORMAT_YCbCr_422_P = 0x12,
+ HAL_PIXEL_FORMAT_YCbCr_420_P = 0x13,
HAL_PIXEL_FORMAT_YCbCr_422_I = 0x14, // YUY2
+ HAL_PIXEL_FORMAT_YCbCr_420_I = 0x15,
+ HAL_PIXEL_FORMAT_CbYCrY_422_I = 0x16,
+ HAL_PIXEL_FORMAT_CbYCrY_420_I = 0x17,
+ HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED = 0x20,
+ HAL_PIXEL_FORMAT_YCbCr_420_SP = 0x21,
+ HAL_PIXEL_FORMAT_YCrCb_420_SP_TILED = 0x22,
+ HAL_PIXEL_FORMAT_YCrCb_422_SP = 0x23,
+ HAL_PIXEL_FORMAT_YCrCb_422_P = 0x24,
+ HAL_PIXEL_FORMAT_YCrCb_420_P = 0x25,
};