DOUBLE_PRECISION and MIXED_PRECISION no longer need to be defined
This commit is contained in:
parent
bc272de74b
commit
f81a60ca56
5 changed files with 5 additions and 42 deletions
|
@ -83,13 +83,8 @@ void clt_mdct_init(mdct_lookup *l,int N, int maxshift)
|
|||
return;
|
||||
/* We have enough points that sine isn't necessary */
|
||||
#if defined(FIXED_POINT)
|
||||
#if defined(DOUBLE_PRECISION) & !defined(MIXED_PRECISION)
|
||||
for (i=0;i<=N4;i++)
|
||||
l->trig[i] = SAMP_MAX*cos(2*M_PI*i/N);
|
||||
#else
|
||||
for (i=0;i<=N4;i++)
|
||||
l->trig[i] = TRIG_UPSCALE*celt_cos_norm(DIV32(ADD32(SHL32(EXTEND32(i),17),N2),N));
|
||||
#endif
|
||||
#else
|
||||
for (i=0;i<=N4;i++)
|
||||
l->trig[i] = cos(2*M_PI*i/N);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue