]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00178875-2 VDOA: Add vdoa support on i.MX6 SOC platform
authorWayne Zou <b36644@freescale.com>
Wed, 4 Apr 2012 12:42:18 +0000 (20:42 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:27 +0000 (14:11 +0200)
Add tiled format macros: IPU_PIX_FMT_TILED_NV12 and
IPU_PIX_FMT_TILED_NV12F

Signed-off-by: Wayne Zou <b36644@freescale.com>
include/linux/ipu.h

index 051624854558b9ec3f21c2b4c8507186caecd45c..973cfe9b45a517ab176a73fa5a3415499989a377 100644 (file)
@@ -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 */