summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vesa.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated sws_scale_ordered usages by sws_scale (which does the same).reimar2010-01-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30192 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-32/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use MP_MAX_PLANES as size for plane pointer/stride arrays in libvo.reimar2009-03-291-4/+4
| | | | | | | | This might avoid some issues since sws_scale in some cases assumes these have at least 4 valid entries. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-171-1/+1
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace casual GPL notices by proper license headers.diego2008-09-071-5/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove useless parentheses from from return statements.diego2008-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers, names starting with __ are reserved for the system.diego2008-01-271-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Relicense files written by Nick Kurshev and marked as "GPL v2" todiego2007-12-301-1/+1
| | | | | | | "GPL v2 or later" with permission from Nick. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern declarations, fixes the warnings:diego2007-12-301-4/+0
| | | | | | | | | | | | vo_vesa.c:55: warning: redundant redeclaration of #monitor_hfreq_str# video_out.h:252: warning: previous declaration of #monitor_hfreq_str# was here vo_vesa.c:56: warning: redundant redeclaration of #monitor_vfreq_str# video_out.h:253: warning: previous declaration of #monitor_vfreq_str# was here vo_vesa.c:57: warning: redundant redeclaration of #monitor_dotclock_str# video_out.h:254: warning: previous declaration of #monitor_dotclock_str# was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vo info structs constreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove video_out_png extern in vo_vesa (remains of ill-advisedreimar2007-12-021-4/+0
| | | | | | | vo-based screenshot function). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25242 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use fast_memcpy for small size copy, esp. when the size is constantreimar2007-06-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-4/+4
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* call vbeGetControllerInfo() only onceaurel2007-03-231-2/+4
| | | | | | | | Subsequent calls would fail with some video chip (including i945) when using -fixed-vo. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22785 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unkown --> unkNown typo.diego2007-03-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22483 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't fatal if saving vesa state failed (this always fails on qemu, with ↵ben2007-01-041-1/+0
| | | | | | this patch vesa now works under qemu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21818 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct include path for bswap.h, patch by Carl Eugen Hoyos, cehoyos ag.or.at.diego2006-12-011-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21408 b3059339-0415-0410-9bf9-f77b7e298cf2
* if double buffering is enabled, but vbeSetDisplayStart() fails, turn double ↵ben2006-08-251-1/+6
| | | | | | buffering off (also adds support for VESA output under VMware). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19537 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move postproc ---> libswscalelucabe2006-06-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18866 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename some misspelled and misnamed messages.diego2006-04-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18336 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part 5 and final of otvos attila's oattila AT chello-hu mp_msg changes, with ↵reynaldo2006-04-241-66/+64
| | | | | | lots of corrections git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-24/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make include paths consistent among files in libvo. Since -I.. is addeddiego2005-10-231-2/+2
| | | | | | | to the CFLAGS in the Makefile this should be safe. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16842 b3059339-0415-0410-9bf9-f77b7e298cf2
* use libvbe from vesautilsalex2005-08-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16257 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, patch found in geexboxalex2005-08-111-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-6/+6
| | | | | | | | return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's changed to int now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* strides should always be signedrfelker2005-02-241-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14797 b3059339-0415-0410-9bf9-f77b7e298cf2
* Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the getfaust32004-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* use aspect code when used with vidixfaust32004-09-261-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13481 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l query format at least when used with vidix, disable colorkeying with ↵faust32004-08-011-0/+5
| | | | | | vidix, should fix #38 and #33 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12927 b3059339-0415-0410-9bf9-f77b7e298cf2
* neomagic tv out support throught vesa vbe, patch by Rudolf Marekalex2004-06-251-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12661 b3059339-0415-0410-9bf9-f77b7e298cf2
* occured --> occurred typo patch by Clinton Roy <croy@dstc.edu.au>diego2003-12-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11679 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some more vidix crap - vidix equalizer passthrough. Patch by Oleg I. ↵alex2003-12-071-0/+31
| | | | | | Vdovikin <vdovikin@jscc.ru> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11566 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed -nocolorkeyalex2003-10-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11217 b3059339-0415-0410-9bf9-f77b7e298cf2
* Colorkeying can be disabled. Fbdev, svga and vesa vidix colorkeying supportalex2003-10-171-0/+17
| | | | | | | by Jake Page <jake@CS.Stanford.EDU> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11159 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove exit_player and exit referencesalex2003-08-311-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10735 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l (red <-> blue) fixmichael2003-07-091-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10405 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_scale.h & related cleanup & some small warning fix by dominikmichael2003-06-011-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fix by Aurelien JACOBS <aurel@gnuage.org>alex2003-04-211-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9959 b3059339-0415-0410-9bf9-f77b7e298cf2
* multiple init fix by Aurelien JACOBS <aurel@gnuage.org>alex2003-04-081-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9884 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only write title if verbose>0.ranma2003-03-281-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9715 b3059339-0415-0410-9bf9-f77b7e298cf2
* multiple preinit support -- cleaning vidix_name between the multiple ↵alex2003-03-211-0/+4
| | | | | | preinits. Patch by Aurlien JACOBS <aurel@gnuage.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9633 b3059339-0415-0410-9bf9-f77b7e298cf2
* sws_ prefix, more seperation between internal & external swscaler APImichael2003-02-231-5/+5
| | | | | | | sws_scale() returns the number of outputed lines git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
* linux->osdeparpi2003-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
* hopefully better uninit checkarpi2003-01-291-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9171 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lfilon2003-01-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8793 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check if we can open /dev/mem in preinit(), so we can exit cleanly.filon2003-01-051-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8792 b3059339-0415-0410-9bf9-f77b7e298cf2
* Not checking it caused SIGSEV when uninitning after vesa init failed.filon2003-01-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8787 b3059339-0415-0410-9bf9-f77b7e298cf2
* Juste a trivial patch for vesa output. The screen were cleaned at initarpi2002-12-291-2/+2
| | | | | | | | | 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
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-10/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* draw_slice() seems to support all csparpi2002-10-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7691 b3059339-0415-0410-9bf9-f77b7e298cf2
* a small fix for vo_vesa, when calling set_refresh, when -nofs used.arpi2002-10-071-2/+1
| | | | | | | patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7651 b3059339-0415-0410-9bf9-f77b7e298cf2
* It prevents mode change when Hsync out of range.arpi2002-09-101-5/+18
| | | | | | | | | 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
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* General Timing Formula algorithm from a scratch.arpi2002-08-221-3/+73
| | | | | | | | | 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
* 10l bug - noticed by Emiel Neggers <emiel@neggers.net>arpi2002-08-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7026 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable OSD outside movie, because it's not redrawn currently, user can use ↵atmos42002-07-271-1/+1
| | | | | | -vop expand to get osd outisde movie. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6826 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed screenshot thingie - it will be moved to video filter layeralex2002-05-271-63/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6204 b3059339-0415-0410-9bf9-f77b7e298cf2
* VFCAP addedarpi2002-04-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change order of vo_function calls (Although it doesn't matter for now).nick2002-02-171-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Screenshot on the flynick2002-02-171-0/+73
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4740 b3059339-0415-0410-9bf9-f77b7e298cf2
* add vsync support for doublebuffering to vo_vesaatmos42002-02-121-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4668 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make code simple. Use swScaler even for fastmemcpy purposes :)nick2002-02-091-28/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4602 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000hl to Holm... control MUST BE static...arpi2002-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
* query_ stuff replaced by new control() - patch by David Holmarpi2002-02-091-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
* Configurable OSD zonesnick2002-02-071-0/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4573 b3059339-0415-0410-9bf9-f77b7e298cf2
* swScale internally uses yuv2rgb now if possiblemichael2002-02-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct vesa shutdown on 'config playback' errorsnick2002-02-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support of scaling with every fourccnick2002-02-051-181/+114
| | | | | | | | (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
* code cleanupnick2002-02-031-10/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new tune infonick2002-01-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4435 b3059339-0415-0410-9bf9-f77b7e298cf2
* new info for tuningnick2002-01-311-1/+1