Lines Matching refs:wsp
168 Word16 *wsp;
241 wsp = old_wsp + (PIT_MAX / OPL_DECIM);
424 * - Find the weighted input speech wsp[] for the whole speech frame *
425 * - scale wsp[] to avoid overflow in pitch estimation *
435 Residu_opt(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR);
437 Residu(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR);
443 Deemph2(wsp, TILT_FAC, L_FRAME, &(st->mem_wsp));
445 /* find maximum value on wsp[] for 12 bits scaling */
449 tmp = abs_s(wsp[i]);
467 /* decimation of wsp[] to search pitch in LF and to reduce complexity */
468 LP_Decim2(wsp, L_FRAME, st->mem_decim2);
470 /* scale wsp[] in 12 bits to avoid overflow */
472 Scale_sig_opt(wsp, L_FRAME / OPL_DECIM, shift);
474 Scale_sig(wsp, L_FRAME / OPL_DECIM, shift);
490 T_op = Pitch_med_ol(wsp, st, L_FRAME / OPL_DECIM);
494 T_op = Pitch_med_ol(wsp, st, (L_FRAME/2) / OPL_DECIM);
517 T_op2 = Pitch_med_ol(wsp + ((L_FRAME / 2) / OPL_DECIM), st, (L_FRAME/2) / OPL_DECIM);
584 * -> save past of speech[] and wsp[]. *
1320 * -> save past of speech[], wsp[] and exc[]. *