summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergio Aguirre <saaguirre@ti.com>2012-04-07 22:54:34 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-04-09 12:52:46 +0200
commitb5a1c3048a028965efe5af46801b9c14959703a2 (patch)
tree837ef6d428dde7862f0956751968801a72ddef6f /src
parent36a1357c9c879092fe2e36c82187f1d35b1efe13 (diff)
Add support for YUV420 formats
Signed-off-by: Sergio Aguirre <saaguirre@ti.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/v4l2subdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c
index b886b72..8c1baee 100644
--- a/src/v4l2subdev.c
+++ b/src/v4l2subdev.c
@@ -497,8 +497,10 @@ static struct {
{ "Y10", V4L2_MBUS_FMT_Y10_1X10 },
{ "Y12", V4L2_MBUS_FMT_Y12_1X12 },
{ "YUYV", V4L2_MBUS_FMT_YUYV8_1X16 },
+ { "YUYV1_5X8", V4L2_MBUS_FMT_YUYV8_1_5X8 },
{ "YUYV2X8", V4L2_MBUS_FMT_YUYV8_2X8 },
{ "UYVY", V4L2_MBUS_FMT_UYVY8_1X16 },
+ { "UYVY1_5X8", V4L2_MBUS_FMT_UYVY8_1_5X8 },
{ "UYVY2X8", V4L2_MBUS_FMT_UYVY8_2X8 },
{ "SBGGR8", V4L2_MBUS_FMT_SBGGR8_1X8 },
{ "SGBRG8", V4L2_MBUS_FMT_SGBRG8_1X8 },