view loader/win32.h @ 34982:df138f843ebc

Prefer converting 9/10 bit formats to 16 bit, this is a simple left-shift. Should make -vo gl behave nicer/run faster for cases where 9/10 bit is not supported. Only some old r200 class cards running on little-endian could still have issues with 16-bit YUV and I neither have an idea nor hardware to improve this.
author reimar
date Sun, 12 Aug 2012 13:24:54 +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 */