Lines Matching defs:lpcs

590  * @param lpcs LPC coefficients
594 static float tilt_factor(const float *lpcs, int n_lpcs)
598 rh0 = 1.0 + avpriv_scalarproduct_float_c(lpcs, lpcs, n_lpcs);
599 rh1 = lpcs[0] + avpriv_scalarproduct_float_c(lpcs, &lpcs[1], n_lpcs - 1);
607 static void calc_input_response(WMAVoiceContext *s, float *lpcs,
615 s->rdft.rdft_calc(&s->rdft, lpcs);
620 log_range(last_coeff, lpcs[1] * lpcs[1]);
622 log_range(lpcs[n], lpcs[n * 2] * lpcs[n * 2] +
623 lpcs[n * 2 + 1] * lpcs[n * 2 + 1]);
624 log_range(lpcs[0], lpcs[0] * lpcs[0]);
627 lpcs[64] = last_coeff;
641 idx = lrint((max - lpcs[n]) * irange - 1);
644 lpcs[n] = angle_mul * pwr;
660 s->dct.dct_calc(&s->dct, lpcs);
661 s->dst.dct_calc(&s->dst, lpcs);
664 idx = 255 + av_clip(lpcs[64], -255, 255);
666 idx = 255 + av_clip(lpcs[64] - 2 * lpcs[63], -255, 255);
669 idx = 255 + av_clip(-lpcs[64] - 2 * lpcs[n - 1], -255, 255);
675 idx = 255 + av_clip( lpcs[64] - 2 * lpcs[n - 1], -255, 255);
724 * @param lpcs LPCs used to synthesize this frame's speech data
728 const float *lpcs)
737 memcpy(&tilted_lpcs[1], lpcs, sizeof(lpcs[0]) * s->lsps);
740 ff_tilt_compensation(&tilt_mem, 0.7 * tilt_factor(lpcs, s->lsps),
803 * @param lpcs Generated LPCs used for speech synthesis
810 const float *lpcs, float *zero_exc_pf,
820 ff_celp_lp_zero_synthesis_filterf(zero_exc_pf, lpcs, synth, size, s->lsps);
827 ff_celp_lp_synthesis_filterf(synth_pf, lpcs,
832 wiener_denoise(s, fcb_type, synth_pf, size, lpcs);
1450 float lpcs[MAX_LSPS];
1464 ff_acelp_lspd2lpc(i_lsps, lpcs, s->lsps >> 1);
1467 ff_celp_lp_synthesis_filterf(synth, lpcs, excitation, size, s->lsps);
1613 float lpcs[MAX_LSPS];
1620 ff_acelp_lspd2lpc(i_lsps, lpcs, s->lsps >> 1);
1621 postfilter(s, synth, samples, 80, lpcs,
1627 ff_acelp_lspd2lpc(i_lsps, lpcs, s->lsps >> 1);
1628 postfilter(s, &synth[80], &samples[80], 80, lpcs,