From c6191a4474b4cab60cc9886860c8b6de7c4e146b Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Fri, 13 Aug 2010 01:32:56 +0000 Subject: dfxvideo: Readded windows support. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56047 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfxvideo/interp.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/dfxvideo/interp.h') diff --git a/plugins/dfxvideo/interp.h b/plugins/dfxvideo/interp.h index 30432371..e4ae0e36 100644 --- a/plugins/dfxvideo/interp.h +++ b/plugins/dfxvideo/interp.h @@ -209,7 +209,7 @@ static __inline unsigned int interp_32_97(unsigned int p1, unsigned int p2) #define INTERP_U_LIMIT (0x07*4) #define INTERP_V_LIMIT (0x06*8) -inline static int interp_16_diff(unsigned short p1, unsigned short p2) +__inline static int interp_16_diff(unsigned short p1, unsigned short p2) { int r, g, b; int y, u, v; @@ -243,7 +243,7 @@ inline static int interp_16_diff(unsigned short p1, unsigned short p2) return 0; } -inline static int interp_32_diff(unsigned int p1, unsigned int p2) +__inline static int interp_32_diff(unsigned int p1, unsigned int p2) { int r, g, b; int y, u, v; @@ -271,8 +271,6 @@ inline static int interp_32_diff(unsigned int p1, unsigned int p2) return 0; } -#if 0 - static void interp_set(unsigned bits_per_pixel) { interp_bits_per_pixel = bits_per_pixel; @@ -294,5 +292,3 @@ static void interp_set(unsigned bits_per_pixel) } #endif - -#endif -- cgit v1.2.3