diff options
author | Martin Hostettler <martin@neutronstar.dyndns.org> | 2011-01-21 01:14:47 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-01-23 01:49:55 +0100 |
commit | 71ffd6bf71632a034081e245152912570689f954 (patch) | |
tree | 15e053047a2617be089bf2a6050745b16469e998 | |
parent | c494ceac5bccb80fb7bca7a81d3c719744a55371 (diff) |
Add support for GREY/Y8 format
-rw-r--r-- | yavta.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1046,6 +1046,8 @@ int main(int argc, char *argv[]) pixelformat = V4L2_PIX_FMT_UYVY; else if (strcasecmp(optarg, "Y16") == 0) pixelformat = V4L2_PIX_FMT_Y16; + else if (strcasecmp(optarg, "Y8") == 0) + pixelformat = V4L2_PIX_FMT_GREY; else if (strcasecmp(optarg, "SGRBG10_DPMC8") == 0) pixelformat = V4L2_PIX_FMT_SGRBG10DPCM8; else if (strcasecmp(optarg, "SGRBG10") == 0) |