summaryrefslogtreecommitdiff
path: root/include/uapi/linux/v4l2-mediabus.h
diff options
context:
space:
mode:
authorPhil Edworthy <phil.edworthy@renesas.com>2013-03-18 15:47:59 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-05 02:40:08 +0400
commit7b88fc086a217be7d16ec68a7f66093d344e39d7 (patch)
tree3554f9079054ba08316881b89db97e310e772751 /include/uapi/linux/v4l2-mediabus.h
parent64e171e3f66d75d792029ad53d203e4c113e9f0d (diff)
downloadlinux-7b88fc086a217be7d16ec68a7f66093d344e39d7.tar.xz
[media] soc_camera: Add RGB666 & RGB888 formats
Based on work done by Katsuya Matsubara. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/uapi/linux/v4l2-mediabus.h')
-rw-r--r--include/uapi/linux/v4l2-mediabus.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/uapi/linux/v4l2-mediabus.h b/include/uapi/linux/v4l2-mediabus.h
index b9b7bea04537..6ee63d09b32d 100644
--- a/include/uapi/linux/v4l2-mediabus.h
+++ b/include/uapi/linux/v4l2-mediabus.h
@@ -37,7 +37,7 @@
enum v4l2_mbus_pixelcode {
V4L2_MBUS_FMT_FIXED = 0x0001,
- /* RGB - next is 0x1009 */
+ /* RGB - next is 0x100d */
V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE = 0x1001,
V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE = 0x1002,
V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE = 0x1003,
@@ -46,6 +46,10 @@ enum v4l2_mbus_pixelcode {
V4L2_MBUS_FMT_BGR565_2X8_LE = 0x1006,
V4L2_MBUS_FMT_RGB565_2X8_BE = 0x1007,
V4L2_MBUS_FMT_RGB565_2X8_LE = 0x1008,
+ V4L2_MBUS_FMT_RGB666_1X18 = 0x1009,
+ V4L2_MBUS_FMT_RGB888_1X24 = 0x100a,
+ V4L2_MBUS_FMT_RGB888_2X12_BE = 0x100b,
+ V4L2_MBUS_FMT_RGB888_2X12_LE = 0x100c,
/* YUV (including grey) - next is 0x2017 */
V4L2_MBUS_FMT_Y8_1X8 = 0x2001,