diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-07-22 22:09:28 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-07-22 22:09:28 +0200 |
commit | 3947820f6ef84f5c0d155567e40d4fda6e4e0dda (patch) | |
tree | b785118885f45cdf35d2b5a1a927c0e70fecd56d /yavta.c | |
parent | 9b6e35f3737fee3c6893fb290a7e9e0f2fd3c88b (diff) |
Add support for the V4L2_PIX_FMT_Y16 format
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'yavta.c')
-rw-r--r-- | yavta.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |