Searched refs:codedBands (Results 1 – 5 of 5) sorted by relevance
/external/libopus/celt/ |
D | rate.c | 258 int codedBands=-1; in interp_bits2pulses() local 315 for (codedBands=end;;codedBands--) in interp_bits2pulses() 320 j = codedBands-1; in interp_bits2pulses() 336 percoeff = left/(m->eBands[codedBands]-m->eBands[start]); in interp_bits2pulses() 337 left -= (m->eBands[codedBands]-m->eBands[start])*percoeff; in interp_bits2pulses() 339 band_width = m->eBands[codedBands]-m->eBands[j]; in interp_bits2pulses() 356 …if (codedBands<=start+2 || (band_bits > ((j<prev?7:9)*band_width<<LM<<BITRES)>>4 && j<=signalBandw… in interp_bits2pulses() 386 celt_assert(codedBands > start); in interp_bits2pulses() 392 *intensity = IMIN(*intensity, codedBands); in interp_bits2pulses() 393 ec_enc_uint(ec, *intensity-start, codedBands+1-start); in interp_bits2pulses() [all …]
|
D | bands.h | 104 … opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int M, int codedBands, opus_uint32 *seed);
|
D | celt_decoder.c | 681 int codedBands; local 888 codedBands = compute_allocation(mode, st->start, st->end, offsets, cap, 900 len*(8<<BITRES)-anti_collapse_rsv, balance, dec, LM, codedBands, &st->rng);
|
D | celt_encoder.c | 1277 int codedBands; in celt_encode_with_ec() local 1953 codedBands = compute_allocation(mode, st->start, st->end, offsets, cap, in celt_encode_with_ec() 1957 st->lastCodedBands = IMIN(st->lastCodedBands+1,IMAX(st->lastCodedBands-1,codedBands)); in celt_encode_with_ec() 1959 st->lastCodedBands = codedBands; in celt_encode_with_ec() 1967 nbCompressedBytes*(8<<BITRES)-anti_collapse_rsv, balance, enc, LM, codedBands, &st->rng); in celt_encode_with_ec()
|
D | bands.c | 1358 … opus_int32 total_bits, opus_int32 balance, ec_ctx *ec, int LM, int codedBands, opus_uint32 *seed) in quant_all_bands() argument 1429 if (i <= codedBands-1) in quant_all_bands() 1431 curr_balance = balance / IMIN(3, codedBands-i); in quant_all_bands()
|