From 2e73a5e69f0227f15c6049ef805a9b8c20166e2b Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Wed, 21 Jul 2004 14:38:29 +0000 Subject: 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 --- src/post/goom/mmx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/post/goom/mmx.c') 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 -- cgit v1.2.3