Searched refs:fine_quant (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/opus/src/celt/ |
D | quant_bands.c | 357 …*m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, ec_enc *enc, in… in quant_fine_energy() argument 364 opus_int16 frac = 1<<fine_quant[i]; in quant_fine_energy() 365 if (fine_quant[i] <= 0) in quant_fine_energy() 373 q2 = (error[i+c*m->nbEBands]+QCONST16(.5f,DB_SHIFT))>>(DB_SHIFT-fine_quant[i]); in quant_fine_energy() 381 ec_enc_bits(enc, q2, fine_quant[i]); in quant_fine_energy() 383 …offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.… in quant_fine_energy() 385 offset = (q2+.5f)*(1<<(14-fine_quant[i]))*(1.f/16384) - .5f; in quant_fine_energy() 394 …*m, int start, int end, opus_val16 *oldEBands, opus_val16 *error, int *fine_quant, int *fine_prior… in quant_energy_finalise() argument 403 if (fine_quant[i] >= MAX_FINE_BITS || fine_priority[i]!=prio) in quant_energy_finalise() 412 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 | 661 VARDECL(int, fine_quant); 877 ALLOC(fine_quant, nbEBands, int); 890 fine_quant, fine_priority, C, LM, dec, 0, 0, 0); 892 unquant_fine_energy(mode, st->start, st->end, oldBandE, fine_quant, dec, C); 908 fine_quant, fine_priority, len*8-ec_tell(dec), dec, C);
|
D | celt_encoder.c | 1245 VARDECL(int, fine_quant); in celt_encode_with_ec() 1903 ALLOC(fine_quant, nbEBands, int); in celt_encode_with_ec() 1933 fine_quant, fine_priority, C, LM, enc, 1, st->lastCodedBands, signalBandwidth); in celt_encode_with_ec() 1939 quant_fine_energy(mode, st->start, st->end, oldBandE, error, fine_quant, enc, C); in celt_encode_with_ec() 1955 …quant_energy_finalise(mode, st->start, st->end, oldBandE, error, fine_quant, fine_priority, nbComp… in celt_encode_with_ec()
|