Commit Graph

105 Commits

Author SHA1 Message Date
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
rfelker df48e121b0 strides should always be signed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14797 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 17:08:54 +00:00
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
faust3 f4ea8c729f use aspect code when used with vidix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13481 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-26 15:10:47 +00:00
faust3 9db0e66a3b 10l query format at least when used with vidix, disable colorkeying with vidix, should fix #38 and #33
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12927 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-01 11:17:27 +00:00
alex 0ded89d5b5 neomagic tv out support throught vesa vbe, patch by Rudolf Marek
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12661 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 17:29:18 +00:00
diego 6445f83deb occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11679 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-24 22:00:51 +00:00
alex 81b3617039 Some more vidix crap - vidix equalizer passthrough. Patch by Oleg I. Vdovikin <vdovikin@jscc.ru>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11566 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-12-07 15:08:20 +00:00
alex 836d219075 fixed -nocolorkey
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11217 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 13:22:00 +00:00
alex a34978c3a7 Colorkeying can be disabled. Fbdev, svga and vesa vidix colorkeying support
by Jake Page <jake@CS.Stanford.EDU>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11159 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-17 09:08:37 +00:00
alex 1450231f23 remove exit_player and exit references
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10735 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 18:33:02 +00:00
michael 5eda57a19b 10l (red <-> blue) fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10405 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-09 19:05:16 +00:00
michael 5b882e5130 vf_scale.h & related cleanup & some small warning fix by dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-01 21:59:29 +00:00
alex 3baee8608e 10l fix by Aurelien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9959 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-21 16:59:10 +00:00
alex a3eaf74b6f multiple init fix by Aurelien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9884 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-08 18:05:41 +00:00
ranma e6136f255d Only write title if verbose>0.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9715 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-28 10:08:55 +00:00
alex 214d90e431 multiple preinit support -- cleaning vidix_name between the multiple preinits. Patch by Aurlien JACOBS <aurel@gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9633 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-21 16:32:53 +00:00
michael 41b847f6a8 sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-23 22:05:55 +00:00
arpi 7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
arpi 6df2ca6ea6 hopefully better uninit check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9171 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-29 23:28:55 +00:00
filon 7f430583b5 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8793 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 11:30:39 +00:00
filon e3bce499be Check if we can open /dev/mem in preinit(), so we can exit cleanly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8792 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-05 11:24:13 +00:00
filon 43b0b8d4bf Not checking it caused SIGSEV when uninitning after vesa init failed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8787 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 22:41:52 +00:00
arpi 574fe480e3 Juste a trivial patch for vesa output. The screen were cleaned at init
for "stupid BIOSes", but just the first buffer. So when using -double
option I got flicker with such a stupid BIOS...
patch by Aurelien JACOBS <aurel@gnuage.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8653 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-29 23:35:30 +00:00
alex 6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
arpi 2e6a5de629 draw_slice() seems to support all csp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7691 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-09 23:13:47 +00:00
arpi 7147ea6aa6 a small fix for vo_vesa, when calling set_refresh, when -nofs used.
patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7651 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-07 11:26:20 +00:00
arpi 36abc4832b It prevents mode change when Hsync out of range.
Supports non-countinous Hsync freq spec.

patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7361 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-10 20:41:13 +00:00
alex 64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
arpi 4ae1571dda 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
2002-08-22 23:03:51 +00:00
arpi 94d68eb455 10l bug - noticed by Emiel Neggers <emiel@neggers.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7026 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-16 22:23:50 +00:00
atmos4 91802c2ac5 Disable OSD outside movie, because it's not redrawn currently, user can use -vop expand to get osd outisde movie.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6826 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-27 22:10:58 +00:00
alex e9e10be568 removed screenshot thingie - it will be moved to video filter layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6204 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-27 15:45:02 +00:00
arpi 40e94d7385 VFCAP added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-11 21:07:00 +00:00
nick 46d2afb149 Change order of vo_function calls (Although it doesn't matter for now).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4747 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-17 17:18:05 +00:00
nick d14af0326d Screenshot on the fly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4740 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-17 10:21:00 +00:00
atmos4 e403e9fe9c add vsync support for doublebuffering to vo_vesa
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4668 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-12 15:06:04 +00:00
nick 2a2ecab5b9 Make code simple. Use swScaler even for fastmemcpy purposes :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4602 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 10:24:44 +00:00
arpi 4b33dccb25 10000hl to Holm... control MUST BE static...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 01:21:48 +00:00
arpi 7c51652a1b query_ stuff replaced by new control() - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 00:47:26 +00:00
nick f63a3c7339 Configurable OSD zones
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4573 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-07 19:37:09 +00:00
michael 7bfa2fa275 swScale internally uses yuv2rgb now if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 20:52:14 +00:00
nick d9cd7968bf Correct vesa shutdown on 'config playback' errors
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4549 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 16:41:41 +00:00
nick 3eda811f0d Support of scaling with every fourcc
(include patch of Michael Niedermayer <michaelni@gmx.at>)
Now (*swScale)() is used as BES by functionality.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4538 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-05 16:43:18 +00:00
nick c4d519e193 code cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4494 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 09:12:32 +00:00
nick 9bf9892bd3 Use new tune info
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4435 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 10:23:39 +00:00
nick b587a3d642 new info for tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 09:57:13 +00:00
nick 6b615c2be3 preinit usage
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4363 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 19:12:49 +00:00
nick fa1d5742bc Extensions for video accelerated architecture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 16:01:26 +00:00
alex 576095dfb9 added vidix_start() and vidix_stop() for better runtime-resize support ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4199 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-16 15:22:45 +00:00