diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-03 22:21:46 +0100 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-03 22:21:46 +0100 |
commit | 1400c151aa81bc5cfcb55334406d76f1740f6335 (patch) | |
tree | b7075b1c3380859a018f667dc5e748c1e6bef302 | |
parent | 5125ccc5b6d9a4bf1256a4a57f6d5f7d0ebe26c9 (diff) | |
download | hardware_samsung-1400c151aa81bc5cfcb55334406d76f1740f6335.zip hardware_samsung-1400c151aa81bc5cfcb55334406d76f1740f6335.tar.gz hardware_samsung-1400c151aa81bc5cfcb55334406d76f1740f6335.tar.bz2 |
gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video
Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff
-rw-r--r-- | exynos4/hal/libgralloc_ump/alloc_device.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/exynos4/hal/libgralloc_ump/alloc_device.cpp b/exynos4/hal/libgralloc_ump/alloc_device.cpp index d49eb8b..b064ab6 100644 --- a/exynos4/hal/libgralloc_ump/alloc_device.cpp +++ b/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: |