summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libspeex/nb_celp.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-10-22 23:44:19 +0000
committerThom Johansen <thomj@rockbox.org>2007-10-22 23:44:19 +0000
commit9d9225ed1ddefab985ab3ffd7e77bccf979f1c5b (patch)
tree19e01cb71c3da504525eea6fd0d8836493b2ae12 /apps/codecs/libspeex/nb_celp.c
parent4b259e9553c644e6af393042a728dd4b74da20a9 (diff)
downloadrockbox-9d9225ed1ddefab985ab3ffd7e77bccf979f1c5b.tar.gz
rockbox-9d9225ed1ddefab985ab3ffd7e77bccf979f1c5b.tar.bz2
rockbox-9d9225ed1ddefab985ab3ffd7e77bccf979f1c5b.zip
iir_mem16() in assembler for Coldfire for a decent performance boost. Add EMAC init in nb_celp.c, since all modes need this as a base.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/nb_celp.c')
-rw-r--r--apps/codecs/libspeex/nb_celp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/libspeex/nb_celp.c b/apps/codecs/libspeex/nb_celp.c
index 0798ffbcf4..5d167a2aa3 100644
--- a/apps/codecs/libspeex/nb_celp.c
+++ b/apps/codecs/libspeex/nb_celp.c
@@ -1108,6 +1108,9 @@ void *nb_decoder_init(const SpeexMode *m)
st->isWideband = 0;
st->highpass_enabled = 1;
+#ifdef CPU_COLDFIRE
+ coldfire_set_macsr(0); // Integer mode
+#endif
#ifdef ENABLE_VALGRIND
VALGRIND_MAKE_READABLE(st, NB_DEC_STACK);
#endif