aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-07 23:49:40 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-07 23:49:40 +0000
commite366e6795d6e2343a744458f945a396171b07bd8 (patch)
tree0521e8fa43817f10f4015b90dbf6be9a896dda91 /libavcodec/dct-test.c
parent9ebc63a96743385b9e4eec89321fd6ac931b74cd (diff)
downloadffmpeg-e366e6795d6e2343a744458f945a396171b07bd8.tar.gz
suppressed getopt.h
Originally committed as revision 1422 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c11
1 files changed, 4 insertions, 7 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 */