summaryrefslogtreecommitdiffstats
path: root/include/pixelflinger
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:07 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:07 -0800
commit13f797da7f190e9ea52f2f3d235210b8a4963b21 (patch)
treec821e95502ab1ab9096a11e7488e224e319a46b4 /include/pixelflinger
parentdcf3ce247e13fe0a982ed2ada35cdee1f0ac626a (diff)
downloadcore-13f797da7f190e9ea52f2f3d235210b8a4963b21.tar.gz
core-13f797da7f190e9ea52f2f3d235210b8a4963b21.tar.bz2
core-13f797da7f190e9ea52f2f3d235210b8a4963b21.zip
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'include/pixelflinger')
-rw-r--r--include/pixelflinger/format.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/pixelflinger/format.h b/include/pixelflinger/format.h
index 308e56002..6b2050c44 100644
--- a/include/pixelflinger/format.h
+++ b/include/pixelflinger/format.h
@@ -42,8 +42,10 @@ enum GGLPixelFormat {
// YCbCr formats (SP=semi-planar, P=planar)
GGL_PIXEL_FORMAT_YCbCr_422_SP= 0x10,
GGL_PIXEL_FORMAT_YCbCr_420_SP= 0x11,
- GGL_PIXEL_FORMAT_YCbCr_422_P = 0x14,
- GGL_PIXEL_FORMAT_YCbCr_420_P = 0x15,
+ GGL_PIXEL_FORMAT_YCbCr_422_P = 0x12,
+ GGL_PIXEL_FORMAT_YCbCr_420_P = 0x13,
+ GGL_PIXEL_FORMAT_YCbCr_422_I = 0x14,
+ GGL_PIXEL_FORMAT_YCbCr_420_I = 0x15,
// reserved/special formats
GGL_PIXEL_FORMAT_Z_16 = 0x18,
@@ -60,7 +62,10 @@ enum GGLFormatComponents {
GGL_RGBA = 0x1908,
GGL_LUMINANCE = 0x1909,
GGL_LUMINANCE_ALPHA = 0x190A,
- GGL_Y_CB_CR = 0x8000,
+ GGL_Y_CB_CR_SP = 0x8000,
+ GGL_Y_CB_CR = GGL_Y_CB_CR_SP,
+ GGL_Y_CB_CR_P = 0x8001,
+ GGL_Y_CB_CR_I = 0x8002,
};
enum GGLFormatComponentIndex {