From 70137214e16f71034683f456fb532cb394ba9704 Mon Sep 17 00:00:00 2001 From: Wayne Zou Date: Wed, 4 Apr 2012 20:42:18 +0800 Subject: ENGR00178875-2 VDOA: Add vdoa support on i.MX6 SOC platform Add tiled format macros: IPU_PIX_FMT_TILED_NV12 and IPU_PIX_FMT_TILED_NV12F Signed-off-by: Wayne Zou --- include/linux/ipu.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/linux/ipu.h b/include/linux/ipu.h index 051624854558..973cfe9b45a5 100644 --- a/include/linux/ipu.h +++ b/include/linux/ipu.h @@ -1,5 +1,5 @@ /* - * Copyright 2005-2011 Freescale Semiconductor, Inc. + * Copyright 2005-2012 Freescale Semiconductor, Inc. */ /* @@ -124,6 +124,10 @@ typedef enum { #define IPU_PIX_FMT_VYU444 fourcc('V', '4', '4', '4') /*!< 24 VYU 4:4:4 */ /* two planes -- one Y, one Cb + Cr interleaved */ #define IPU_PIX_FMT_NV12 fourcc('N', 'V', '1', '2') /* 12 Y/CbCr 4:2:0 */ +/* two planes -- 12 tiled Y/CbCr 4:2:0 */ +#define IPU_PIX_FMT_TILED_NV12 fourcc('T', 'N', 'V', 'P') +#define IPU_PIX_FMT_TILED_NV12F fourcc('T', 'N', 'V', 'F') + /*! @} */ /*! @name YUV Planar Formats */ /*! @{ */ @@ -136,7 +140,7 @@ typedef enum { #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*!< 16 YVU 4:2:2 */ #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*!< 16 YUV 4:2:2 */ /*! @} */ - +#define IPU_PIX_FMT_TILED_NV12_MBALIGN (16) /* IPU device */ typedef enum { RGB_CS, @@ -244,6 +248,8 @@ enum { IPU_CHECK_ERR_SPLIT_OUTPUTW_OVER, IPU_CHECK_ERR_SPLIT_OUTPUTH_OVER, IPU_CHECK_ERR_SPLIT_WITH_ROT, + IPU_CHECK_ERR_NOT_SUPPORT, + IPU_CHECK_ERR_NOT16ALIGN, }; /* IOCTL commands */ -- cgit v1.2.3