V4L/DVB: V4L2: mediabus: add 12-bit Bayer and YUV420 pixel formats
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 26 Jul 2010 13:41:55 +0000 (10:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:43:37 +0000 (16:43 -0300)
These formats belong to the standard format set, defined by the MIPI CSI-2
specification.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-mediabus.h

index a87096598416c18f5da48b5e5cb6839c92ed8875..f0cf2e7def0664d2e55f6e9e9628132dca427366 100644 (file)
@@ -41,6 +41,11 @@ enum v4l2_mbus_pixelcode {
        V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE,
        V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE,
        V4L2_MBUS_FMT_SGRBG8_1X8,
+       V4L2_MBUS_FMT_SBGGR12_1X12,
+       V4L2_MBUS_FMT_YUYV8_1_5X8,
+       V4L2_MBUS_FMT_YVYU8_1_5X8,
+       V4L2_MBUS_FMT_UYVY8_1_5X8,
+       V4L2_MBUS_FMT_VYUY8_1_5X8,
 };
 
 /**