Lines Matching refs:lp_gn
412 * \param lp_gn (3.12) coefficients of A(z/FORMANT_PP_FACTOR_NUM) filter
422 * \note All members of lp_gn, except 10-19 must be equal to zero.
424 static int16_t get_tilt_comp(AudioDSPContext *adsp, int16_t *lp_gn,
433 lp_gn[10] = 4096; //1.0 in (3.12)
436 ff_celp_lp_synthesis_filter(lp_gn + 11, lp_gd + 1, lp_gn + 11, 22, 10, 0, 0, 0x800);
437 /* Now lp_gn (starting with 10) contains impulse response
440 rh0 = adsp->scalarproduct_int16(lp_gn + 10, lp_gn + 10, 20);
441 rh1 = adsp->scalarproduct_int16(lp_gn + 10, lp_gn + 11, 20);
455 gain_term += FFABS(lp_gn[i + 10]);
520 int16_t lp_gn[33]; // (3.12)
526 memset(lp_gn, 0, 33 * sizeof(int16_t));
530 lp_gn[i + 11] = (lp_filter_coeffs[i + 1] * formant_pp_factor_num_pow[i] + 0x4000) >> 15;
538 residual_filter(residual + RES_PREV_DATA_SIZE, lp_gn + 11, speech, subframe_size);
552 tilt_comp_coeff = get_tilt_comp(adsp, lp_gn, lp_gd, residual_filt_buf + 10, subframe_size);