diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-22 23:03:51 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-22 23:03:51 +0000 |
commit | 4ae1571dda7f29737939a91445bef2885bd0ebea (patch) | |
tree | 68fb4755bab37729823af59c011f06333cabd1e2 /libvo/video_out.h | |
parent | 0e6edc2840af15cd9d175219521627bbc94454b2 (diff) | |
download | mpv-4ae1571dda7f29737939a91445bef2885bd0ebea.tar.bz2 mpv-4ae1571dda7f29737939a91445bef2885bd0ebea.tar.xz |
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>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7070 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r-- | libvo/video_out.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h index aa60f7549e..c4bfb386af 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -241,4 +241,20 @@ extern float vo_fps; 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 |