summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
Commit message (Collapse)AuthorAgeFilesLines
* vo_svga: fix build after previous commit 6506d4adClément Bœsch2011-05-031-1/+1
| | | | | | | vo_svga.c used its static query_format() function before defining it, but had no prototype before the use. Thus is depended on the otherwise useless static declaration in a shared header, and broke after that was removed. Fix by adding an advance declaration inside the file.
* vidix: drop VIDIX supportUoti Urpala2011-01-311-52/+0
| | | | | | | | | | | | | By now VIDIX is too obscure to justify the amount of code and complexity it requires in the sources. Although there is no pressing need to drop it just now from a code point of view, I'll rather remove it before release than release with VIDIX support and then drop it later. Some of the manpage mentions of VIDIX were in "this option supported for these VOs" lists that looked outdated and failed to mention vdpau for example. Replace such incorrect lists with a generic "not supported for all VOs" mention.
* sub/OSD: move some related files to sub/Uoti Urpala2011-01-261-1/+1
|
* libvo: remove UNUSED() macrosdiego2010-11-021-8/+0
| | | | | | | | Remove UNUSED macros used to shut up unused function parameter warnings. The macros are duplicated all over libvo and serve no useful purpose nowadays. A better way to shut up the warnings is -Wno-unused-parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32422 b3059339-0415-0410-9bf9-f77b7e298cf2
* Delete things related to old translation systemUoti Urpala2010-03-101-1/+0
| | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* Restore collapsed whitespace in output messagesUoti Urpala2010-03-071-1/+1
| | | | | | | | | For some reason commit e306174952d42e1cd6cc5efc50ae6bb0410501bc, which replaced translation macro names with the corresponding English strings, also collapsed multiple consecutive space characters into one. Change most of these back. In a couple of cases the amount of whitespace is important for alignment, and for the rest it at least keeps the strings closer to the existing translations.
* Merge svn changes up to r29455Uoti Urpala2009-07-291-1/+1
|\
| * Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.diego2009-07-261-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Translation system changes part 2: replace macros by stringsAmar Takhar2009-07-071-10/+10
| | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | Translation system changes part 1: wrap translated stringsAmar Takhar2009-07-071-10/+10
| | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | Merge svn changes up to r28690Uoti Urpala2009-02-211-496/+478
|\|
| * Cosmetics. Reindent to 4 spaces.iive2009-02-211-473/+473
| | | | | | | | | | | | | | | | Checked for equality with diff -w. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28684 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cleanup.iive2009-02-211-20/+2
| | | | | | | | | | | | | | | | Turn a number of if(mp_msg_test()) mp_msg(); into single mp_msg() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28683 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics. Remove all trailing whitespacesiive2009-02-211-61/+61
| | | | | | | | | | | | | | and convert the few tabs into spaces. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28681 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28537Uoti Urpala2009-02-121-6/+23
|\|
| * Add standard license headers, unify header formatting.diego2009-02-081-6/+23
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26979Uoti Urpala2008-06-041-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the conflicts are trivial. Conflicts: Makefile cfg-mplayer.h input/input.c libmenu/vf_menu.c libmpcodecs/dec_video.c libmpcodecs/vf_expand.c libmpcodecs/vf_vo.c libmpdemux/demux_mkv.c libmpdemux/demuxer.c libmpdemux/demuxer.h libvo/vo_directfb2.c libvo/vo_gl.c libvo/vo_winvidix.c libvo/vo_xv.c libvo/vo_xvidix.c libvo/vo_xvmc.c libvo/x11_common.c mplayer.c osdep/timer-linux.c stream/cache2.c
| * cosmetics: Remove useless parentheses from from return statements.diego2008-05-161-5/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Add new video driver APIUoti Urpala2008-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Create new video driver API that has a per-instance context structure and does not rely on keeping status in global or static variables. Existing drivers are not yet converted to this API; instead there is a wrapper which translates calls to them. In the new API, an old API call vo_functions->xyz(args) is generally replaced by vo_xyz(vo_instance, args). The changes to keep the vesa, dxr2 and xover drivers compiling have not been tested.
* | Remove variable arguments from vo control() functionsUoti Urpala2008-04-231-1/+1
| | | | | | | | | | No voctrl uses them any more, and using them would not be a good idea because it makes forwarding arguments to other functions harder.
* | Change VOCTRL_[GET|SET]_EQUALIZER argument passingUoti Urpala2008-04-231-26/+1
|/ | | | | | | | These were the only voctrl types with more than one argument. The second argument was passed using variable arguments. Change them to use a single argument (address of a struct containing both old arguments). This makes forwarding the arguments to other functions easier and allows simplifying code.
* Fix wrong check for vidix usage.iive2008-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't use void * arithmetic.iive2008-03-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26205 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle vga_init() error and output error message.iive2008-03-091-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26204 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
* warning fix:diego2007-08-281-1/+0
| | | | | | | | vo_svga.c:57: warning: redundant redeclaration of 'query_format' video_out_internal.h:38: warning: previous declaration of 'query_format' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24258 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-1/+1
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* "()" to "(void)" function param list fixesuau2007-04-011-1/+1
| | | | | | | patch from Stefan Huehner, stefan huehner org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22904 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove spurious casts to int. Blessed by Reimar.rathann2006-10-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20116 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make some functions static.uau2006-07-081-2/+2
| | | | | | | Patch by Stefan Huehner, stefan at huehner org. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18955 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-30/+31
| | | | | | 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-20/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.reimar2005-08-211-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missed one uint32_t declaration.ivo2005-08-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16173 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-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* proper gcc4 compile-fix suggested by richardatmos42004-11-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13866 b3059339-0415-0410-9bf9-f77b7e298cf2
* gcc-4 compile fix: invalid lvalue in assignmentatmos42004-10-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13830 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-2/+2
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 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/+14
| | | | | | | by Jake Page <jake@CS.Stanford.EDU> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11159 b3059339-0415-0410-9bf9-f77b7e298cf2
* many small typo and grammar fixesgabucino2003-10-041-1/+1
| | | | | | | Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD stride fix and correct emailiive2003-09-251-7/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10941 b3059339-0415-0410-9bf9-f77b7e298cf2
* blackbar osd support based on patch send by Dimitar Zhekov <jimmy@is-vn.bg>, ↵iive2003-09-211-92/+82
| | | | | | page code removed/merged, small updates git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10925 b3059339-0415-0410-9bf9-f77b7e298cf2
* force_mode wrong has_mode check, verbose retrace messageiive2003-04-021-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9789 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix last mode ignored bugiive2003-03-251-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9687 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10liive2003-03-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9660 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix find_best fail if the black area is bigger than image, few more verbose ↵iive2003-03-221-6/+14
| | | | | | messages, OSD not rendered if native mode git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9659 b3059339-0415-0410-9bf9-f77b7e298cf2
* new svga driver - support double buffering, fast_memcpy, direct render and ↵iive2003-03-201-722/+564
| | | | | | HW acceleration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9622 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable auto oldmethod, directrendering for linear modes onlyiive2003-02-031-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9238 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixing rgb4 & bgr4 (2 pixels per byte)michael2003-01-301-2/+5
| | | | | | | adding bg4b & rg4b (1 pixel per byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9172 b3059339-0415-0410-9bf9-f77b7e298cf2
* typogabucino2003-01-251-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9086 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch should fix the display problem with 4bpp and 8bpp modes.arpi2003-01-201-4/+6
| | | | | | | | | | | | | | | | | The problem was that the new drawing method assumes a linear framebuffer, which is not available in those modes. This can be worked around by using the old drawing method, which is what this patch does. The old method can be forced, by using the "old" driver option. This patch also enables linear addressing, since it improves write speed to video memory considerably. The mentioned problem: "it is not compatable with vga_draw* for some cards" Is a bug in svgalib, which I think should be fixed in recent svgalib versions. If someone sees this problem, please report to svgalib maintainer (that's me). patch by Matan Ziv-Av. matan@svgalib.org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9047 b3059339-0415-0410-9bf9-f77b7e298cf2
* vga_draw* functions don't support linear memory for 'most' video cardsiive2002-12-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8674 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l by Matanalex2002-12-221-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8521 b3059339-0415-0410-9bf9-f77b7e298cf2
* vidix support and better device options handler by Matan Ziv-Av ↵alex2002-12-211-41/+106
| | | | | | <matan@svgalib.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8516 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-7/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fix & cleanup of draw_frame(), still NO support for stride :(arpi2002-10-091-19/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7692 b3059339-0415-0410-9bf9-f77b7e298cf2
* mode check at preinit()arpi2002-10-091-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7676 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix - hope it don't break itarpi2002-09-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7559 b3059339-0415-0410-9bf9-f77b7e298cf2
* tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bugarpi2002-09-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* IMGFMT_{RGB,BGR}{1,4}michael2002-06-271-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6580 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1bpp supportmichael2002-06-171-8/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6457 b3059339-0415-0410-9bf9-f77b7e298cf2
* 8bpp bugfixes (brightness, contrast ...)michael2002-06-171-4/+65
| | | | | | | 4bpp git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6454 b3059339-0415-0410-9bf9-f77b7e298cf2
* 8bpp support (no dithering yet, use -vop noise for now)michael2002-06-161-7/+52
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6452 b3059339-0415-0410-9bf9-f77b7e298cf2
* getch2 fix - by Dimitar Zhekov <jimmy@is-vn.bg>arpi2002-05-121-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6053 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch replaces vo_svga.c with an improved version that does not usearpi2002-04-181-228/+316
| | | | | | | | vgagl libra