diff options
author | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-06-14 09:32:04 +0200 |
---|---|---|
committer | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-06-14 09:32:04 +0200 |
commit | 6fec72e6a1cf47b8911090b29f5026267dad33cc (patch) | |
tree | 7a24cbcc56198a528036a06b753e7aa25b827f60 /linux/include | |
parent | 5a703518d6e338eb150ada6b8af5d1f4e0319b1e (diff) | |
download | mediapointer-dvb-s2-6fec72e6a1cf47b8911090b29f5026267dad33cc.tar.gz mediapointer-dvb-s2-6fec72e6a1cf47b8911090b29f5026267dad33cc.tar.bz2 |
gspca-ov519: add extra controls
From: Hans de Goede <hdegoede@redhat.com>
This patch adds autobrightness (so that it can
be turned off to make the already present brightness
control work) and light frequency filtering controls.
The lightfreq control needed 2 different entries
in the ctrls array, as the number of options differs
depending on the sensor. Always one of the 2 entires is
disabled ofcourse.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/videodev2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index a018bb458..f6d8eeaa6 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -894,9 +894,10 @@ enum v4l2_colorfx { V4L2_COLORFX_BW = 1, V4L2_COLORFX_SEPIA = 2, }; +#define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32) /* last CID + 1 */ -#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) +#define V4L2_CID_LASTP1 (V4L2_CID_BASE+33) /* MPEG-class control IDs defined by V4L2 */ #define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) |