Searched refs:fine_quant (Results 1 – 4 of 4) sorted by relevance
/external/libopus/celt/ |
D | quant_bands.c | 361 …*m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, ec_enc *enc, in… in quant_fine_energy() argument 368 opus_int16 frac = 1<<fine_quant[i]; in quant_fine_energy() 369 if (fine_quant[i] <= 0) in quant_fine_energy() 377 q2 = (error[i+c*m->nbEBands]+QCONST16(.5f,DB_SHIFT))>>(DB_SHIFT-fine_quant[i]); in quant_fine_energy() 385 ec_enc_bits(enc, q2, fine_quant[i]); in quant_fine_energy() 387 …offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.… in quant_fine_energy() 389 offset = (q2+.5f)*(1<<(14-fine_quant[i]))*(1.f/16384) - .5f; in quant_fine_energy() 398 …*m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, int *fine_prior… in quant_energy_finalise() argument 407 if (fine_quant[i] >= MAX_FINE_BITS || fine_priority[i]!=prio) in quant_energy_finalise() 416 offset = SHR16(SHL16(q2,DB_SHIFT)-QCONST16(.5f,DB_SHIFT),fine_quant[i]+1); in quant_energy_finalise() [all …]
|
D | quant_bands.h | 56 …*m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, ec_enc *enc, in… 58 …*m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, int *fine_prior… 62 …rgy(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int *fine_quant, ec_dec *dec, in… 64 …ise(const CELTMode *m, int start, int end, opus_val16 *oldEBands, int *fine_quant, int *fine_prior…
|
D | celt_decoder.c | 826 VARDECL(int, fine_quant); 1051 ALLOC(fine_quant, nbEBands, int); 1064 fine_quant, fine_priority, C, LM, dec, 0, 0, 0); 1066 unquant_fine_energy(mode, start, end, oldBandE, fine_quant, dec, C); 1094 fine_quant, fine_priority, len*8-ec_tell(dec), dec, C);
|
D | celt_encoder.c | 1419 VARDECL(int, fine_quant); in celt_encode_with_ec() 2166 ALLOC(fine_quant, nbEBands, int); in celt_encode_with_ec() 2196 fine_quant, fine_priority, C, LM, enc, 1, st->lastCodedBands, signalBandwidth); in celt_encode_with_ec() 2202 quant_fine_energy(mode, start, end, oldBandE, error, fine_quant, enc, C); in celt_encode_with_ec() 2219 …quant_energy_finalise(mode, start, end, oldBandE, error, fine_quant, fine_priority, nbCompressedBy… in celt_encode_with_ec()
|