From fdb78c2bea9e2e3bb2b5e01c6c3564dadbf83aba Mon Sep 17 00:00:00 2001 From: voroshil Date: Tue, 18 Sep 2007 16:28:39 +0000 Subject: 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 --- stream/tv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stream/tv.h') 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 -- cgit v1.2.3