Home
last modified time | relevance | path

Searched refs:mr_energy (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dacelp_pitch_delay.c57 int mr_energy, in ff_acelp_decode_gain_code() argument
65 mr_energy <<= 10; in ff_acelp_decode_gain_code()
68 mr_energy += quant_energy[i] * ma_prediction_coeff[i]; in ff_acelp_decode_gain_code()
71mr_energy += (((-6165LL * ff_log2(dsp->scalarproduct_int16(fc_v, fc_v, subframe_size, 0))) >> 3) &… in ff_acelp_decode_gain_code()
73 mr_energy = (5439 * (mr_energy >> 15)) >> 8; // (0.15) = (0.15) * (7.23) in ff_acelp_decode_gain_code()
76 ((ff_exp2(mr_energy & 0x7fff) + 16) >> 5) * (gain_corr_factor >> 1), in ff_acelp_decode_gain_code()
77 (mr_energy >> 15) - 25 in ff_acelp_decode_gain_code()
80 mr_energy = gain_corr_factor * ff_exp10((double)mr_energy / (20 << 23)) / in ff_acelp_decode_gain_code()
82 return mr_energy >> 12; in ff_acelp_decode_gain_code()
Dsipr16k.c162 float mr_energy, const float *quant_energy, in acelp_decode_gain_codef() argument
166 mr_energy += avpriv_scalarproduct_float_c(quant_energy, ma_prediction_coeff, in acelp_decode_gain_codef()
169 mr_energy = gain_corr_factor * exp(M_LN10 / 20. * mr_energy) / in acelp_decode_gain_codef()
171 return mr_energy; in acelp_decode_gain_codef()
Dacelp_pitch_delay.h238 int mr_energy,