From 62827fa13a87cd38ecdfb6e7bc5ef1900939f7ea Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Lars=20H=C3=A4ring?= Date: Fri, 28 Mar 2008 17:33:10 +0100 Subject: [PATCH 1/5] Defined V4L2_PIX_FMT_VYUY format. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lars Häring --- include/linux/videodev2.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index ae9b24c..0bcb518 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -316,6 +316,9 @@ struct v4l2_pix_format #define V4L2_PIX_FMT_PWC2 v4l2_fourcc('P','W','C','2') /* pwc newer webcam */ #define V4L2_PIX_FMT_ET61X251 v4l2_fourcc('E','6','2','5') /* ET61X251 compression */ +/* Byte-swapped YUYV */ +#define V4L2_PIX_FMT_VYUY v4l2_fourcc('V','Y','U','Y') /* 16 YUV 4:2:2 */ +#define V4L2_PIX_FMT_YVYU v4l2_fourcc('Y','V','Y','U') /* 16 YUV 4:2:2 */ /* * F O R M A T E N U M E R A T I O N */ -- 1.5.4.4