mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 22:22:33 -05:00
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:
parent
d4249affc4
commit
f163b405c0
6 changed files with 75 additions and 15 deletions
|
|
@ -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)
|
||||
//@}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue