summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-06-25 14:45:41 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-06-25 14:45:41 +0200
commit7a2b8b682ecb987a7762ef2adc57a3073fcb0ba1 (patch)
tree130137b93106e30a41dc73bb9e8eb5e75255a1ff
parentff770742c18f277080cd754eee48ae67aa8015b5 (diff)
Add support for VYUY and YVYU formats
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/yavta.c b/yavta.c
index b4d1df6..2e9561c 100644
--- a/yavta.c
+++ b/yavta.c
@@ -118,8 +118,10 @@ static struct {
{ "Y10", V4L2_PIX_FMT_Y10 },
{ "Y12", V4L2_PIX_FMT_Y12 },
{ "Y16", V4L2_PIX_FMT_Y16 },
- { "YUYV", V4L2_PIX_FMT_YUYV },
{ "UYVY", V4L2_PIX_FMT_UYVY },
+ { "VYUY", V4L2_PIX_FMT_VYUY },
+ { "YUYV", V4L2_PIX_FMT_YUYV },
+ { "YVYU", V4L2_PIX_FMT_YVYU },
{ "NV12", V4L2_PIX_FMT_NV12 },
{ "NV21", V4L2_PIX_FMT_NV21 },
{ "NV16", V4L2_PIX_FMT_NV16 },