diff options
author | Wayne Zou <b36644@freescale.com> | 2012-04-04 20:42:18 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:34:23 +0800 |
commit | 70137214e16f71034683f456fb532cb394ba9704 (patch) | |
tree | 01f685d08ee170197bd85926d65d3512d1028010 /include | |
parent | f13f2f6245c36709b90454ca1bda9bd9420b04e8 (diff) |
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 <b36644@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipu.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 */ |