diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-10-18 17:26:47 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-10-18 17:26:47 +0200 |
commit | ac78d9b2a6ad59c839beee937580024a04b1f77e (patch) | |
tree | ec7e542183ae4259fa16d8475ce6fa5ebe4f7e00 /linux | |
parent | ca1216c6fdfe83552ac10d39f6f1cce0a061636c (diff) | |
download | mediapointer-dvb-s2-ac78d9b2a6ad59c839beee937580024a04b1f77e.tar.gz mediapointer-dvb-s2-ac78d9b2a6ad59c839beee937580024a04b1f77e.tar.bz2 |
v4l2: Add 10-bit RAW Bayer formats
From: Sergio Aguirre <saaguirre@ti.com>
Add 10-bit raw bayer format expanded to 16 bits. Adds also definition
for 10-bit raw bayer format dpcm-compressed to 8 bits.
Priority: normal
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/include/linux/videodev2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index 63b2787e6..d633a786d 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -315,6 +315,13 @@ struct v4l2_pix_format { /* see http://www.siliconimaging.com/RGB%20Bayer.htm */ #define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */ #define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */ +/* + * 10bit raw bayer, expanded to 16 bits + * xxxxrrrrrrrrrrxxxxgggggggggg xxxxggggggggggxxxxbbbbbbbbbb... + */ +#define V4L2_PIX_FMT_SGRBG10 v4l2_fourcc('B', 'A', '1', '0') +/* 10bit raw bayer DPCM compressed to 8 bits */ +#define V4L2_PIX_FMT_SGRBG10DPCM8 v4l2_fourcc('B', 'D', '1', '0') #define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */ /* compressed formats */ |