From 7a2b8b682ecb987a7762ef2adc57a3073fcb0ba1 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 25 Jun 2013 14:45:41 +0200 Subject: Add support for VYUY and YVYU formats Signed-off-by: Laurent Pinchart --- yavta.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'yavta.c') 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 }, -- cgit v1.2.3