Mercurial > mplayer.hg
view loader/win32.h @ 33736:a5a54c7a15ce
Fix the precision loss in float -> 32bit conversion case, introduced
by my earlier commit. Instead use method proposed by Reimar.
Also, avoid using ldexp, it is slower than multiply with constant.
author | iive |
---|---|
date | Wed, 06 Jul 2011 23:35:39 +0000 |
parents | 0e067fdaf442 |
children |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_WIN32_H #define MPLAYER_WIN32_H #include <time.h> #include "wine/windef.h" #include "wine/winbase.h" #include "com.h" void my_garbagecollection(void); typedef struct { UINT uDriverSignature; HINSTANCE hDriverModule; DRIVERPROC DriverProc; DWORD dwDriverID; } DRVR; typedef DRVR *PDRVR; typedef DRVR *NPDRVR; typedef DRVR *LPDRVR; typedef struct tls_s tls_t; void* LookupExternal(const char* library, int ordinal); void* LookupExternalByName(const char* library, const char* name); #endif /* MPLAYER_WIN32_H */