summaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/interp.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfxvideo/interp.h')
-rw-r--r--plugins/dfxvideo/interp.h8
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