From 4ae1571dda7f29737939a91445bef2885bd0ebea Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 22 Aug 2002 23:03:51 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7070 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/video_out.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'libvo/video_out.h') 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 -- cgit v1.2.3