summaryrefslogtreecommitdiffstats
path: root/stream/tv.h
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-18 16:28:39 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-09-18 16:28:39 +0000
commitfdb78c2bea9e2e3bb2b5e01c6c3564dadbf83aba (patch)
tree57cd668f17b6558892f2febd8a95b0fdc4afb53c /stream/tv.h
parent04586de1ddc3ddbb52165b97c2262b65c9e41813 (diff)
downloadmpv-fdb78c2bea9e2e3bb2b5e01c6c3564dadbf83aba.tar.bz2
mpv-fdb78c2bea9e2e3bb2b5e01c6c3564dadbf83aba.tar.xz
Implement setting gain control for video devices (usually webcams)
in v4l2 tv:// driver. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24573 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.h')
-rw-r--r--stream/tv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/tv.h b/stream/tv.h
index 5e67ef96f6..ff04a901d3 100644
--- a/stream/tv.h
+++ b/stream/tv.h
@@ -47,6 +47,7 @@ typedef struct tv_param_s {
int contrast;
int hue;
int saturation;
+ int gain;
char *tdevice; ///< teletext device
int tformat; ///< teletext display format
int tpage; ///< start teletext page
@@ -151,6 +152,8 @@ typedef struct {
#define TVI_CONTROL_VID_SET_CONTRAST 0x11c
#define TVI_CONTROL_VID_GET_PICTURE 0x11d
#define TVI_CONTROL_VID_SET_PICTURE 0x11e
+#define TVI_CONTROL_VID_SET_GAIN 0x11f
+#define TVI_CONTROL_VID_GET_GAIN 0x120
/* TUNER controls */
#define TVI_CONTROL_TUN_GET_FREQ 0x201