# HG changeset patch # User bellard # Date 1041983380 0 # Node ID 0c32f81b42b2b95713c156d2e9004f374bd83198 # Parent 979f3cbd08a20105960681843d38515ed74b8ac1 suppressed getopt.h diff -r 979f3cbd08a2 -r 0c32f81b42b2 dct-test.c --- a/dct-test.c Tue Jan 07 23:47:09 2003 +0000 +++ b/dct-test.c Tue Jan 07 23:49:40 2003 +0000 @@ -6,13 +6,16 @@ #include #include #include -#include #include "dsputil.h" #include "i386/mmx.h" #include "simple_idct.h" +#ifndef MAX +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) +#endif + /* reference fdct/idct */ extern void fdct(DCTELEM *block); extern void idct(DCTELEM *block); @@ -24,12 +27,6 @@ extern void odivx_idct_c (short *block); -void (*add_pixels_clamped)(const DCTELEM *block/*align 16*/, - UINT8 *pixels/*align 8*/, int line_size); - -void (*put_pixels_clamped)(const DCTELEM *block/*align 16*/, - UINT8 *pixels/*align 8*/, int line_size); - #define AANSCALE_BITS 12 static const unsigned short aanscales[64] = { /* precomputed values scaled up by 14 bits */ diff -r 979f3cbd08a2 -r 0c32f81b42b2 fft-test.c --- a/fft-test.c Tue Jan 07 23:47:09 2003 +0000 +++ b/fft-test.c Tue Jan 07 23:49:40 2003 +0000 @@ -1,7 +1,7 @@ /* FFT and MDCT tests */ #include "dsputil.h" #include -#include +#include #include int mm_flags; diff -r 979f3cbd08a2 -r 0c32f81b42b2 motion_test.c --- a/motion_test.c Tue Jan 07 23:47:09 2003 +0000 +++ b/motion_test.c Tue Jan 07 23:49:40 2003 +0000 @@ -4,7 +4,6 @@ #include #include #include -#include #include "dsputil.h"