diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-20 15:34:43 -0600 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-20 15:34:43 -0600 |
commit | a341145919a0d3bf91e657926a06bebca10a94ba (patch) | |
tree | 7ea0b240dd39132663eafbaca11b6dc54fc2cc94 | |
parent | 7c429cdbe8e7fa93d0c24d10749fe2a2bdd5e524 (diff) | |
download | mediapointer-dvb-s2-a341145919a0d3bf91e657926a06bebca10a94ba.tar.gz mediapointer-dvb-s2-a341145919a0d3bf91e657926a06bebca10a94ba.tar.bz2 |
V4L2: Add COLORFX user control
From: Sergio Aguirre <saaguirre@ti.com>
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>
-rw-r--r-- | linux/include/linux/videodev2.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index e5be28ac6..6969c3086 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -880,8 +880,15 @@ enum v4l2_power_line_frequency { #define V4L2_CID_BACKLIGHT_COMPENSATION (V4L2_CID_BASE+28) #define V4L2_CID_CHROMA_AGC (V4L2_CID_BASE+29) #define V4L2_CID_COLOR_KILLER (V4L2_CID_BASE+30) +#define V4L2_CID_COLORFX (V4L2_CID_BASE+31) +enum v4l2_colorfx { + V4L2_COLORFX_NONE = 0, + V4L2_COLORFX_BW = 1, + V4L2_COLORFX_SEPIA = 2, +}; + /* last CID + 1 */ -#define V4L2_CID_LASTP1 (V4L2_CID_BASE+31) +#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) /* MPEG-class control IDs defined by V4L2 */ #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) |