summaryrefslogtreecommitdiff
path: root/apps/codecs/libcook/cookdata_fixpoint.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-21 21:18:05 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-21 21:18:05 +0000
commitd67e25d3b9a9c85b6fcd9a6465a3bbd825a7e6d0 (patch)
tree526dc1de5d988761b8cb7e95f500ce7d9ba96849 /apps/codecs/libcook/cookdata_fixpoint.h
parent0b5338a6e9097c98223ea1e06b962b1cc78ea57b (diff)
downloadrockbox-d67e25d3b9a9c85b6fcd9a6465a3bbd825a7e6d0.tar.gz
rockbox-d67e25d3b9a9c85b6fcd9a6465a3bbd825a7e6d0.zip
Further work on cook codec. Rounding is not needed when using a large fract part in the internal sample representation. Move quantization array to iram. Beautification of mdct post processing. Speed up of 0.2 MHz on PP5022.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24821 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/cookdata_fixpoint.h')
-rw-r--r--apps/codecs/libcook/cookdata_fixpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libcook/cookdata_fixpoint.h b/apps/codecs/libcook/cookdata_fixpoint.h
index 1bb0686306..b58666031d 100644
--- a/apps/codecs/libcook/cookdata_fixpoint.h
+++ b/apps/codecs/libcook/cookdata_fixpoint.h
@@ -65,7 +65,7 @@ static const FIXPU pow128_tab[128] = {
65 * Index 2: [0..7] - category 65 * Index 2: [0..7] - category
66 * Index 3: [0] - dither_table, [1..13] - quant_centroid_table 66 * Index 3: [0] - dither_table, [1..13] - quant_centroid_table
67 */ 67 */
68static const FIXP quant_tables[2][8][14] = {{{ 68static const FIXP quant_tables[2][8][14] ICONST_ATTR = {{{
69 0x00000000, 0x0645a1cb, 0x0c2d0e56, 0x11eb851f, 0x17a1cac1, 0x1d4fdf3b, 69 0x00000000, 0x0645a1cb, 0x0c2d0e56, 0x11eb851f, 0x17a1cac1, 0x1d4fdf3b,
70 0x22ed9168, 0x28a7ef9e, 0x2e49ba5e, 0x33eb851f, 0x39916873, 0x3f126e98, 70 0x22ed9168, 0x28a7ef9e, 0x2e49ba5e, 0x33eb851f, 0x39916873, 0x3f126e98,
71 0x449ba5e3, 0x4b958106 71 0x449ba5e3, 0x4b958106