Move skip coding into interp_bits2pulses().
This allows us to a) not pay a coding cost to avoid skipping bands that are stupid to skip (e.g., the first band, or bands that have so few bits that we wouldn't redistribute anything) and b) not reserve bits to pay that cost.
This commit is contained in:
parent
7cbf168c01
commit
b2f59009f6
3 changed files with 26 additions and 41 deletions
|
@ -103,7 +103,7 @@ celt_int16 **compute_alloc_cache(CELTMode *m, int M);
|
|||
@return Total number of bits allocated
|
||||
*/
|
||||
int compute_allocation(const CELTMode *m, int start, int end, int *offsets, int alloc_trim,
|
||||
int total, int *pulses, int *ebits, int *fine_priority, int _C, int LM, int *skip, int prev);
|
||||
int total, int *pulses, int *ebits, int *fine_priority, int _C, int LM, void *ec, int encode, int prev);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue