HQ3x and 4x now also work in SDL on Windows.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@137 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
b384014f32
commit
1b43a20316
|
@ -59,6 +59,12 @@
|
||||||
# include "getopt.h"
|
# include "getopt.h"
|
||||||
#endif // ! __GNUC__
|
#endif // ! __GNUC__
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#define INTERNAL_DEPTH_16
|
||||||
|
#else
|
||||||
|
#define INTERNAL_DEPTH_32
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MMX
|
#ifdef MMX
|
||||||
extern "C" bool cpu_mmx;
|
extern "C" bool cpu_mmx;
|
||||||
#endif
|
#endif
|
||||||
|
@ -97,9 +103,18 @@ extern void hq2x32(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
extern void lq2x(u8*,u32,u8*,u8*,u32,int,int);
|
extern void lq2x(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
extern void lq2x32(u8*,u32,u8*,u8*,u32,int,int);
|
extern void lq2x32(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
extern void hq3x16(u8*,u32,u8*,u8*,u32,int,int);
|
extern void hq3x16(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
extern void hq3x32_32(u8*,u32,u8*,u8*,u32,int,int);
|
|
||||||
extern void hq4x16(u8*,u32,u8*,u8*,u32,int,int);
|
extern void hq4x16(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
|
|
||||||
|
#ifdef INTERNAL_DEPTH_16
|
||||||
|
extern void hq3x32(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
|
extern void hq4x32(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
|
#else
|
||||||
|
extern void hq3x32_32(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
extern void hq4x32_32(u8*,u32,u8*,u8*,u32,int,int);
|
extern void hq4x32_32(u8*,u32,u8*,u8*,u32,int,int);
|
||||||
|
#define hq3x32 hq3x32_32
|
||||||
|
#define hq4x32 hq4x32_32
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
extern void SmartIB(u8*,u32,int,int);
|
extern void SmartIB(u8*,u32,int,int);
|
||||||
extern void SmartIB32(u8*,u32,int,int);
|
extern void SmartIB32(u8*,u32,int,int);
|
||||||
|
@ -2651,10 +2666,10 @@ yuv = false;
|
||||||
filterFunction = hq2x32;
|
filterFunction = hq2x32;
|
||||||
break;
|
break;
|
||||||
case 16:
|
case 16:
|
||||||
filterFunction = hq3x32_32;
|
filterFunction = hq3x32;
|
||||||
break;
|
break;
|
||||||
case 17:
|
case 17:
|
||||||
filterFunction = hq4x32_32;
|
filterFunction = hq4x32;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
filterFunction = NULL;
|
filterFunction = NULL;
|
||||||
|
|
Loading…
Reference in New Issue