diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-13 01:32:56 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-13 01:32:56 +0000 |
| commit | c6191a4474b4cab60cc9886860c8b6de7c4e146b (patch) | |
| tree | 7b450e4d69ec922805cf2448af9cc53286f17d73 /plugins/dfxvideo/interp.h | |
| parent | 7d0cd28dd85965b4f94c8eeb5aa2c70297122485 (diff) | |
| download | pcsxr-c6191a4474b4cab60cc9886860c8b6de7c4e146b.tar.gz | |
dfxvideo: Readded windows support.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56047 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfxvideo/interp.h')
| -rw-r--r-- | plugins/dfxvideo/interp.h | 8 |
1 files changed, 2 insertions, 6 deletions
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 |
