summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jones <michael.jones@matrix-vision.de>2011-06-21 09:39:16 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-06-21 10:19:46 +0200
commit0a0e7fbd3fc554e6ea213abd8b7a191714c7ef66 (patch)
tree3c1b80e46f51586cc253ffbf6772ab1a76f2d1d6
parenta183835abdefb8e40650fc9eb22e2d291aac9883 (diff)
Add Y10, Y12 formats
Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 35c34a2..b9b9150 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,6 +50,8 @@ static struct {
enum v4l2_mbus_pixelcode code;
} mbus_formats[] = {
{ "Y8", V4L2_MBUS_FMT_Y8_1X8},
+ { "Y10", V4L2_MBUS_FMT_Y10_1X10 },
+ { "Y12", V4L2_MBUS_FMT_Y12_1X12 },
{ "YUYV", V4L2_MBUS_FMT_YUYV8_1X16 },
{ "UYVY", V4L2_MBUS_FMT_UYVY8_1X16 },
{ "SBGGR8", V4L2_MBUS_FMT_SBGGR8_1X8 },