diff options
| author | Dan Everton <dan@iocaine.org> | 2007-07-09 11:18:10 +0000 |
|---|---|---|
| committer | Dan Everton <dan@iocaine.org> | 2007-07-09 11:18:10 +0000 |
| commit | 07fabd1cd1f2173d93cb1b3962da7d11ca80c569 (patch) | |
| tree | 2a24deacde8e70f1da71aa1a53b8f0832fa3d6f3 /apps/codecs/libspeex/hexc_table.c | |
| parent | 85aa3a8d381ac980b49699d49234e4df051813e5 (diff) | |
| download | rockbox-07fabd1cd1f2173d93cb1b3962da7d11ca80c569.zip rockbox-07fabd1cd1f2173d93cb1b3962da7d11ca80c569.tar.gz rockbox-07fabd1cd1f2173d93cb1b3962da7d11ca80c569.tar.bz2 rockbox-07fabd1cd1f2173d93cb1b3962da7d11ca80c569.tar.xz | |
ICONST_ATTR most constant tables in Speex. Results in a 10% improvement on Coldfire (200% to 220% realtime). Almost certainly not the best use of IRAM, but it works now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libspeex/hexc_table.c')
| -rw-r--r-- | apps/codecs/libspeex/hexc_table.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs/libspeex/hexc_table.c b/apps/codecs/libspeex/hexc_table.c index 268408a..98893f9 100644 --- a/apps/codecs/libspeex/hexc_table.c +++ b/apps/codecs/libspeex/hexc_table.c @@ -30,7 +30,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -const signed char hexc_table[1024] = { +#include "config-speex.h" + +const signed char hexc_table[1024] ICONST_ATTR = { -24, 21, -20, 5, -5, -7, 14, -10, 2, -27, 16, -20, 0, -32, 26, 19, 8, -11, -41, 31, 28, -27, -32, 34, |