Home
last modified time | relevance | path

Searched refs:quant_energy (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dacelp_pitch_delay.c74 int16_t* quant_energy, in ff_acelp_update_past_gain() argument
80 int avg_gain=quant_energy[(1 << log2_ma_pred_order) - 1]; // (5.10) in ff_acelp_update_past_gain()
84 avg_gain += quant_energy[i-1]; in ff_acelp_update_past_gain()
85 quant_energy[i] = quant_energy[i-1]; in ff_acelp_update_past_gain()
89quant_energy[0] = FFMAX(avg_gain >> log2_ma_pred_order, -10240) - 4096; // -10 and -4 in (5.10) in ff_acelp_update_past_gain()
91 quant_energy[0] = (6165 * ((ff_log2_q15(gain_corr_factor) >> 2) - (13 << 13))) >> 13; in ff_acelp_update_past_gain()
99 const int16_t* quant_energy, in ff_acelp_decode_gain_code() argument
109 mr_energy += quant_energy[i] * ma_prediction_coeff[i]; in ff_acelp_decode_gain_code()
Dacelp_pitch_delay.h135 int16_t* quant_energy,
216 const int16_t* quant_energy,
Dg729dec.c118 int16_t quant_energy[4]; ///< (5.10) past quantized energy member
391 ctx->quant_energy[i] = -14336; // -14 in (5.10) in decoder_init()
606 ctx->quant_energy, in decode_frame()
625 ff_acelp_update_past_gain(ctx->quant_energy, gain_corr_factor, 2, frame_erasure); in decode_frame()
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()