diff options
author | Måns Rullgård <mans@mansr.com> | 2008-12-16 23:00:07 +0300 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-12-16 23:00:07 +0300 |
commit | 479044cea56647cfb8d19ae43b28e2f908e286d0 (patch) | |
tree | df57c2d645a7cbe62970cec5ea61ca0487585e72 /libavcodec/dct-test.c | |
parent | 875f31259b8d14d091002a980eb722ef06f4d2f8 (diff) |
dct-test: add ARM IDCTs
Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 69195e497d..a86109bdc0 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -63,6 +63,12 @@ void ff_bfin_fdct(DCTELEM *block); 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 @@ struct algo algos[] = { {"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 } }; |