aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2010-03-11 19:27:59 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-17 23:50:16 -0400
commit7a01f6dbc7abb85a6ec048dd45db92ef1b91fe78 (patch)
treee851423ecb63c95e326f45707fce8852641379e9 /include/linux/videodev2.h
parentfea551fae99c79f43e519cf53e35462ff5ce2a03 (diff)
V4L/DVB: videodev2: introduce a common control for chroma gain
Introduce a new control for modifying the chroma gain. This allows for user intervention in abnormal signal conditions cases where the decoder's chroma AGC cannot compensate and the value needs to be adjusted manually. This work was sponsored by EyeMagnet Limited. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index 3c265603d735..418dacf5261d 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -1030,8 +1030,11 @@ enum v4l2_colorfx {
1030 1030
1031#define V4L2_CID_ROTATE (V4L2_CID_BASE+34) 1031#define V4L2_CID_ROTATE (V4L2_CID_BASE+34)
1032#define V4L2_CID_BG_COLOR (V4L2_CID_BASE+35) 1032#define V4L2_CID_BG_COLOR (V4L2_CID_BASE+35)
1033
1034#define V4L2_CID_CHROMA_GAIN (V4L2_CID_BASE+36)
1035
1033/* last CID + 1 */ 1036/* last CID + 1 */
1034#define V4L2_CID_LASTP1 (V4L2_CID_BASE+36) 1037#define V4L2_CID_LASTP1 (V4L2_CID_BASE+37)
1035 1038
1036/* MPEG-class control IDs defined by V4L2 */ 1039/* MPEG-class control IDs defined by V4L2 */
1037#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) 1040#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)