diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-01-07 23:49:40 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-07 23:49:40 +0000 |
commit | e366e6795d6e2343a744458f945a396171b07bd8 (patch) | |
tree | 0521e8fa43817f10f4015b90dbf6be9a896dda91 /libavcodec | |
parent | 9ebc63a96743385b9e4eec89321fd6ac931b74cd (diff) | |
download | ffmpeg-e366e6795d6e2343a744458f945a396171b07bd8.tar.gz |
suppressed getopt.h
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dct-test.c | 11 | ||||
-rw-r--r-- | libavcodec/fft-test.c | 2 | ||||
-rw-r--r-- | libavcodec/motion_test.c | 1 |
3 files changed, 5 insertions, 9 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index e36a9a07f0..c13a1ed65a 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -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 ff_mmxext_idct(DCTELEM *data); 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 --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c index 55bcd8a188..98a38e1f95 100644 --- a/libavcodec/fft-test.c +++ b/libavcodec/fft-test.c @@ -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; diff --git a/libavcodec/motion_test.c b/libavcodec/motion_test.c index 14df28e8ea..6151ef9896 100644 --- a/libavcodec/motion_test.c +++ b/libavcodec/motion_test.c @@ -4,7 +4,6 @@ #include <string.h> #include <sys/time.h> #include <unistd.h> -#include <getopt.h> #include "dsputil.h" |