1 #ifndef SYSTEM_CORE_GRAPHICS_SW_H_ 2 #define SYSTEM_CORE_GRAPHICS_SW_H_ 3 4 /* Software formats not in the HAL definitions. */ 5 typedef enum { 6 HAL_PIXEL_FORMAT_YCBCR_422_888 = 39, // 0x27 7 HAL_PIXEL_FORMAT_YCBCR_444_888 = 40, // 0x28 8 HAL_PIXEL_FORMAT_FLEX_RGB_888 = 41, // 0x29 9 HAL_PIXEL_FORMAT_FLEX_RGBA_8888 = 42, // 0x2A 10 } android_pixel_format_sw_t; 11 12 /* for compatibility */ 13 #define HAL_PIXEL_FORMAT_YCbCr_422_888 HAL_PIXEL_FORMAT_YCBCR_422_888 14 #define HAL_PIXEL_FORMAT_YCbCr_444_888 HAL_PIXEL_FORMAT_YCBCR_444_888 15 16 #endif // SYSTEM_CORE_GRAPHICS_SW_H_ 17