Mercurial > mplayer.hg
diff libvo/video_out.h @ 7069:21e1ab99cb21
General Timing Formula algorithm from a scratch.
vo_vesa.c so now adjust the timing to highest possible refresh rate using
the monitor capabilities from a config file.
patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
author | arpi |
---|---|
date | Thu, 22 Aug 2002 23:03:51 +0000 |
parents | 98bed9e12087 |
children | eca7dbad0166 |
line wrap: on
line diff
--- a/libvo/video_out.h Thu Aug 22 21:30:31 2002 +0000 +++ b/libvo/video_out.h Thu Aug 22 23:03:51 2002 +0000 @@ -241,4 +241,20 @@ extern char *vo_subdevice; +#if defined(HAVE_FBDEV)||defined(HAVE_VESA) + +typedef struct { + float min; + float max; + } range_t; + +extern float range_max(range_t *r); +extern int in_range(range_t *r, float f); +extern range_t *str2range(char *s); +extern char *monitor_hfreq_str; +extern char *monitor_vfreq_str; +extern char *monitor_dotclock_str; + +#endif + #endif