Home | History | Annotate | Download | only in src

Lines Matching refs:wsp

166 	Word16 *wsp;
239 wsp = old_wsp + (PIT_MAX / OPL_DECIM);
422 * - Find the weighted input speech wsp[] for the whole speech frame *
423 * - scale wsp[] to avoid overflow in pitch estimation *
433 Residu_opt(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR);
435 Residu(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR);
441 Deemph2(wsp, TILT_FAC, L_FRAME, &(st->mem_wsp));
443 /* find maximum value on wsp[] for 12 bits scaling */
447 tmp = abs_s(wsp[i]);
465 /* decimation of wsp[] to search pitch in LF and to reduce complexity */
466 LP_Decim2(wsp, L_FRAME, st->mem_decim2);
468 /* scale wsp[] in 12 bits to avoid overflow */
470 Scale_sig_opt(wsp, L_FRAME / OPL_DECIM, shift);
472 Scale_sig(wsp, L_FRAME / OPL_DECIM, shift);
488 T_op = Pitch_med_ol(wsp, st, L_FRAME / OPL_DECIM);
492 T_op = Pitch_med_ol(wsp, st, (L_FRAME/2) / OPL_DECIM);
515 T_op2 = Pitch_med_ol(wsp + ((L_FRAME / 2) / OPL_DECIM), st, (L_FRAME/2) / OPL_DECIM);
582 * -> save past of speech[] and wsp[]. *
1314 * -> save past of speech[], wsp[] and exc[]. *