Commit e8c80371 authored by mru's avatar mru

dct-test: add ARM IDCTs

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16170 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a0596191
...@@ -63,6 +63,12 @@ void ff_bfin_fdct(DCTELEM *block); ...@@ -63,6 +63,12 @@ void ff_bfin_fdct(DCTELEM *block);
void fdct_altivec(DCTELEM *block); void fdct_altivec(DCTELEM *block);
//void idct_altivec(DCTELEM *block);?? no routine //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 { struct algo {
const char *name; const char *name;
...@@ -117,6 +123,20 @@ struct algo algos[] = { ...@@ -117,6 +123,20 @@ struct algo algos[] = {
{"BFINidct", 1, ff_bfin_idct, idct, NO_PERM}, {"BFINidct", 1, ff_bfin_idct, idct, NO_PERM},
#endif #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 } { 0 }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment