Mercurial > mplayer.hg
comparison libmpdemux/tv.h @ 2937:4307478ad922
added support for setting color values
author | alex |
---|---|
date | Fri, 16 Nov 2001 22:59:07 +0000 |
parents | bce9c945b29c |
children | 60c1b7c0ea21 |
comparison
equal
deleted
inserted
replaced
2936:53d168c38d29 | 2937:4307478ad922 |
---|---|
76 #define TVI_CONTROL_VID_CHK_WIDTH 0x110 | 76 #define TVI_CONTROL_VID_CHK_WIDTH 0x110 |
77 #define TVI_CONTROL_VID_SET_WIDTH 0x111 | 77 #define TVI_CONTROL_VID_SET_WIDTH 0x111 |
78 #define TVI_CONTROL_VID_GET_HEIGHT 0x112 | 78 #define TVI_CONTROL_VID_GET_HEIGHT 0x112 |
79 #define TVI_CONTROL_VID_CHK_HEIGHT 0x113 | 79 #define TVI_CONTROL_VID_CHK_HEIGHT 0x113 |
80 #define TVI_CONTROL_VID_SET_HEIGHT 0x114 | 80 #define TVI_CONTROL_VID_SET_HEIGHT 0x114 |
81 #define TVI_CONTROL_VID_GET_BRIGHTNESS 0x115 | |
82 #define TVI_CONTROL_VID_SET_BRIGHTNESS 0x116 | |
83 #define TVI_CONTROL_VID_GET_HUE 0x117 | |
84 #define TVI_CONTROL_VID_SET_HUE 0x118 | |
85 #define TVI_CONTROL_VID_GET_SATURATION 0x119 | |
86 #define TVI_CONTROL_VID_SET_SATURATION 0x11a | |
87 #define TVI_CONTROL_VID_GET_CONTRAST 0x11b | |
88 #define TVI_CONTROL_VID_SET_CONTRAST 0x11c | |
89 #define TVI_CONTROL_VID_GET_PICTURE 0x11d | |
90 #define TVI_CONTROL_VID_SET_PICTURE 0x11e | |
81 | 91 |
82 /* TUNER controls */ | 92 /* TUNER controls */ |
83 #define TVI_CONTROL_TUN_GET_FREQ 0x201 | 93 #define TVI_CONTROL_TUN_GET_FREQ 0x201 |
84 #define TVI_CONTROL_TUN_SET_FREQ 0x202 | 94 #define TVI_CONTROL_TUN_SET_FREQ 0x202 |
85 #define TVI_CONTROL_TUN_GET_TUNER 0x203 /* update priv->tuner struct for used input */ | 95 #define TVI_CONTROL_TUN_GET_TUNER 0x203 /* update priv->tuner struct for used input */ |
99 | 109 |
100 extern tvi_handle_t *tv_begin(void); | 110 extern tvi_handle_t *tv_begin(void); |
101 extern int tv_init(tvi_handle_t *tvh); | 111 extern int tv_init(tvi_handle_t *tvh); |
102 extern int tv_uninit(tvi_handle_t *tvh); | 112 extern int tv_uninit(tvi_handle_t *tvh); |
103 | 113 |
114 | |
115 #define TV_COLOR_BRIGHTNESS 1 | |
116 #define TV_COLOR_HUE 2 | |
117 #define TV_COLOR_SATURATION 3 | |
118 #define TV_COLOR_CONTRAST 4 | |
119 | |
104 #endif /* USE_TV */ | 120 #endif /* USE_TV */ |