summaryrefslogtreecommitdiffstats
path: root/loader/wine/vfw.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove win32/qt/xanim/real binary codecs loadingwm42012-08-161-669/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the win32 loader - the win32 emulation layer, as well as the code for using DirectShow/DMO/VFW codecs. Remove loading of xanim, QuickTime, and RealMedia codecs. The win32 emulation layer is based on a very old version of wine. Apparently, wine code was copied and hacked until it was somehow able to load a limited collection of binary codecs. It poked around in the code segment of some known binary codecs to disable unsupported win32 API calls to make them work. Example from module.c: for (i=0;i<5;i++) RVA(0x19e842)[i]=0x90; // make_new_region ? for (i=0;i<28;i++) RVA(0x19e86d)[i]=0x90; // call__call_CreateCompatibleDC ? for (i=0;i<5;i++) RVA(0x19e898)[i]=0x90; // jmp_to_call_loadbitmap ? for (i=0;i<9;i++) RVA(0x19e8ac)[i]=0x90; // call__calls_OLE_shit ? for (i=0;i<106;i++) RVA(0x261b10)[i]=0x90; // disable threads Just to show how utterly insane this code is. You wouldn't want even your worst enemy to have to maintain this. In fact, it seems nobody made major changes to this code ever since it was committed. Most formats can be decoded by libavcodecs these days, and the loader couldn't be used on 64 bit platforms anyway. The same is (probably) true for the other binary codecs. General note about how support for win32 codecs could be added back: It's not possible to replace the win32 loader code by using wine as library, because modern wine can not be linked with native Linux programs for certain reasons. It would be possible to to move DirectShow video decoding into a separate process linked with wine, like the CoreAVC-for-Linux patches do. There is also the mplayer-ww fork, which uses the dshownative library to use DirectShow codecs on Windows.
* Add public function VideoForWindowsVersion() to the appropriate header file.diego2010-02-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove extern "C" declarations from loader code.diego2010-02-111-7/+0
| | | | | | | Our loader code is not a general-purpose library and not used from C++. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add required header #includes to satisfy 'make checkheaders'.diego2010-01-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30213 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert fixing illegal identifiers to fix compilation on MinGW. Unfortunatelydiego2008-03-021-2/+2
| | | | | | | | these identifiers appear in Windows system headers and are thus outside our direct control. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26141 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers starting with _ and capital letters.diego2008-03-011-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26138 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-231-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26077 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove $Id$ tags, they make diffs between different versionsreimar2008-01-271-1/+0
| | | | | | | harder to read than necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a ton of illegal identifiers. Identifiers starting with __ or _ and adiego2008-01-201-4/+4
| | | | | | | | capital letter are reserved for the system, those starting with _ are reserved at the file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove leading underscores from multiple inclusion guards,diego2007-09-131-4/+4
| | | | | | | leading underscores are reserved in the C standard. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless #ifndef, __WINE_WINGDI_H is never defined.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24438 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversion in copyright noticesdiego2006-06-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply with GPL ยง2a.diego2005-04-151-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15167 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader gcc warning fixes and avifile syncrathann2004-08-281-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13183 b3059339-0415-0410-9bf9-f77b7e298cf2
* VfwEx uninit crash fixed, bugreport by Wolfgang Thiess <wollet1@gmx.net>arpi2002-10-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7679 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile sync - 95% cosmetics 5% bugarpi2002-09-131-14/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7387 b3059339-0415-0410-9bf9-f77b7e298cf2
* ICDecompressEndEx() addedarpi2002-09-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7258 b3059339-0415-0410-9bf9-f77b7e298cf2
* better namingarpi2002-02-071-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4577 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround for Alpha - by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>arpi2001-12-161-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3537 b3059339-0415-0410-9bf9-f77b7e298cf2
* packed attribute addedarpi2001-11-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3132 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some superfluous casts. Fixes a few compile warnings.jkeil2001-07-141-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix two prototype warningsjkeil2001-07-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add prototypes to wine/loader stuff, so that we can catch __stdcall functionjkeil2001-07-121-1/+1
| | | | | | | | | | | attribute mismatch between caller/caller. wine/loader is less sensitive to optimization now. (now that avifile-0.6 has the same patch installed, we're a bit closer to their CVS tree) Speed up win32 "QueryPerformanceFrequency" emulation on solaris. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1308 b3059339-0415-0410-9bf9-f77b7e298cf2
* VfwEx supportarpi2001-07-081-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1298 b3059339-0415-0410-9bf9-f77b7e298cf2
* DLL loader updated from avifile-0.60beta4arpi_esp2001-03-181-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial revisionarpi_esp2001-02-241-0/+654
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2