system/core
Revision | a0095b39584e9ae7ce2c603ba6bb213c13677a27 (tree) |
---|---|
Zeit | 2015-12-22 11:59:30 |
Autor | Sean V Kelley <sean.v.kelley@inte...> |
Commiter | Chih-Wei Huang |
system: Add hw specific pixel format
Relocate hw pixel format to graphics header for convenience
from drm_gralloc codebase.
Change-Id: I405398b172fab19949fef33c89a60132b1bd0ea9
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
@@ -314,6 +314,11 @@ enum { | ||
314 | 314 | */ |
315 | 315 | HAL_PIXEL_FORMAT_YCbCr_420_888 = 0x23, |
316 | 316 | |
317 | + /* | |
318 | + * DRM specific format used by drm_gralloc | |
319 | + */ | |
320 | + HAL_PIXEL_FORMAT_DRM_NV12 = 0x102, | |
321 | + | |
317 | 322 | /* Legacy formats (deprecated), used by ImageFormat.java */ |
318 | 323 | HAL_PIXEL_FORMAT_YCbCr_422_SP = 0x10, // NV16 |
319 | 324 | HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11, // NV21 |