aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-09-10 23:00:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-09-10 23:00:13 +0000
commit434df899fe115a6f5b1b37badd62364586fee776 (patch)
tree4a70a5fd105691aac9d315c0a7b42b13eb681354 /libavcodec/dct-test.c
parentcd7af76d9ecb1ef3e18c5b224970a2a94e9baf06 (diff)
downloadffmpeg-434df899fe115a6f5b1b37badd62364586fee776.tar.gz
add xvid idcts to dct-test
Originally committed as revision 4576 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r--libavcodec/dct-test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 649f15de67..bac307da9b 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -20,9 +20,15 @@
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
+#undef printf
+
+void *fast_memcpy(void *a, const void *b, size_t c){return memcpy(a,b,c);};
+
/* reference fdct/idct */
extern void fdct(DCTELEM *block);
extern void idct(DCTELEM *block);
+extern void ff_idct_xvid_mmx(DCTELEM *block);
+extern void ff_idct_xvid_mmx2(DCTELEM *block);
extern void init_fdct();
extern void j_rev_dct(DCTELEM *data);
@@ -493,6 +499,8 @@ int main(int argc, char **argv)
dct_error("LIBMPEG2-MMXEXT", 1, ff_mmxext_idct, idct, test);
dct_error("SIMPLE-C", 1, simple_idct, idct, test);
dct_error("SIMPLE-MMX", 1, ff_simple_idct_mmx, idct, test);
+ dct_error("XVID-MMX", 1, ff_idct_xvid_mmx, idct, test);
+ dct_error("XVID-MMX2", 1, ff_idct_xvid_mmx2, idct, test);
// dct_error("ODIVX-C", 1, odivx_idct_c, idct);
//printf(" test against odivx idct\n");
// dct_error("REF", 1, idct, odivx_idct_c);