summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/v4l2-mediabus.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-05-17 12:32:46 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-13 13:48:29 -0300
commit7ffd58ddab76969019098e97d687711451d32a3d (patch)
tree080f5271a0f42f53db1e8bbd8d08288d470813f7 /include/uapi/linux/v4l2-mediabus.h
parent39d39af6093038491137decdef855c703a09f983 (diff)
downloadblackbird-obmc-linux-7ffd58ddab76969019098e97d687711451d32a3d.tar.gz
blackbird-obmc-linux-7ffd58ddab76969019098e97d687711451d32a3d.zip
[media] v4l: Add 12-bit YUV 4:2:2 media bus pixel codes
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.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 70a732b7e47b..1445e858854f 100644
--- a/include/uapi/linux/v4l2-mediabus.h
+++ b/include/uapi/linux/v4l2-mediabus.h
@@ -52,7 +52,7 @@ enum v4l2_mbus_pixelcode {
V4L2_MBUS_FMT_RGB888_2X12_LE = 0x100c,
V4L2_MBUS_FMT_ARGB8888_1X32 = 0x100d,
- /* YUV (including grey) - next is 0x2020 */
+ /* YUV (including grey) - next is 0x2024 */
V4L2_MBUS_FMT_Y8_1X8 = 0x2001,
V4L2_MBUS_FMT_UV8_1X8 = 0x2015,
V4L2_MBUS_FMT_UYVY8_1_5X8 = 0x2002,
@@ -84,6 +84,10 @@ enum v4l2_mbus_pixelcode {
V4L2_MBUS_FMT_VYUY12_2X12 = 0x201d,
V4L2_MBUS_FMT_YUYV12_2X12 = 0x201e,
V4L2_MBUS_FMT_YVYU12_2X12 = 0x201f,
+ V4L2_MBUS_FMT_UYVY12_1X24 = 0x2020,
+ V4L2_MBUS_FMT_VYUY12_1X24 = 0x2021,
+ V4L2_MBUS_FMT_YUYV12_1X24 = 0x2022,
+ V4L2_MBUS_FMT_YVYU12_1X24 = 0x2023,
/* Bayer - next is 0x3019 */
V4L2_MBUS_FMT_SBGGR8_1X8 = 0x3001,
OpenPOWER on IntegriCloud