Mercurial > mplayer.hg
view loader/ext.h @ 2264:7851375ea156
increased precission of s_xinc s_xinc2 (needed for the mmx2 bugfix)
moved mmx variables to top to avoid alignment issues
mmx2 code should work fine now if and only if the input width is %16=0 and the output width is %32=0
reordered some code (5% faster with a simply -benchmark)
first line bug fixed (i hope i didnt introduce any new bugs with that ...)
changed a lot of the vertical scale setup code, i hope i fixed something and didnt mess it up :)
a few known bugs left (rightmost line is wrong)
MMX2 code will only be used for upscaling & acceptable widthˇs
16bit dithering can be disabled
author | michael |
---|---|
date | Thu, 18 Oct 2001 22:27:13 +0000 |
parents | e06cabbd1a9b |
children | 174e2a58b4cd |
line wrap: on
line source
#ifndef loader_ext_h #define loader_ext_h #include <wine/windef.h> extern LPVOID FILE_dommap( int unix_handle, LPVOID start, DWORD size_high, DWORD size_low, DWORD offset_high, DWORD offset_low, int prot, int flags ); extern int FILE_munmap( LPVOID start, DWORD size_high, DWORD size_low ); extern int wcsnicmp(const unsigned short* s1, const unsigned short* s2, int n); extern int __vprintf( const char *format, ... ); #endif