diff mbox

[1/2] add Y10, Y12 formats

Message ID 1308641957-7805-2-git-send-email-michael.jones@matrix-vision.de (mailing list archive)
State Not Applicable
Headers show

Commit Message

Michael Jones June 21, 2011, 7:39 a.m. UTC
Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
---

I added these when playing around with the shifter.

 src/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

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 },