From 3947820f6ef84f5c0d155567e40d4fda6e4e0dda Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 22 Jul 2010 22:09:28 +0200 Subject: Add support for the V4L2_PIX_FMT_Y16 format Signed-off-by: Laurent Pinchart --- yavta.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3