diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-09-03 04:47:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:53:36 -0400 |
commit | b1fd18cd9b8719f7668bb00e14f02a8e227e42e9 (patch) | |
tree | 03d624c4c85117c66d9e46a3b8dd31df26f3e836 /include/linux/v4l2-mediabus.h | |
parent | 2d8deaf6b13e1b00fb65333bac9380b8c318adcf (diff) |
[media] v4l: Add remaining RAW10 patterns w DPCM pixel code variants
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>
Diffstat (limited to 'include/linux/v4l2-mediabus.h')
-rw-r--r-- | include/linux/v4l2-mediabus.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/v4l2-mediabus.h b/include/linux/v4l2-mediabus.h index c4caca33e0c6..5c64924371df 100644 --- a/include/linux/v4l2-mediabus.h +++ b/include/linux/v4l2-mediabus.h | |||
@@ -67,16 +67,21 @@ enum v4l2_mbus_pixelcode { | |||
67 | V4L2_MBUS_FMT_YUYV10_1X20 = 0x200d, | 67 | V4L2_MBUS_FMT_YUYV10_1X20 = 0x200d, |
68 | V4L2_MBUS_FMT_YVYU10_1X20 = 0x200e, | 68 | V4L2_MBUS_FMT_YVYU10_1X20 = 0x200e, |
69 | 69 | ||
70 | /* Bayer - next is 0x300b */ | 70 | /* Bayer - next is 0x3010 */ |
71 | V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001, | 71 | V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001, |
72 | V4L2_MBUS_FMT_SGRBG8_1X8 = 0x3002, | 72 | V4L2_MBUS_FMT_SGRBG8_1X8 = 0x3002, |
73 | V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 0x300b, | ||
74 | V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 0x300c, | ||
73 | V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 0x3009, | 75 | V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 0x3009, |
76 | V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 0x300d, | ||
74 | V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 0x3003, | 77 | V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 0x3003, |
75 | V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 0x3004, | 78 | V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 0x3004, |
76 | V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 0x3005, | 79 | V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 0x3005, |
77 | V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 0x3006, | 80 | V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 0x3006, |
78 | V4L2_MBUS_FMT_SBGGR10_1X10 = 0x3007, | 81 | V4L2_MBUS_FMT_SBGGR10_1X10 = 0x3007, |
82 | V4L2_MBUS_FMT_SGBRG10_1X10 = 0x300e, | ||
79 | V4L2_MBUS_FMT_SGRBG10_1X10 = 0x300a, | 83 | V4L2_MBUS_FMT_SGRBG10_1X10 = 0x300a, |
84 | V4L2_MBUS_FMT_SRGGB10_1X10 = 0x300f, | ||
80 | V4L2_MBUS_FMT_SBGGR12_1X12 = 0x3008, | 85 | V4L2_MBUS_FMT_SBGGR12_1X12 = 0x3008, |
81 | }; | 86 | }; |
82 | 87 | ||