1
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 21:07:29 +01:00
mpv/libvo
faust3 1addcfe22b Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get
a simple 32 bits protected mode interface to some VESA functions. This
protected mode interface is interesting because it's quicker than the
raw int 10h interface.
Unfortunatly, begining with VBE 3.0, the 0x4f0a function is optional,
and some video cards don't implement it (3dfx, intel 845/855/865...).
This protected mode interface is then only used in vbeSetWindow and
vbeSetDisplayStart :
 - vbeSetWindow already implement an alternative methode if protected
mode interface is not available.
 - vbeSetDisplayStart also contain an alternative implementation, but
this one is disabled with a #if 0. I don't exactly know why because
it works well !

So currently, cards which don't have the 0x4f0a function are not
supported. This patch correct this.
 - vbeGetProtModeInfo failure is not fatal.
 - vbeSetDisplayStart has it's alternative implementation reenabled.
   it's used only with cards which don't have the 0x4f0a function
   so this won't make any difference for cards which were already
   working.

This patch also make the failure of vbeGetModeInfo not fatal. The
VBE 3.0 standard state that GetModeInfo can fail with some mode
which are listed as supported if the mode can't be used in the
current situation (not enough video memory for example). So a
failure of vbeGetModeInfo don't mean that other modes won't work
and should really not be fatal.

patch by Aurelien Jacobs <aurel@gnuage.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13569 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 08:42:13 +00:00
..
.cvsignore sorry, config2.mak is not up-to-date 2001-11-25 17:47:48 +00:00
aclib_template.c removed nonsense 'inline' 2002-08-22 23:28:33 +00:00
aclib.c Unify the config.h #include, use "config.h" instead of "../config.h" 2004-06-25 16:58:45 +00:00
aspect.c fix aspect hack 2003-10-15 15:17:09 +00:00
aspect.h added panscan support for xmga/xvidix 2002-06-05 19:35:54 +00:00
aspecttest.c Fix a bug in the aspect coden (roudning at wrong point) and allow donwscaling in second pass. 2002-05-14 00:22:03 +00:00
fastmemcpy.h 10l 2004-06-25 18:20:45 +00:00
font_load_ft.c 100l 2003-12-08 13:30:30 +00:00
font_load.c avoid using corrupted font descriptions patch by Daniel von Dincklage <danielvd+mpl@cs.colorado.edu> 2004-07-11 12:42:19 +00:00
font_load.h freetype build fix 2003-11-20 16:25:40 +00:00
geometry.c dont mess with the window position in xinerama when -geometry changes it. 2004-02-24 21:09:21 +00:00
geometry.h dont mess with the window position in xinerama when -geometry changes it. 2004-02-24 21:09:21 +00:00
gtf.c General Timing Formula algorithm from a scratch. 2002-08-22 23:03:51 +00:00
gtf.h linux->osdep 2003-02-09 20:18:23 +00:00
img_format.h mp_image.h and img_format.h moved to libmpcodecs 2002-04-13 19:14:34 +00:00
jpeg_enc.c fixing segfault: libavcodec doesn't allocate some buffers if avctx->thread_count == 0 2004-02-16 14:41:42 +00:00
jpeg_enc.h sync with libavcodec for unaccellerated dcts (sorry Felix, LIBAVCODEC_BUILD did not change, so also no backwards compatibility this time), and a long overdue copyright update 2002-10-24 21:27:50 +00:00
Makefile Removal of vo_pgm and vo_md5, because they have been replaced by vo_pnm 2004-09-29 01:46:30 +00:00
md5sum.c New MD5 sum video output driver. For every frame, it calculates the MD5 sum 2004-09-20 01:01:08 +00:00
md5sum.h changed include of stdint.h to inttypes.h 2004-09-27 22:11:37 +00:00
mga_common.c removed unused headeer dependencies 2004-01-28 10:03:40 +00:00
osd_font.h OSD volume symbol fixed :) 2003-01-26 16:36:06 +00:00
osd_template.c draw alpha for uyvy 2004-05-31 15:13:35 +00:00
osd.c draw alpha for uyvy 2004-05-31 15:13:35 +00:00
osd.h draw alpha for uyvy 2004-05-31 15:13:35 +00:00
spuenc.c tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug 2002-09-22 02:33:28 +00:00
spuenc.h fix silly shorthand that could cause trouble porting 2002-07-31 05:23:09 +00:00
sub.c This time is a patch to improve subtitle alignment management. It 2004-09-15 13:16:52 +00:00
sub.h many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
vesa_lvo.c removed query_vaa 2002-07-26 12:42:43 +00:00
vesa_lvo.h fix not matching prototype, patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>; remove ^M 2004-09-15 14:19:41 +00:00
video_out_internal.h removed get_info, using the same sheme as in libmpcodecs instead 2002-11-11 15:22:10 +00:00
video_out.c move the file writers after vo_null so they don't get autoselected - following the same logic as in libao2 2004-10-04 19:36:12 +00:00
video_out.h added runtime toggle of root window playback 2004-08-22 19:01:56 +00:00
videodev_mjpeg.h this file obsoletes zoran.h and contains the Recommended interface definition for zr devices 2002-02-12 15:59:32 +00:00
vo_3dfx.c Removed superfluous XFlush calls before XSync. 2004-08-20 09:41:13 +00:00
vo_aa.c 100l to albeu for his english grammar, and 10l to me becouse I noticed that lately (my backward compatibilty macro uses M_OPT_UNKNOWN) 2003-08-13 16:45:02 +00:00
vo_bl.c --Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>: 2004-08-11 13:39:32 +00:00
vo_caca.c libcaca video output driver by Howell Tam 2004-04-06 00:04:48 +00:00
vo_cvidix.c center the image when screenw & height are set 2004-09-17 09:56:09 +00:00
vo_dfbmga.c Fixed [no]input suboptions. 2004-09-25 13:46:21 +00:00
vo_dga.c major reindentation of x11 code try #2 2004-06-14 04:53:03 +00:00
vo_directfb2.c cut and paste typo fixed 2004-02-21 08:21:42 +00:00
vo_directfb.c many small typo and grammar fixes 2003-10-04 17:29:08 +00:00
vo_directx.c 100l 2004-09-22 16:26:53 +00:00
vo_dxr2.c runtime 'stay-on-top' functionality 2003-11-30 16:36:10 +00:00
vo_dxr3.c Removed superfluous XFlush calls before XSync. 2004-08-20 09:41:13 +00:00
vo_fbdev2.c linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr> 2004-01-10 09:48:15 +00:00
vo_fbdev.c linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr> 2004-01-10 09:48:15 +00:00
vo_ggi.c Unify the config.h #include, use "config.h" instead of "../config.h" 2004-06-25 16:58:45 +00:00
vo_gif89a.c removed unused headeer dependencies 2004-01-28 10:03:40 +00:00
vo_gl2.c fixed memleak, especially for fixed-vo. 2004-10-03 21:42:31 +00:00
vo_gl.c improved suboption parsing, fixes also compiler warnings 2004-09-03 12:12:17 +00:00
vo_jpeg.c mingw compile fix 2004-09-15 15:17:06 +00:00
vo_md5sum.c New MD5 sum video output driver. For every frame, it calculates the MD5 sum 2004-09-20 01:01:08 +00:00
vo_mga.c linux 2.6 patch by "ismail 'cartman' dönmez" <ismail.donmez@boun.edu.tr> 2004-01-10 09:48:15 +00:00
vo_mpegpes.c user can select dvb card number to use (V3 api only) 2004-08-19 09:51:07 +00:00
vo_null.c removed get_info, using the same sheme as in libmpcodecs instead 2002-11-11 15:22:10 +00:00
vo_png.c embarassing typo 2004-07-19 23:11:06 +00:00
vo_pnm.c New generic 'portable anymap' video output driver. It supports portable 2004-09-20 00:54:57 +00:00
vo_quartz.c add rgb32 csp support 2004-08-24 20:42:27 +00:00
vo_quartz.h Copyright notice added back. 2004-04-27 14:15:17 +00:00
vo_sdl.c fix for xscreensaver disabling 2004-07-09 18:59:55 +00:00
vo_svga.c Some more vidix crap - vidix equalizer passthrough. Patch by Oleg I. Vdovikin <vdovikin@jscc.ru> 2003-12-07 15:08:20 +00:00
vo_syncfb.c removed get_info, using the same sheme as in libmpcodecs instead 2002-11-11 15:22:10 +00:00
vo_tdfx_vid.c vo_xover is a new vo that should make easy to have x11 support for 2003-03-12 15:04:05 +00:00
vo_tdfxfb.c -vop ---> -vf 2003-10-25 18:44:41 +00:00
vo_tga.c Fix for big endian systems 2004-06-12 17:37:47 +00:00
vo_vesa.c Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get 2004-10-06 08:42:13 +00:00
vo_winvidix.c name change 2004-07-19 23:19:50 +00:00
vo_x11.c Removed superfluous XFlush calls before XSync. 2004-08-20 09:41:13 +00:00
vo_xmga.c Removed superfluous XFlush calls before XSync. 2004-08-20 09:41:13 +00:00
vo_xover.c Removed superfluous XFlush calls before XSync. 2004-08-20 09:41:13 +00:00
vo_xv.c We don't need to support the old nvidia binary driver bug any longer. 2004-09-03 20:22:22 +00:00
vo_xvidix.c Removed superfluous XFlush calls before XSync. 2004-08-20 09:41:13 +00:00
vo_xvmc.c prevent XFree execution on wrong condition 2004-08-23 09:52:25 +00:00
vo_yuv4mpeg.c printf --> mp_msg transition in vo_yuv4mpeg 2004-09-25 16:10:55 +00:00
vo_zr2.c message fix 2003-12-19 22:04:13 +00:00
vo_zr.c proper fix for 'some chipsets can't handle buffers > 128kB', vo_zr used 2003-11-03 17:38:50 +00:00
vosub_vidix.c removed unused headeer dependencies 2004-01-28 10:03:40 +00:00
vosub_vidix.h Change conflicting function declaration between .c and .h file, causing a 2003-11-07 15:12:29 +00:00
w32_common.c applied old patch that was missing an include... 2004-08-02 15:02:35 +00:00
w32_common.h runtime 'stay-on-top' functionality 2003-11-30 16:36:10 +00:00
wskeys.h Support binding F11 and F12 keys to commands. 2004-01-16 17:31:38 +00:00
x11_common.c now use vo_rootwin var to check for -rootwin switch 2004-08-08 23:22:29 +00:00
x11_common.h now use vo_rootwin var to check for -rootwin switch 2004-08-08 23:22:29 +00:00