summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYauhen Kharuzhy <y.kharuzhy@sam-solutions.net>2013-01-24 21:15:07 +0300
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:21 -0500
commitd2c2fde218c6bbf2cea2ff726013c591f8a55d06 (patch)
treeaa21fec1191e5b60fa7f386216ed80b218479298 /include
parent82451bf5fd1bbf2738364fb983d4bb66b2a288b9 (diff)
MXC IPU capture: add support for greyscale formats
Add support for 8-bit and 10-bit grayscale data on CSI interface (non-tested yet). Signed-off-by: Yauhen Kharuzhy <y.kharuzhy@sam-solutions.net> Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ipu.h b/include/linux/ipu.h
index ef55d80da4a3..a3d13e12ae46 100644
--- a/include/linux/ipu.h
+++ b/include/linux/ipu.h
@@ -132,6 +132,7 @@ typedef enum {
/*! @name YUV Planar Formats */
/*! @{ */
#define IPU_PIX_FMT_GREY fourcc('G', 'R', 'E', 'Y') /*!< 8 Greyscale */
+#define IPU_PIX_FMT_Y16 fourcc('Y', '1', '6', ' ') /*!< 16 Greyscale */
#define IPU_PIX_FMT_YVU410P fourcc('Y', 'V', 'U', '9') /*!< 9 YVU 4:1:0 */
#define IPU_PIX_FMT_YUV410P fourcc('Y', 'U', 'V', '9') /*!< 9 YUV 4:1:0 */
#define IPU_PIX_FMT_YVU420P fourcc('Y', 'V', '1', '2') /*!< 12 YVU 4:2:0 */