summaryrefslogtreecommitdiff
path: root/apps/codecs/libcook/cook_fixpoint.h
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-22 19:03:58 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-22 19:03:58 +0000
commit6117ffdde52b5ae31bdf3d36277b7a84aec133db (patch)
treeef6e507efa31ff28be73b773be1eeba9c0856329 /apps/codecs/libcook/cook_fixpoint.h
parent8531380de420291fb9bb88c5bb847fa3ef47b177 (diff)
downloadrockbox-6117ffdde52b5ae31bdf3d36277b7a84aec133db.zip
rockbox-6117ffdde52b5ae31bdf3d36277b7a84aec133db.tar.gz
rockbox-6117ffdde52b5ae31bdf3d36277b7a84aec133db.tar.bz2
rockbox-6117ffdde52b5ae31bdf3d36277b7a84aec133db.tar.xz
Submit FS#12115: Use more IRAM in cook codec for several targets. Speeds up PP5022 and MCF5250 by ~3% and S5L87.0x by ~4%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29913 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook/cook_fixpoint.h')
-rw-r--r--apps/codecs/libcook/cook_fixpoint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/codecs/libcook/cook_fixpoint.h b/apps/codecs/libcook/cook_fixpoint.h
index 1824090..c8a17c6 100644
--- a/apps/codecs/libcook/cook_fixpoint.h
+++ b/apps/codecs/libcook/cook_fixpoint.h
@@ -120,6 +120,11 @@ static inline int av_clip(int a, int amin, int amax)
* @param subband_coef_sign use random noise instead of predetermined value
* @param mlt_ptr pointer to the mlt coefficients
*/
+
+static void scalar_dequant_math(COOKContext *q, int index,
+ int quant_index, int* subband_coef_index,
+ int* subband_coef_sign, REAL_T *mlt_p)
+ ICODE_ATTR_COOK_DECODE;
static void scalar_dequant_math(COOKContext *q, int index,
int quant_index, int* subband_coef_index,
int* subband_coef_sign, REAL_T *mlt_p)