forked from len0rd/rockbox
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
|
@ -251,7 +251,7 @@ static void mpc_decoder_setup(mpc_decoder *d)
|
|||
memset(d->Y_L, 0, sizeof(g_Y_L));
|
||||
memset(d->Y_R, 0, sizeof(g_Y_R));
|
||||
|
||||
mpc_decoder_init_quant(d, 1.0f);
|
||||
mpc_decoder_init_quant(d, MAKE_MPC_SAMPLE(1.0));
|
||||
}
|
||||
|
||||
static void mpc_decoder_set_streaminfo(mpc_decoder *d, mpc_streaminfo *si)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue