Better tuning for 5 ms frames
This commit is contained in:
parent
4b087df592
commit
bad42a7d05
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ int compute_allocation(const CELTMode *m, int start, int end, int *offsets, int
|
||||||
thresh[j] = 2*(C*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>3;
|
thresh[j] = 2*(C*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>3;
|
||||||
/* Tilt of the allocation curve */
|
/* Tilt of the allocation curve */
|
||||||
for (j=start;j<end;j++)
|
for (j=start;j<end;j++)
|
||||||
trim_offset[j] = C*(m->eBands[j+1]-m->eBands[j])*(alloc_trim-2-2*LM)*(m->nbEBands-j-1)
|
trim_offset[j] = C*(m->eBands[j+1]-m->eBands[j])*(alloc_trim-5-LM)*(m->nbEBands-j-1)
|
||||||
<<(LM+BITRES)>>6;
|
<<(LM+BITRES)>>6;
|
||||||
|
|
||||||
lo = 0;
|
lo = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue