summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-07-22 22:09:28 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-07-22 22:09:28 +0200
commit3947820f6ef84f5c0d155567e40d4fda6e4e0dda (patch)
treeb785118885f45cdf35d2b5a1a927c0e70fecd56d
parent9b6e35f3737fee3c6893fb290a7e9e0f2fd3c88b (diff)
Add support for the V4L2_PIX_FMT_Y16 format
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index cd65425..ebb94b8 100644
--- a/yavta.c
+++ b/yavta.c
@@ -953,6 +953,8 @@ int main(int argc, char *argv[])
pixelformat = V4L2_PIX_FMT_YUYV;
else if (strcasecmp(optarg, "UYVY") == 0)
pixelformat = V4L2_PIX_FMT_UYVY;
+ else if (strcasecmp(optarg, "Y16") == 0)
+ pixelformat = V4L2_PIX_FMT_Y16;
else if (strcasecmp(optarg, "SGRBG10") == 0)
pixelformat = V4L2_PIX_FMT_SGRBG10;
else if (strcasecmp(optarg, "DV") == 0)