diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-24 14:26:43 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-24 14:26:43 +0200 |
commit | 7b3bc6a8a45954a235cdceccbd474d01e36468b4 (patch) | |
tree | bdf57334f11c2b3104108ccad61d0f6684276ce7 | |
parent | 04e2c76f8d845ee90c1e85ee6a170618b22ff933 (diff) | |
download | mediapointer-dvb-s2-7b3bc6a8a45954a235cdceccbd474d01e36468b4.tar.gz mediapointer-dvb-s2-7b3bc6a8a45954a235cdceccbd474d01e36468b4.tar.bz2 |
Add HM12 YUV format define.
From: Hans Verkuil <hverkuil@xs4all.nl>
HM12 is a YUV 4:1:1 format used by the cx2341x MPEG encoder/decoder for
the raw YUV input/output. The Y and UV planes are broken up in 16x16
macroblocks and each macroblock is transmitted in turn (row by row).
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-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 952fcd831..aea1ab1ef 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -245,6 +245,7 @@ struct v4l2_pix_format #define V4L2_PIX_FMT_YUV420 v4l2_fourcc('Y','U','1','2') /* 12 YUV 4:2:0 */ #define V4L2_PIX_FMT_YYUV v4l2_fourcc('Y','Y','U','V') /* 16 YUV 4:2:2 */ #define V4L2_PIX_FMT_HI240 v4l2_fourcc('H','I','2','4') /* 8 8-bit color */ +#define V4L2_PIX_FMT_HM12 v4l2_fourcc('H','M','1','2') /* 8 YUV 4:1:1 16x16 macroblocks */ /* see http://www.siliconimaging.com/RGB%20Bayer.htm */ #define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B','A','8','1') /* 8 BGBG.. GRGR.. */ |