summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dga.c
Commit message (Collapse)AuthorAgeFilesLines
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* no effect in practice, but strides should always be signedrfelker2005-02-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14796 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-1/+1
| | | | | | | 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
* major reindentation of x11 code try #2attila2004-06-141-660/+712
| | | | | | | | | | | | | | note that this is plain ident output, i didnt tweak it by hand like the last attempt. if anyone is interested in the indent profile i used, just drop me a mail. please contact me on irc on how to send me my share of cola, but be aware that i will only accept swiss or german cola, as the japanese is way to sweet :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12583 b3059339-0415-0410-9bf9-f77b7e298cf2
* DOCS/en/ ---> DOCS/HTML/en/diego2003-10-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11184 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
* 10l & warning fixesalex2003-07-281-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10496 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing language suffix to DOCS/ path.diego2003-06-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10287 b3059339-0415-0410-9bf9-f77b7e298cf2
* final scaler removal stepalex2003-06-011-69/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10235 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>alex2003-05-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Spring cleanup: removed the full yv12 support as it was broken anyway. The ↵alex2003-04-291-80/+5
| | | | | | BGR/RGB native/non-native case needs some cleanup, too. Currently it works for me (tm) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10022 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, avoid getting num_of_buffers=0alex2003-02-041-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9275 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-8/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* *HUGE* set of compiler warning fixes, unused variables removalarpi2002-11-061-6/+1
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
* arpi add direct render supportpontscho2002-11-031-0/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8085 b3059339-0415-0410-9bf9-f77b7e298cf2
* - cleanuppontscho2002-11-031-99/+93
| | | | | | | | | - add fixed-vo support please test, this is working for me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8068 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* mode detection && vo_init() moved to preinit()arpi2002-10-271-81/+67
| | | | | | | NOTE: this driver needs some cleanup, and should use mDisplay/mScreen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7931 b3059339-0415-0410-9bf9-f77b7e298cf2
* DGA1 trivial fix by Fredrik Noring <noring@nocrew.org>arpi2002-10-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7653 b3059339-0415-0410-9bf9-f77b7e298cf2
* flickering fix, patch by Fredrik Noring <noring@nocrew.org>arpi2002-10-011-14/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7576 b3059339-0415-0410-9bf9-f77b7e298cf2
* -nograbpointer, based on old patch by Christian Ohm <chr.ohm@gmx.net>arpi2002-09-281-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7540 b3059339-0415-0410-9bf9-f77b7e298cf2
* another dga v1 fix by Fredrik Noring <noring@nocrew.org>arpi2002-09-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7534 b3059339-0415-0410-9bf9-f77b7e298cf2
* DGA1 fix by Fredrik Noring <noring@nocrew.org>arpi2002-09-271-9/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7516 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes problem with video image alignment.arpi2002-09-251-3/+3
| | | | | | | patch by Fredrik Noring <noring@nocrew.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7501 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics...arpi2002-09-251-213/+56
| | | | | | | | | | | - made some internal funcs static - removed spaces & obsolete comment at the end - removed cvs log from header - different driver name if no XF86VidMode avail. - removed vd_printf, use mp_msg() instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7500 b3059339-0415-0410-9bf9-f77b7e298cf2
* Attached patch improves the vertical retrace synchronisation (vsync)arpi2002-09-251-66/+92
| | | | | | | | | | | of the mplayer DGA driver. It implements a more general buffer scheme than double buffers that allows for deeper buffer queues. by Fredrik Noring <noring@nocrew.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7499 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* revised query_format. added support for native/conversion detectionalex2002-05-271-32/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6207 b3059339-0415-0410-9bf9-f77b7e298cf2
* I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'nick2002-02-171-3/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4738 b3059339-0415-0410-9bf9-f77b7e298cf2
* use mem2agpcpy_pic()michael2002-02-151-20/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4714 b3059339-0415-0410-9bf9-f77b7e298cf2
* use mem2agpcpy() instead of fast_memcpy()michael2002-02-121-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4683 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000hl to Holm... control MUST BE static...arpi2002-02-091-1/+4
| | | | 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/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed obsoleted Terminate_Display_Processalex2002-01-311-7/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4440 b3059339-0415-0410-9bf9-f77b7e298cf2
* new info for tuningnick2002-01-311-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extensions for video accelerated architecturenick2002-01-261-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
* SwScaler support for vo_png by Kim Minh, SwScale w/aspecz for vo_dga by meatmos42002-01-081-5/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4061 b3059339-0415-0410-9bf9-f77b7e298cf2
* use XF86VidMode later in init (at line 1031) only if we've got support (if ↵alex2001-12-281-0/+6
| | | | | | have_vm==1) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3853 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not crash if can't get modelines (dga2.0)alex2001-12-041-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move yuv2rgb to postprocessnick2001-11-061-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
* *** empty log message ***nick2001-11-021-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2630 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using new stuff of rgb15to16nick2001-10-301-15/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2557 b3059339-0415-0410-9bf9-f77b7e298cf2
* changes according to -utf8 option, draw_osd() function addedatlka2001-08-131-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1502 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_dga doesn't compile on non-x86 architecture due to x86 asm usage.jkeil2001-07-161-5/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1337 b3059339-0415-0410-9bf9-f77b7e298cf2
* extern vo_doublebuffering cleanuparpi2001-07-031-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed pointer->integer cast warning.atmosfear2001-06-221-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1194 b3059339-0415-0410-9bf9-f77b7e298cf2
* - just modified an error messageacki22001-06-181-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1159 b3059339-0415-0410-9bf9-f77b7e298cf2
* - if DGA fails to report some valid modes, vo_dga now exits gracefullyacki22001-06-171-3/+23
| | | | | | | instead of crashing ... (100000x100000 bug ...) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1155 b3059339-0415-0410-9bf9-f77b7e298cf2
* - doublebuffering now can be switched on and off with the -(no)double switch.acki22001-06-171-2/+9
| | | | | | | Default in libvo is disabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1151 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed redundant osd.h includesarpi_esp2001-05-241-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@866 b3059339-0415-0410-9bf9-f77b7e298cf2
* - now chooses mode with highest ymax (enables doublebuffering in some casesacki22001-05-071-15/+64
| | | | | | | | | it didn't work before) - use my own memcopy() on non MMX machines again - do memcpy() in one single block if stride==0 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@721 b3059339-0415-0410-9bf9-f77b7e298cf2
* - finally: 15to16 conversion included!!!acki22001-05-031-3/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@692 b3059339-0415-0410-9bf9-f77b7e298cf2
* - now we use fastmemcpy() for copying. Saves about 25% of copying time on K6-2+acki22001-05-021-1/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@691 b3059339-0415-0410-9bf9-f77b7e298cf2
* - now features 24->32 conversion (this is actually faster than letting theacki22001-05-011-57/+126
| | | | | | | codec produce depth 32 in the first place for avis :-))) ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@681 b3059339-0415-0410-9bf9-f77b7e298cf2
* - now mpeg is fast again (no more offscreen buffer rubbish) But is it really ok?acki22001-05-011-32/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@678 b3059339-0415-0410-9bf9-f77b7e298cf2
* clean uppontscho2001-04-241-15/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@617 b3059339-0415-0410-9bf9-f77b7e298cf2
* some warnings killedszabii2001-04-241-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@613 b3059339-0415-0410-9bf9-f77b7e298cf2
* driver info now depends on detected DGA versionarpi_esp2001-04-191-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@534 b3059339-0415-0410-9bf9-f77b7e298cf2
* - now also supports OSD for YV12 (big speed penalty by having to build imageacki22001-04-171-26/+64
| | | | | | | | in offscreen memory and then copying; - OSD still works just with doublebuffering enabled :-( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@494 b3059339-0415-0410-9bf9-f77b7e298cf2
* - query_format() now uses new return value conceptacki22001-04-171-6/+40
| | | | | | | | | - now support for OSD :-))) for RGB modes YV12 is flickering in quite an ugly fashion; have to fix this, but will cost an extra copying of image data ... :-((( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@491 b3059339-0415-0410-9bf9-f77b7e298cf2
* - fixed bug with depth and mpg when current bpp of XServer was != 32acki22001-04-131-14/+30
| | | | | | | | - when -bpp is selected, I accept only query_modes() for THIS particular depth (if it's supported by hardware) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@396 b3059339-0415-0410-9bf9-f77b7e298cf2
* - completely rewrote depth switchingacki22001-04-131-164/+296
| | | | | | | | | - support for -bpp (needs at least mplayer.c 1.53 and cfg-mplayer.h 1.18 and latest stuff from libvo to work) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@393 b3059339-0415-0410-9bf9-f77b7e298cf2
* - still more debug output to be able to fix 15/16 bpp problemacki22001-04-011-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@273 b3059339-0415-0410-9bf9-f77b7e298cf2
* - added detection of memsize of graphics card to check if double buffering ↵acki22001-04-011-64/+64
| | | | | | | | | | | is possible - fixed resolution switching a little and added more debug output - resolution switching is still according to d_width and d_height which is not always a good idea ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@267 b3059339-0415-0410-9bf9-f77b7e298cf2
* - added VidMode changing support for DGA1.0 (used code from Michael Graffam ↵acki22001-03-311-29/+159
| | | | | | (mgraffam@idsi.net)) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@264 b3059339-0415-0410-9bf9-f77b7e298cf2
* - added double buffering :-)acki22001-03-301-66/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@263 b3059339-0415-0410-9bf9-f77b7e298cf2
* - 32/16 bit mode swtiching with DGA2.0acki22001-03-301-93/+304
| | | | | | | - now use only DGA2.0 API when DGA2.0 is available git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Source cleanup. Improved resolution selection (I think :-)).acki22001-03-301-163/+114
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@261 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changes to configure to autodetect DGA 2.0 functionality, and to only usemgraffam2001-03-281-7/+19
| | | | | | | DGA video mode switching when DGA 2.0 is present git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@234 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added support to vo_dga to change the video mode to the lowest resolutionmgraffam2001-03-271-4/+44
| | | | | | | | | that is larger (or equal to) the video stream. Also, by using the -x and -y options the user can specify a specific video mode. Changed the DOCS/AUTHORS file to reflect this patch so that flames get sent to me :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@222 b3059339-0415-0410-9bf9-f77b7e298cf2
* added check_events() interfacearpi_esp2001-03-031-20/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32 b3059339-0415-0410-9bf9-f77b7e298cf2
* initial versionarpi_esp2001-02-271-0/+374
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14 b3059339-0415-0410-9bf9-f77b7e298cf2