Mercurial > mplayer.hg
diff libmpdemux/tv.h @ 2941:60c1b7c0ea21
added support for norm=,chanlist=,channel= and also on-the-fly channel chaning with keys
author | alex |
---|---|
date | Sat, 17 Nov 2001 00:23:48 +0000 |
parents | 4307478ad922 |
children | bd7bff4cb453 |
line wrap: on
line diff
--- a/libmpdemux/tv.h Fri Nov 16 23:17:52 2001 +0000 +++ b/libmpdemux/tv.h Sat Nov 17 00:23:48 2001 +0000 @@ -1,3 +1,5 @@ +#ifndef TV_H +#define TV_H extern int tv_param_on; @@ -9,6 +11,7 @@ extern char *tv_param_freq; extern char *tv_param_channel; +extern char *tv_param_chanlist; extern char *tv_param_norm; extern char *tv_param_device; extern char *tv_param_driver; @@ -48,6 +51,12 @@ void *priv; tvi_param_t *params; int seq; + + /* specific */ + int norm; + int chanlist; + struct CHANLIST *chanlist_s; + int channel; } tvi_handle_t; @@ -111,10 +120,23 @@ extern int tv_init(tvi_handle_t *tvh); extern int tv_uninit(tvi_handle_t *tvh); - +int tv_set_color_options(tvi_handle_t *tvh, int opt, int val); #define TV_COLOR_BRIGHTNESS 1 #define TV_COLOR_HUE 2 #define TV_COLOR_SATURATION 3 #define TV_COLOR_CONTRAST 4 +int tv_step_channel(tvi_handle_t *tvh, int direction); +#define TV_CHANNEL_LOWER 1 +#define TV_CHANNEL_HIGHER 2 + +int tv_step_norm(tvi_handle_t *tvh); +int tv_step_chanlist(tvi_handle_t *tvh); + +#define TV_NORM_PAL 1 +#define TV_NORM_NTSC 2 +#define TV_NORM_SECAM 3 + #endif /* USE_TV */ + +#endif /* TV_H */