From 46f85c4c547188d08fd90bad7734d38c654f13ea Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Thu, 4 Sep 2008 18:02:10 +0000 Subject: Combine the Vorbis, WMA and AAC IMDCT functions and put them into the codeclib. Combined IMDCT is now based on existing Tremor transform. Reduces CPU for 192k AAC by 21MHz on Coldfire, and 5MHz on PP5024. WMA and Vorbis should have no functional changes since they already used this code. Further optimization is possible and would benefit all 3 codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18412 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/lib/codeclib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/codecs/lib/codeclib.h') diff --git a/apps/codecs/lib/codeclib.h b/apps/codecs/lib/codeclib.h index 1d95486..87cc926 100644 --- a/apps/codecs/lib/codeclib.h +++ b/apps/codecs/lib/codeclib.h @@ -55,6 +55,10 @@ void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, con #define abs(x) ((x)>0?(x):-(x)) #define labs(x) abs(x) +/*MDCT library functions*/ + +extern void mdct_backward(int n, int32_t *in, int32_t *out); + /* Various codec helper functions */ int codec_init(void); -- cgit v1.1