s/SHL/SHL16/
This commit is contained in:
parent
027ff070f0
commit
454d3d5959
1 changed files with 1 additions and 1 deletions
|
@ -1422,7 +1422,7 @@ int celt_encode_with_ec(CELTEncoder * restrict st, const opus_val16 * pcm, int f
|
||||||
compute_band_energies(st->mode, freq2, bandE2, effEnd, C, M);
|
compute_band_energies(st->mode, freq2, bandE2, effEnd, C, M);
|
||||||
amp2Log2(st->mode, effEnd, st->end, bandE2, bandLogE2, C);
|
amp2Log2(st->mode, effEnd, st->end, bandE2, bandLogE2, C);
|
||||||
for (i=0;i<C*st->mode->nbEBands;i++)
|
for (i=0;i<C*st->mode->nbEBands;i++)
|
||||||
bandLogE2[i] += HALF16(SHL(LM, DB_SHIFT));
|
bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT));
|
||||||
} else {
|
} else {
|
||||||
for (i=0;i<C*st->mode->nbEBands;i++)
|
for (i=0;i<C*st->mode->nbEBands;i++)
|
||||||
bandLogE2[i] = bandLogE[i];
|
bandLogE2[i] = bandLogE[i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue