Fully remove floating point code from libmusepack. Introduce two small const arrays for precalculated scalefactors, correct the integer type of scalefactors to unsigned, migrate some metadata calculations to fixed point. No impact to decoder output.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30497 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-09-10 20:35:04 +00:00
parent d4249affc4
commit f163b405c0
6 changed files with 75 additions and 15 deletions

View file

@ -91,7 +91,7 @@ struct mpc_decoder_t {
MPC_SAMPLE_FORMAT *V_R;
MPC_SAMPLE_FORMAT *Y_L;
MPC_SAMPLE_FORMAT *Y_R;
MPC_SAMPLE_FORMAT SCF[256]; ///< holds adapted scalefactors (for clipping prevention)
mpc_uint32_t SCF[256]; ///< holds adapted scalefactors (for clipping prevention)
//@}
};