diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-05 00:59:37 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-05 00:59:37 +0000 |
commit | 38b18774cf9f1daa3a6e09a3767ce537997f6f73 (patch) | |
tree | deb056d8f4638426fa3491f1475371cd21aa5590 | |
parent | b70eee9801232db6be8154361c3c5dcc72ad48a4 (diff) | |
download | mediapointer-dvb-s2-38b18774cf9f1daa3a6e09a3767ce537997f6f73.tar.gz mediapointer-dvb-s2-38b18774cf9f1daa3a6e09a3767ce537997f6f73.tar.bz2 |
Add new pixel format VYUY 16 bits wide.
From: Robert Jarzmik <robert.jarzmik@free.fr>
There were already 3 YUV formats defined :
- YUYV
- YVYU
- UYVY
The only left combination is VYUY, which is added in this
patch.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | linux/include/linux/videodev2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index d633a786d..00e539e8f 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -293,6 +293,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_YVU420 v4l2_fourcc('Y', 'V', '1', '2') /* 12 YVU 4:2:0 */ #define V4L2_PIX_FMT_YUYV v4l2_fourcc('Y', 'U', 'Y', 'V') /* 16 YUV 4:2:2 */ #define V4L2_PIX_FMT_UYVY v4l2_fourcc('U', 'Y', 'V', 'Y') /* 16 YUV 4:2:2 */ +#define V4L2_PIX_FMT_VYUY v4l2_fourcc('V', 'Y', 'U', 'Y') /* 16 YUV 4:2:2 */ #define V4L2_PIX_FMT_YUV422P v4l2_fourcc('4', '2', '2', 'P') /* 16 YVU422 planar */ #define V4L2_PIX_FMT_YUV411P v4l2_fourcc('4', '1', '1', 'P') /* 16 YVU411 planar */ #define V4L2_PIX_FMT_Y41P v4l2_fourcc('Y', '4', '1', 'P') /* 12 YUV 4:1:1 */ |