Updated interframe filter to not trigger compiler warnings

This commit is contained in:
Arthur Moore 2015-03-10 20:29:45 -04:00
parent 6a1fed3e93
commit 9af26076d2
3 changed files with 6 additions and 9 deletions

View File

@ -17,6 +17,7 @@ option( ENABLE_DEBUGGER "Enable the debugger" ON )
option( ENABLE_NLS "Enable translations" ON )
option( ENABLE_ASM_CORE "Enable x86 ASM CPU cores" OFF )
option( ENABLE_ASM_SCALERS "Enable x86 ASM graphic filters" OFF )
option( ENABLE_MMX "Enable MMX" OFF )
option( ENABLE_LINK "Enable GBA linking functionality" ON )
option( ENABLE_LIRC "Enable LIRC support" OFF )
option( ENABLE_FFMPEG "Enable ffmpeg A/V recording" OFF )

View File

@ -6,6 +6,10 @@
#ifdef MMX
extern "C" bool cpu_mmx;
static void SmartIB_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
static void SmartIB32_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
static void MotionBlurIB_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
static void MotionBlurIB32_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
#endif
/*
@ -20,7 +24,7 @@ static u8 *frm3 = NULL;
extern u32 qRGB_COLOR_MASK[2];
static void Init()
void Init()
{
frm1 = (u8 *)calloc(322*242,4);
// 1 frame ago

View File

@ -7,8 +7,6 @@
extern int RGB_LOW_BITS_MASK;
static void Init();
// call ifc to ignore previous frame / when starting new
void InterframeCleanup();
@ -18,12 +16,6 @@ void SmartIB32(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
void MotionBlurIB(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
void MotionBlurIB32(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
#ifdef MMX
static void SmartIB_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
static void SmartIB32_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
static void MotionBlurIB_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
static void MotionBlurIB32_MMX(u8 *srcPtr, u32 srcPitch, int width, int starty, int height);
#endif
//Options for if starty is 0
void SmartIB(u8 *srcPtr, u32 srcPitch, int width, int height);