Home
last modified time | relevance | path

Searched refs:max_decay (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/
Dquant_bands.c160 int C, int LM, int intra, opus_val16 max_decay, int lfe) in quant_coarse_energy_impl() argument
198 SUB32((opus_val32)oldEBands[i+c*m->nbEBands],max_decay))); in quant_coarse_energy_impl()
203 decay_bound = MAX16(-QCONST16(28.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]) - max_decay; in quant_coarse_energy_impl()
267 opus_val16 max_decay; in quant_coarse_energy() local
285 max_decay = QCONST16(16.f,DB_SHIFT); in quant_coarse_energy()
289 max_decay = MIN32(max_decay, SHL32(EXTEND32(nbAvailableBytes),DB_SHIFT-3)); in quant_coarse_energy()
291 max_decay = MIN32(max_decay, .125f*nbAvailableBytes); in quant_coarse_energy()
295 max_decay=3; in quant_coarse_energy()
305 tell, e_prob_model[LM][1], error_intra, enc, C, LM, 1, max_decay, lfe); in quant_coarse_energy()
336 tell, e_prob_model[LM][intra], error, enc, C, LM, 0, max_decay, lfe); in quant_coarse_energy()
/external/libopus/celt/
Dquant_bands.c160 int C, int LM, int intra, opus_val16 max_decay, int lfe) in quant_coarse_energy_impl() argument
198 SUB32((opus_val32)oldEBands[i+c*m->nbEBands],max_decay))); in quant_coarse_energy_impl()
203 decay_bound = MAX16(-QCONST16(28.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]) - max_decay; in quant_coarse_energy_impl()
267 opus_val16 max_decay; in quant_coarse_energy() local
285 max_decay = QCONST16(16.f,DB_SHIFT); in quant_coarse_energy()
289 max_decay = MIN32(max_decay, SHL32(EXTEND32(nbAvailableBytes),DB_SHIFT-3)); in quant_coarse_energy()
291 max_decay = MIN32(max_decay, .125f*nbAvailableBytes); in quant_coarse_energy()
295 max_decay=3; in quant_coarse_energy()
305 tell, e_prob_model[LM][1], error_intra, enc, C, LM, 1, max_decay, lfe); in quant_coarse_energy()
336 tell, e_prob_model[LM][intra], error, enc, C, LM, 0, max_decay, lfe); in quant_coarse_energy()