aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-06-14 03:32:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-23 02:11:16 -0400
commit02ab18b0f497bed623814677577b76cc97234085 (patch)
tree4f110a6b30419cae8077546946cf221cfef5a8cb /include/linux/videodev2.h
parentb8bfb5fb348d939a96fc8f71996a2e5e48b4544b (diff)
V4L/DVB (12072): gspca-ov519: add extra controls
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. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index f24eceecc5a6..772d226cb5ca 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -894,9 +894,10 @@ enum v4l2_colorfx {
894 V4L2_COLORFX_BW = 1, 894 V4L2_COLORFX_BW = 1,
895 V4L2_COLORFX_SEPIA = 2, 895 V4L2_COLORFX_SEPIA = 2,
896}; 896};
897#define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32)
897 898
898/* last CID + 1 */ 899/* last CID + 1 */
899#define V4L2_CID_LASTP1 (V4L2_CID_BASE+32) 900#define V4L2_CID_LASTP1 (V4L2_CID_BASE+33)
900 901
901/* MPEG-class control IDs defined by V4L2 */ 902/* MPEG-class control IDs defined by V4L2 */
902#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900) 903#define V4L2_CID_MPEG_BASE (V4L2_CTRL_CLASS_MPEG | 0x900)