Lines Matching defs:nsf
282 float pitch_coef, const void *par, int nsf,
288 for (int i = 0; i < nsf; i++) {
311 static void noise_codebook_unquant(float *exc, const void *par, int nsf,
314 for (int i = 0; i < nsf; i++)
318 static void split_cb_shape_sign_unquant(float *exc, const void *par, int nsf,
354 const void *par, int nsf, int *pitch_val, float *gain_val, GetBitContext *gb,
391 SPEEX_MEMSET(exc_out, 0, nsf);
396 tmp1 = nsf;
401 tmp3 = nsf;
738 static void multicomb(const float *exc, float *new_exc, float *ak, int p, int nsf,
752 interp_pitch(exc, iexc + nsf, 2 * corr_pitch, 80);
754 interp_pitch(exc, iexc + nsf, -corr_pitch, 80);
756 iexc0_mag = sqrtf(1000.f + inner_prod(iexc, iexc, nsf));
757 iexc1_mag = sqrtf(1000.f + inner_prod(iexc + nsf, iexc + nsf, nsf));
758 exc_mag = sqrtf(1.f + inner_prod(exc, exc, nsf));
759 corr0 = inner_prod(iexc, exc, nsf);
760 corr1 = inner_prod(iexc + nsf, exc, nsf);
791 for (int i = 0; i < nsf; i++)
792 new_exc[i] = exc[i] + (gain0 * iexc[i]) + (gain1 * iexc[i + nsf]);
793 new_ener = compute_rms(new_exc, nsf);
794 old_ener = compute_rms(exc, nsf);
801 for (int i = 0; i < nsf; i++)