summaryrefslogtreecommitdiffstats
path: root/libmpdemux/tv.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-16 22:59:07 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-16 22:59:07 +0000
commitc451b1fe262fe39515f14ce82f2a590004e96d34 (patch)
treed58328865d1561891e51749c705e1ebd816c6674 /libmpdemux/tv.h
parent1e50777fb8e235375783868c223b466ca9e39e1b (diff)
downloadmpv-c451b1fe262fe39515f14ce82f2a590004e96d34.tar.bz2
mpv-c451b1fe262fe39515f14ce82f2a590004e96d34.tar.xz
added support for setting color values
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2938 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/tv.h')
-rw-r--r--libmpdemux/tv.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libmpdemux/tv.h b/libmpdemux/tv.h
index f87fca9390..972a790f33 100644
--- a/libmpdemux/tv.h
+++ b/libmpdemux/tv.h
@@ -78,6 +78,16 @@ typedef struct tvi_handle_s {
#define TVI_CONTROL_VID_GET_HEIGHT 0x112
#define TVI_CONTROL_VID_CHK_HEIGHT 0x113
#define TVI_CONTROL_VID_SET_HEIGHT 0x114
+#define TVI_CONTROL_VID_GET_BRIGHTNESS 0x115
+#define TVI_CONTROL_VID_SET_BRIGHTNESS 0x116
+#define TVI_CONTROL_VID_GET_HUE 0x117
+#define TVI_CONTROL_VID_SET_HUE 0x118
+#define TVI_CONTROL_VID_GET_SATURATION 0x119
+#define TVI_CONTROL_VID_SET_SATURATION 0x11a
+#define TVI_CONTROL_VID_GET_CONTRAST 0x11b
+#define TVI_CONTROL_VID_SET_CONTRAST 0x11c
+#define TVI_CONTROL_VID_GET_PICTURE 0x11d
+#define TVI_CONTROL_VID_SET_PICTURE 0x11e
/* TUNER controls */
#define TVI_CONTROL_TUN_GET_FREQ 0x201
@@ -101,4 +111,10 @@ extern tvi_handle_t *tv_begin(void);
extern int tv_init(tvi_handle_t *tvh);
extern int tv_uninit(tvi_handle_t *tvh);
+
+#define TV_COLOR_BRIGHTNESS 1
+#define TV_COLOR_HUE 2
+#define TV_COLOR_SATURATION 3
+#define TV_COLOR_CONTRAST 4
+
#endif /* USE_TV */