summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-11-26 16:25:25 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-11-26 16:25:25 +0100
commit975e8df380c2dd42dce644a056c326784c204f23 (patch)
treed6b7b609151f0fe5cfa9976b5964e80ee2a184c3 /yavta.c
parente8334746d4f89c5d38e07ae5090038f80871de2d (diff)
Add support for SGRBG10_DPCM8 format
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 6f4d0fe..17a4af2 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1049,6 +1049,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, "SGRBG10_DPMC8") == 0)
+ pixelformat = V4L2_PIX_FMT_SGRBG10DPCM8;
else if (strcasecmp(optarg, "SGRBG10") == 0)
pixelformat = V4L2_PIX_FMT_SGRBG10;
else if (strcasecmp(optarg, "DV") == 0)