From f93530c4badf0811110baaee1e196a67f0e98eb8 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Mon, 12 Sep 2011 11:27:48 +0000 Subject: codeclib: coldfire asm for the TRANSFORM* functions in the fft and a little for the mdct, speeds up codecs using the codeclib mdct 0.5-1.5MHz on h300. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30513 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/lib/mdct.c | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) (limited to 'apps/codecs/lib/mdct.c') diff --git a/apps/codecs/lib/mdct.c b/apps/codecs/lib/mdct.c index 8382a7213d..621b9cbbb8 100644 --- a/apps/codecs/lib/mdct.c +++ b/apps/codecs/lib/mdct.c @@ -134,12 +134,50 @@ void ff_imdct_half(unsigned int nbits, fixed32 *output, const fixed32 *input) } else { - T = sincos_lookup1; - newstep = 2; + T = sincos_lookup1; + newstep = 2; } while(z1