From d67e25d3b9a9c85b6fcd9a6465a3bbd825a7e6d0 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 21 Feb 2010 21:18:05 +0000 Subject: 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 --- apps/codecs/libcook/cookdata_fixpoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libcook/cookdata_fixpoint.h') 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] = { * 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 -- cgit v1.2.3