1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2010-02-21 21:18:05 +00:00
parent 0b5338a6e9
commit d67e25d3b9
2 changed files with 15 additions and 24 deletions

View file

@ -65,7 +65,7 @@ static const FIXPU pow128_tab[128] = {
* Index 2: [0..7] - category
* Index 3: [0] - dither_table, [1..13] - quant_centroid_table
*/
static const FIXP quant_tables[2][8][14] = {{{
static const FIXP quant_tables[2][8][14] ICONST_ATTR = {{{
0x00000000, 0x0645a1cb, 0x0c2d0e56, 0x11eb851f, 0x17a1cac1, 0x1d4fdf3b,
0x22ed9168, 0x28a7ef9e, 0x2e49ba5e, 0x33eb851f, 0x39916873, 0x3f126e98,
0x449ba5e3, 0x4b958106