summaryrefslogtreecommitdiffstats
path: root/libvo/vo_directx.c
Commit message (Collapse)AuthorAgeFilesLines
* typo fix: inited --> initializeddiego2008-02-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark the vo_functions_t definitions as const where possible.reimar2007-12-021-1/+1
| | | | | | | | This is not possible for xover and anything supporting vidix due to horrible hacks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 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 unused variables.zuxy2007-10-271-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetic fix for r24861zuxy2007-10-271-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid crash after recovering from screensaverzuxy2007-10-271-4/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24861 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-2/+2
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guidiego2007-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code cleanup: don't include a .c file in mplayer.c and fix a fewrathann2007-03-291-1/+1
| | | | | | | | | | | "implicit declaration of function ‘mplayer_put_key’" warnings Based on Attila's suggestions. Approved by Uoti and Ivan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify config by using code available in video_out.creimar2007-03-061-19/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22477 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: typo fixes, usefuLL --> useful and aswell --> as welldiego2007-02-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22307 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a declaration-after-statement warning.diego2006-10-231-1/+2
| | | | | | | patch by Zuxy Meng, zuxy.meng gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20410 b3059339-0415-0410-9bf9-f77b7e298cf2
* The FSF changed postal address.diego2006-09-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19620 b3059339-0415-0410-9bf9-f77b7e298cf2
* optimize and simplify memcpy usage, use mem2agpcpy_picreimar2006-07-291-30/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19247 b3059339-0415-0410-9bf9-f77b7e298cf2
* handle sub-window WinID checks in the gui.vayne2006-07-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18957 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial win32 gui release.vayne2006-07-061-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18918 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l the cpu hog fix broke fullscreenswitching with -widfaust32006-03-151-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17871 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix for MPlayer taking 100% CPU with -wid on some systems, patch by Martin ↵faust32006-03-131-0/+18
| | | | | | Fiedler <martin.fiedler at gmx.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17854 b3059339-0415-0410-9bf9-f77b7e298cf2
* reinitialize adapter_count to 0, EnumCallbackEx will not work otherwisereimar2006-02-051-0/+1
| | | | | | | | (when playing more that one file). Fixes bug #429. Based on patch by Miguel Scaramozzino - dyingshell at yahoo com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17535 b3059339-0415-0410-9bf9-f77b7e298cf2
* Generate double-click mouse events.joey2005-11-111-1/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16976 b3059339-0415-0410-9bf9-f77b7e298cf2
* Intercept maximize event and go into fullscreen mode.joey2005-11-111-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16974 b3059339-0415-0410-9bf9-f77b7e298cf2
* add a switch, slave command, and vo control to toggle borderless window.joey2005-11-101-1/+27
| | | | | | | includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
* move window style to a macro for easier maintainingjoey2005-11-101-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16967 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,albeu2005-11-021-1/+1
| | | | | | | remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing break for WM_SYSCOMMAND handling.reimar2005-09-161-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16500 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove extern for variables that are already in headers.reimar2005-08-211-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 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
* match the declaration in the includes to make it compile with gcc 4.1, patch ↵faust32005-06-071-2/+2
| | | | | | by Gianluigi Tiesi <mplayer at netfarm.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15691 b3059339-0415-0410-9bf9-f77b7e298cf2
* multifile leak fixes by Timothy Lee <timothy.lee at siriushk.com> +some more ↵faust32005-05-131-27/+51
| | | | | | -fixed-vo fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15429 b3059339-0415-0410-9bf9-f77b7e298cf2
* always take the focus in fullscreen mode patch by Gianluigi Tiesi <mplayer ↵faust32005-02-131-0/+1
| | | | | | at netfarm.it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14693 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed-vo/libmpeg2 aspect change fixfaust32005-01-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14402 b3059339-0415-0410-9bf9-f77b7e298cf2
* 256 color mode support, use -vm to get better output when overlay is not ↵faust32005-01-061-1/+20
| | | | | | supported git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14401 b3059339-0415-0410-9bf9-f77b7e298cf2
* win95 fix fix by Rune Petersen <rune.mail-list at mail.tele.dk>faust32005-01-021-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14303 b3059339-0415-0410-9bf9-f77b7e298cf2
* win95 does not support GetMonitorInfofaust32004-12-271-1/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14254 b3059339-0415-0410-9bf9-f77b7e298cf2
* forgot to remove now useless extern monitor_aspectreimar2004-12-231-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14224 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_screenwidth/vo_screenheight is _not_ monitor_aspect.reimar2004-12-231-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14222 b3059339-0415-0410-9bf9-f77b7e298cf2
* added -wid support for vo_directx.joey2004-12-211-3/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14208 b3059339-0415-0410-9bf9-f77b7e298cf2
* automatic monitoraspect calculation for vo_directx.joey2004-12-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14207 b3059339-0415-0410-9bf9-f77b7e298cf2
* added colorkey support for vo_directx.joey2004-12-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14206 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-4/+4
| | | | | | | 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
* make it possible to select the monitor even when in nonexclusive mode, based ↵faust32004-10-271-5/+26
| | | | | | on patch by Anton Ragarsson <anton at infeline.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13776 b3059339-0415-0410-9bf9-f77b7e298cf2
* overlay color control support based on patch by Vitos Laszlo <laca <at> evol.ro>faust32004-10-221-0/+108
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13737 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100lfaust32004-09-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13439 b3059339-0415-0410-9bf9-f77b7e298cf2
* added "xbutton" support for 4-5 button micejoey2004-08-261-0/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13158 b3059339-0415-0410-9bf9-f77b7e298cf2
* vm window handling fixesfaust32004-08-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13111 b3059339-0415-0410-9bf9-f77b7e298cf2
* added runtime toggle of root window playbackjoey2004-08-221-0/+12
| | | | | | | only directx supports this at the moment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13092 b3059339-0415-0410-9bf9-f77b7e298cf2
* added -rootwin support to vo_directxjoey2004-08-221-4/+15
| | | | | | | | updated all man pages except chinese also added mention of vo_quartz's rootwin to man pages where it was missing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13091 b3059339-0415-0410-9bf9-f77b7e298cf2
* name changediego2004-07-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12862 b3059339-0415-0410-9bf9-f77b7e298cf2
* embarassing typo and new namediego2004-07-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12859 b3059339-0415-0410-9bf9-f77b7e298cf2
* more sane order for overlay workarounds, fixed a bug where the mouse would ↵faust32004-05-181-18/+19
| | | | | | stay hidden on win98 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12486 b3059339-0415-0410-9bf9-f77b7e298cf2
* keepaspect support, tryed to clean up DirectxManageDisplay a bit, enabled ↵faust32004-05-011-105/+69
| | | | | | UYVY support and fixed bugs where switching to fullscreen would keep the console window on top and where the initial window position is wrongly calculated git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12388 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore mouseclicks when activating the windowfaust32004-04-131-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12193 b3059339-0415-0410-9bf9-f77b7e298cf2
* print at least the error number when there is no text for itfaust32004-04-071-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12157 b3059339-0415-0410-9bf9-f77b7e298cf2
* move refreshrate and adapter_num variables to video_out because they might ↵faust32004-03-131-8/+6
| | | | | | be usefull for other drivers, too git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12022 b3059339-0415-0410-9bf9-f77b7e298cf2
* mouse support by Nehal Mistry <nehalmistry at gmx.net>faust32004-03-131-0/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12021 b3059339-0415-0410-9bf9-f77b7e298cf2
* adapter selection patch by Rune <runner at mail.tele.dk> +first attempt to ↵faust32004-02-291-181/+234
| | | | | | implement 2 window fullscreenswitching by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12006 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime 'stay-on-top' functionalityjoey2003-11-301-8/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* send quit command instead of key 'q'.joey2003-11-231-3/+3
| | | | | | | | | catch backspace key instead of ctrl key. keycodes.h says CTRL and BS are the same. this is not true for windows keycodes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11511 b3059339-0415-0410-9bf9-f77b7e298cf2
* yet another hack to prevent crashes with drfaust32003-10-091-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11062 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
* use vo_fs + geometry supportfaust32003-09-211-16/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10901 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix RGB16 vs BGR16 mismatchfaust32003-08-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10648 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playback of rgb files when overlay is not disabledfaust32003-08-171-9/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10641 b3059339-0415-0410-9bf9-f77b7e298cf2
* load icon from executablefaust32003-04-201-1/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9944 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l noticed by Joey Parrish <joey at nicewarrior.org>faust32003-04-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9895 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: don't change image format during configfaust32003-03-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9729 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lfaust32003-03-191-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9620 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreenswitching patch by Joey Parrish <joey at nicewarrior.org>faust32003-02-231-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9489 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
* 10l remove unused codefaust32002-12-301-12/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8669 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreencode rewritten, some cleanupfaust32002-12-301-345/+281
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8668 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l and correct aspectfaust32002-12-211-35/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8520 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - my system is very tolerant it seemsfaust32002-12-191-8/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8496 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l! I have no idea how this code worked at all before. I guess norfelker2002-12-181-6/+6
| | | | | | | one tests win32 much anyway... :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8491 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-10/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - noticed by Soeren Mueller <soeren.mueller at webwasher.com>faust32002-10-171-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7779 b3059339-0415-0410-9bf9-f77b7e298cf2
* more correct flagsfaust32002-10-111-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7714 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixes vo_directx to work with -fixed-voarpi2002-10-091-4/+29
| | | | | | | | -use subdevice "noaccel" to disable overlay patch by "Sascha Sommer" <saschasommer@freenet.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7683 b3059339-0415-0410-9bf9-f77b7e298cf2
* This patch hopefully fixes colorkeying and a segfault in exclusive modearpi2002-10-061-39/+60