diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-04 18:02:10 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-04 18:02:10 +0000 |
| commit | 46f85c4c547188d08fd90bad7734d38c654f13ea (patch) | |
| tree | f868536dccac3a8d4047d11f29310e99b896b03b /apps/codecs/lib/codeclib.h | |
| parent | 6c608263d7e19ea9189e6812eed8fc29996b4ef2 (diff) | |
| download | rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.zip rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.gz rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.bz2 rockbox-46f85c4c547188d08fd90bad7734d38c654f13ea.tar.xz | |
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
Diffstat (limited to 'apps/codecs/lib/codeclib.h')
| -rw-r--r-- | apps/codecs/lib/codeclib.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |