From d573d9b5a18cb47ed2b091099872790ae59bfffa Mon Sep 17 00:00:00 2001 From: codeworkx Date: Tue, 27 Nov 2012 12:34:52 +0100 Subject: [PATCH] exynos4: add missing pixel format definitions Change-Id: I0386e8a9209d4f6633f67aa028c512e749c2c857 --- exynos4/hal/include/sec_format.h | 36 +++++++++++++++++--------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/exynos4/hal/include/sec_format.h b/exynos4/hal/include/sec_format.h index 23534c5..47e7779 100644 --- a/exynos4/hal/include/sec_format.h +++ b/exynos4/hal/include/sec_format.h @@ -20,24 +20,26 @@ /* enum related to pixel format */ enum { - HAL_PIXEL_FORMAT_YCbCr_422_P = 0x100, - HAL_PIXEL_FORMAT_YCbCr_420_P = 0x101, - HAL_PIXEL_FORMAT_YCbCr_420_I = 0x102, - HAL_PIXEL_FORMAT_CbYCrY_422_I = 0x103, - HAL_PIXEL_FORMAT_CbYCrY_420_I = 0x104, - HAL_PIXEL_FORMAT_YCbCr_420_SP = 0x105, - HAL_PIXEL_FORMAT_YCrCb_422_SP = 0x106, + HAL_PIXEL_FORMAT_YCbCr_422_P = 0x100, + HAL_PIXEL_FORMAT_YCbCr_420_P = 0x101, + HAL_PIXEL_FORMAT_YCbCr_420_I = 0x102, + HAL_PIXEL_FORMAT_CbYCrY_422_I = 0x103, + HAL_PIXEL_FORMAT_CbYCrY_420_I = 0x104, + HAL_PIXEL_FORMAT_YCbCr_420_SP = 0x105, + HAL_PIXEL_FORMAT_YCrCb_422_SP = 0x106, + HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED = 0x107, + HAL_PIXEL_FORMAT_ARGB888 = 0x108, // support custom format for zero copy - HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP = 0x110, - HAL_PIXEL_FORMAT_CUSTOM_YCrCb_420_SP = 0x111, - HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP_TILED = 0x112, - HAL_PIXEL_FORMAT_CUSTOM_YCbCr_422_SP = 0x113, - HAL_PIXEL_FORMAT_CUSTOM_YCrCb_422_SP = 0x114, - HAL_PIXEL_FORMAT_CUSTOM_YCbCr_422_I = 0x115, - HAL_PIXEL_FORMAT_CUSTOM_YCrCb_422_I = 0x116, - HAL_PIXEL_FORMAT_CUSTOM_CbYCrY_422_I = 0x117, - HAL_PIXEL_FORMAT_CUSTOM_CrYCbY_422_I = 0x118, - HAL_PIXEL_FORMAT_CUSTOM_CbYCr_422_I = 0x11B, + HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP = 0x110, + HAL_PIXEL_FORMAT_CUSTOM_YCrCb_420_SP = 0x111, + HAL_PIXEL_FORMAT_CUSTOM_YCbCr_420_SP_TILED = 0x112, + HAL_PIXEL_FORMAT_CUSTOM_YCbCr_422_SP = 0x113, + HAL_PIXEL_FORMAT_CUSTOM_YCrCb_422_SP = 0x114, + HAL_PIXEL_FORMAT_CUSTOM_YCbCr_422_I = 0x115, + HAL_PIXEL_FORMAT_CUSTOM_YCrCb_422_I = 0x116, + HAL_PIXEL_FORMAT_CUSTOM_CbYCrY_422_I = 0x117, + HAL_PIXEL_FORMAT_CUSTOM_CrYCbY_422_I = 0x118, + HAL_PIXEL_FORMAT_CUSTOM_CbYCr_422_I = 0x11B, HAL_PIXEL_FORMAT_CUSTOM_MAX }; -- 2.20.1