diff options
author | Sergio Aguirre <saaguirre@ti.com> | 2009-01-20 16:34:43 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:48 -0400 |
commit | 2c32cc0c1f54d62c7e9ab81d1c1a3aa5b9efd73d (patch) | |
tree | d5fa1fbea3429e57bbd0169e198a19c0aaf6ff21 /include/linux/videodev2.h | |
parent | 314893605e07547c372ebc6187e28c784ce0b1ed (diff) |
V4L/DVB (10575): V4L2: Add COLORFX user control
This is a common feature on many cameras. the options are:
Default colors,
B & W,
Sepia
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 74aea975b305..c64e76a087b4 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
@@ -880,8 +880,15 @@ enum v4l2_power_line_frequency { | |||
880 | #define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28) | 880 | #define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28) |
881 | #define V4L2_CID_CHROMA_AGC (V4L2_CID_BASE+29) | 881 | #define V4L2_CID_CHROMA_AGC (V4L2_CID_BASE+29) |
882 | #define V4L2_CID_COLOR_KILLER (V4L2_CID_BASE+30) | 882 | #define V4L2_CID_COLOR_KILLER (V4L2_CID_BASE+30) |
883 | #define V4L2_CID_COLORFX (V4L2_CID_BASE+31) | ||
884 | enum v4l2_colorfx { | ||
885 | V4L2_COLORFX_NONE = 0, | ||
886 | V4L2_COLORFX_BW = 1, | ||
887 | V4L2_COLORFX_SEPIA = 2, | ||
888 | }; | ||
889 | |||
883 | /* last CID + 1 */ | 890 | /* last CID + 1 */ |
884 | #define V4L2_CID_LASTP1 (V4L2_CID_BASE+31) | 891 | #define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) |
885 | 892 | ||
886 | /* MPEG-class control IDs defined by V4L2 */ | 893 | /* MPEG-class control IDs defined by V4L2 */ |
887 | #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) | 894 | #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) |