diff mbox

[RFC/PATCH,v2,04/10] v4l: Add 8-bit YUYV on 16-bit bus and SGRBG10 media bus pixel codes

Message ID 1286284376-12217-5-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive)
State RFC
Headers show

Commit Message

Laurent Pinchart Oct. 5, 2010, 1:12 p.m. UTC
None
diff mbox

Patch

diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h
index 1f24a22..897c13a 100644
--- a/include/linux/v4l2-mediabus.h
+++ b/include/linux/v4l2-mediabus.h
@@ -43,19 +43,23 @@  enum v4l2_mbus_pixelcode {
 	V4L2_MBUS_FMT_RGB565_2X8_BE = 0x1003,
 	V4L2_MBUS_FMT_RGB565_2X8_LE = 0x1004,
 
-	/* YUV (including grey) - next is 0x200b */
+	/* YUV (including grey) - next is 0x200f */
+	V4L2_MBUS_FMT_UYVY8_1X16 = 0x200b,
 	V4L2_MBUS_FMT_UYVY8_1_5X8 = 0x2001,
 	V4L2_MBUS_FMT_UYVY8_2X8 = 0x2002,
+	V4L2_MBUS_FMT_VYUY8_1X16 = 0x200c,
 	V4L2_MBUS_FMT_VYUY8_1_5X8 = 0x2003,
 	V4L2_MBUS_FMT_VYUY8_2X8 = 0x2004,
 	V4L2_MBUS_FMT_Y8_1X8 = 0x2005,
+	V4L2_MBUS_FMT_YUYV8_1X16 = 0x200d,
 	V4L2_MBUS_FMT_YUYV8_1_5X8 = 0x2006,
 	V4L2_MBUS_FMT_YUYV8_2X8 = 0x2007,
+	V4L2_MBUS_FMT_YVYU8_1X16 = 0x200e,
 	V4L2_MBUS_FMT_YVYU8_1_5X8 = 0x2008,
 	V4L2_MBUS_FMT_YVYU8_2X8 = 0x2009,
 	V4L2_MBUS_FMT_Y10_1X10 = 0x200a,
 
-	/* Bayer - next is 0x3009 */
+	/* Bayer - next is 0x300b */
 	V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001,
 	V4L2_MBUS_FMT_SGRBG8_1X8 = 0x3002,
 	V4L2_MBUS_FMT_SBGGR10_1X10 = 0x3003,
@@ -63,6 +67,8 @@  enum v4l2_mbus_pixelcode {
 	V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 0x3005,
 	V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 0x3006,
 	V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 0x3007,
+	V4L2_MBUS_FMT_SGRBG10_1X10 = 0x3009,
+	V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 0x300a,
 	V4L2_MBUS_FMT_SBGGR12_1X12 = 0x3008,
 };