gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video

Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff
tirimbino
codeworkx 12 years ago
parent 5125ccc5b6
commit 1400c151aa
  1. 2
      exynos4/hal/libgralloc_ump/alloc_device.cpp

@ -354,6 +354,7 @@ static int alloc_device_alloc(alloc_device_t* dev, int w, int h, int format,
size_t stride_raw = 0;
if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP ||
format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED ||
format == HAL_PIXEL_FORMAT_YCrCb_420_SP ||
format == HAL_PIXEL_FORMAT_YCbCr_422_SP ||
format == HAL_PIXEL_FORMAT_YCbCr_420_P ||
@ -369,6 +370,7 @@ static int alloc_device_alloc(alloc_device_t* dev, int w, int h, int format,
vstride = (h + 15) & ~15;
switch (format) {
case HAL_PIXEL_FORMAT_YCbCr_420_SP:
case HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED:
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
case HAL_PIXEL_FORMAT_YCbCr_420_P:
case HAL_PIXEL_FORMAT_YV12:

Loading…
Cancel
Save