diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:08:08 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:08:08 -0800 |
commit | 35237d135807af84bf9b0e5b8d7f8633e58db6f5 (patch) | |
tree | d8bcf3ada2182d248604728285dd80abb466f22a /include/pixelflinger/format.h | |
parent | 4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 (diff) | |
download | system_core-35237d135807af84bf9b0e5b8d7f8633e58db6f5.tar.gz system_core-35237d135807af84bf9b0e5b8d7f8633e58db6f5.tar.bz2 system_core-35237d135807af84bf9b0e5b8d7f8633e58db6f5.zip |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'include/pixelflinger/format.h')
-rw-r--r-- | include/pixelflinger/format.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pixelflinger/format.h b/include/pixelflinger/format.h index ad0d29d84..308e56002 100644 --- a/include/pixelflinger/format.h +++ b/include/pixelflinger/format.h @@ -30,6 +30,7 @@ enum GGLPixelFormat { GGL_PIXEL_FORMAT_RGBX_8888 = 2, // 3x8-bit RGB stored in 32-bit chunks GGL_PIXEL_FORMAT_RGB_888 = 3, // 3x8-bit RGB GGL_PIXEL_FORMAT_RGB_565 = 4, // 16-bit RGB + GGL_PIXEL_FORMAT_BGRA_8888 = 5, // 4x8-bit BGRA GGL_PIXEL_FORMAT_RGBA_5551 = 6, // 16-bit RGBA GGL_PIXEL_FORMAT_RGBA_4444 = 7, // 16-bit RGBA @@ -38,9 +39,11 @@ enum GGLPixelFormat { GGL_PIXEL_FORMAT_LA_88 = 0xA, // 16-bit LA GGL_PIXEL_FORMAT_RGB_332 = 0xB, // 8-bit RGB (non paletted) - // YCbCr formats + // 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, // reserved/special formats GGL_PIXEL_FORMAT_Z_16 = 0x18, |