]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] v4l: Add remaining RAW10 patterns w DPCM pixel code variants
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 3 Sep 2010 08:47:25 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:53:36 +0000 (04:53 -0300)
This adds following formats:
- V4L2_MBUS_FMT_SRGGB10_1X10
- V4L2_MBUS_FMT_SGBRG10_1X10
- V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8
- V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8
- V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/linux/v4l2-mediabus.h

index c4caca33e0c6f2a8c886030be2a694936fd6f7e9..5c64924371df87c94d9a1cd52f67d9dfc451d2a9 100644 (file)
@@ -67,16 +67,21 @@ enum v4l2_mbus_pixelcode {
        V4L2_MBUS_FMT_YUYV10_1X20 = 0x200d,
        V4L2_MBUS_FMT_YVYU10_1X20 = 0x200e,
 
-       /* Bayer - next is 0x300b */
+       /* Bayer - next is 0x3010 */
        V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001,
        V4L2_MBUS_FMT_SGRBG8_1X8 = 0x3002,
+       V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 0x300b,
+       V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 0x300c,
        V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 0x3009,
+       V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 0x300d,
        V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 0x3003,
        V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 0x3004,
        V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 0x3005,
        V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 0x3006,
        V4L2_MBUS_FMT_SBGGR10_1X10 = 0x3007,
+       V4L2_MBUS_FMT_SGBRG10_1X10 = 0x300e,
        V4L2_MBUS_FMT_SGRBG10_1X10 = 0x300a,
+       V4L2_MBUS_FMT_SRGGB10_1X10 = 0x300f,
        V4L2_MBUS_FMT_SBGGR12_1X12 = 0x3008,
 };