changeset 980:0c32f81b42b2 libavcodec

suppressed getopt.h
author bellard
date Tue, 07 Jan 2003 23:49:40 +0000
parents 979f3cbd08a2
children 8bec850dc9c7
files dct-test.c fft-test.c motion_test.c
diffstat 3 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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 <string.h>
 #include <sys/time.h>
 #include <unistd.h>
-#include <getopt.h>
 
 #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 */
--- 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 <math.h>
-#include <getopt.h>
+#include <unistd.h>
 #include <sys/time.h>
 
 int mm_flags;
--- 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 <string.h>
 #include <sys/time.h>
 #include <unistd.h>
-#include <getopt.h>
 
 #include "dsputil.h"