summaryrefslogtreecommitdiff
path: root/src/post/goom/mmx.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-07-21 14:38:29 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-07-21 14:38:29 +0000
commit2e73a5e69f0227f15c6049ef805a9b8c20166e2b (patch)
treea76597e387b3748bb06290e7980e432711d72670 /src/post/goom/mmx.c
parent5ef0b5f10d0ee154a8add83c7c19d8557898226f (diff)
downloadxine-lib-2e73a5e69f0227f15c6049ef805a9b8c20166e2b.tar.gz
xine-lib-2e73a5e69f0227f15c6049ef805a9b8c20166e2b.tar.bz2
new goom2k4-dev18 includes almost all of my warning fixes
(the goom team is quite fast in applying my patches :) ) some files are still slightly patched from the release version, but I will get this sorted out so we will soon use a completely unmodified version of goom it compiles almost warningless now (the remaining warnings are introduced by lex/yacc and I plan to simply ignore them) the Makefile.am distclean-hack is also obsolete now, since the offending files have been renamed CVS patchset: 6828 CVS date: 2004/07/21 14:38:29
Diffstat (limited to 'src/post/goom/mmx.c')
-rw-r--r--src/post/goom/mmx.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/post/goom/mmx.c b/src/post/goom/mmx.c
index 3188d9bed..fdf06492a 100644
--- a/src/post/goom/mmx.c
+++ b/src/post/goom/mmx.c
@@ -1,3 +1,5 @@
+#ifdef HAVE_MMX
+
#define BUFFPOINTNB 16
#define BUFFPOINTMASK 0xffff
#define BUFFINCR 0xff
@@ -11,12 +13,12 @@
// faire : a / sqrtperte <=> a >> PERTEDEC
#define PERTEDEC 4
-int mmx_supported () {
+int mmx_supported (void) {
return (mm_support()&0x1);
}
void zoom_filter_mmx (int prevX, int prevY,
- unsigned int *expix1, unsigned int *expix2,
+ Pixel *expix1, Pixel *expix2,
int *brutS, int *brutD, int buffratio,
int precalCoef[16][16])
{
@@ -270,3 +272,4 @@ end_of_line:
/* __asm__ __volatile__ ("emms"); */
}
+#endif