changeset 8351:91b681b7b6be libavcodec

dct-test: add ARM IDCTs
author mru
date Tue, 16 Dec 2008 20:00:07 +0000
parents 583f32e6f4b5
children 82790b28b6e0
files dct-test.c
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Tue Dec 16 19:59:50 2008 +0000
+++ b/dct-test.c	Tue Dec 16 20:00:07 2008 +0000
@@ -63,6 +63,12 @@
 void fdct_altivec(DCTELEM *block);
 //void idct_altivec(DCTELEM *block);?? no routine
 
+// ARM
+void j_rev_dct_ARM(DCTELEM *data);
+void simple_idct_ARM(DCTELEM *data);
+void simple_idct_armv5te(DCTELEM *data);
+void ff_simple_idct_armv6(DCTELEM *data);
+void ff_simple_idct_neon(DCTELEM *data);
 
 struct algo {
   const char *name;
@@ -117,6 +123,20 @@
   {"BFINidct",        1, ff_bfin_idct,       idct, NO_PERM},
 #endif
 
+#ifdef ARCH_ARMV4L
+  {"SIMPLE-ARM",      1, simple_idct_ARM,    idct, NO_PERM },
+  {"INT-ARM",         1, j_rev_dct_ARM,      idct, MMX_PERM },
+#ifdef HAVE_ARMV5TE
+  {"SIMPLE-ARMV5TE",  1, simple_idct_armv5te, idct, NO_PERM },
+#endif
+#ifdef HAVE_ARMV6
+  {"SIMPLE-ARMV6",    1, ff_simple_idct_armv6, idct, MMX_PERM },
+#endif
+#ifdef HAVE_NEON
+  {"SIMPLE-NEON",     1, ff_simple_idct_neon, idct, PARTTRANS_PERM },
+#endif
+#endif /* ARCH_ARMV4L */
+
   { 0 }
 };