Lines Matching refs:nsf
358 int nsf, /* Number of samples in subframe */ in pitch_gain_search_3tap() argument
381 ALLOC(tmp1, 3*nsf, spx_word16_t); in pitch_gain_search_3tap()
382 ALLOC(e, nsf, spx_word16_t); in pitch_gain_search_3tap()
388 x[1]=tmp1+nsf; in pitch_gain_search_3tap()
389 x[2]=tmp1+2*nsf; in pitch_gain_search_3tap()
391 for (j=0;j<nsf;j++) in pitch_gain_search_3tap()
398 for (j=0;j<nsf;j++) in pitch_gain_search_3tap()
411 for (j=0;j<nsf;j++) in pitch_gain_search_3tap()
413 for (j=0;j<nsf;j++) in pitch_gain_search_3tap()
419 iir_mem16(e, ak, e, nsf, p, mm, stack); in pitch_gain_search_3tap()
422 filter_mem16(e, awk1, awk2, e, nsf, p, mm, stack); in pitch_gain_search_3tap()
423 for (j=0;j<nsf;j++) in pitch_gain_search_3tap()
435 for (j=0;j<nsf-1;j++) in pitch_gain_search_3tap()
440 corr[i]=inner_prod(x[i],new_target,nsf); in pitch_gain_search_3tap()
443 A[i][j]=A[j][i]=inner_prod(x[i],x[j],nsf); in pitch_gain_search_3tap()
499 SPEEX_MEMSET(exc, 0, nsf); in pitch_gain_search_3tap()
505 tmp1=nsf; in pitch_gain_search_3tap()
510 tmp3=nsf; in pitch_gain_search_3tap()
516 for (i=0;i<nsf;i++) in pitch_gain_search_3tap()
522 err = inner_prod(new_target, new_target, nsf); in pitch_gain_search_3tap()
540 int nsf, /* Number of samples in subframe */ in pitch_search_3tap() argument
583 SPEEX_MEMSET(exc, 0, nsf); in pitch_search_3tap()
589 for (i=0;i<nsf;i++) in pitch_search_3tap()
597 for (i=-end;i<nsf;i++) in pitch_search_3tap()
609 open_loop_nbest_pitch(sw, start, end, nsf, nbest, NULL, N, stack); in pitch_search_3tap()
613 ALLOC(best_exc, nsf, spx_sig_t); in pitch_search_3tap()
614 ALLOC(new_target, nsf, spx_word16_t); in pitch_search_3tap()
615 ALLOC(best_target, nsf, spx_word16_t); in pitch_search_3tap()
620 SPEEX_MEMSET(exc, 0, nsf); in pitch_search_3tap()
621 … err=pitch_gain_search_3tap(target, ak, awk1, awk2, exc, gain_cdbk, gain_cdbk_size, pitch, p, nsf, in pitch_search_3tap()
625 SPEEX_COPY(best_exc, exc, nsf); in pitch_search_3tap()
626 SPEEX_COPY(best_target, new_target, nsf); in pitch_search_3tap()
642 SPEEX_COPY(exc, best_exc, nsf); in pitch_search_3tap()
643 SPEEX_COPY(target, best_target, nsf); in pitch_search_3tap()
648 for (i=0;i<nsf;i++) in pitch_search_3tap()
662 int nsf, /* Number of samples in subframe */ in pitch_unquant_3tap() argument
732 SPEEX_MEMSET(exc_out, 0, nsf); in pitch_unquant_3tap()
738 tmp1=nsf; in pitch_unquant_3tap()
743 tmp3=nsf; in pitch_unquant_3tap()
767 int nsf, /* Number of samples in subframe */ in forced_pitch_quant() argument
780 ALLOC(res, nsf, spx_word16_t); in forced_pitch_quant()
788 for (i=0;i<nsf&&i<start;i++) in forced_pitch_quant()
792 for (;i<nsf;i++) in forced_pitch_quant()
796 for (i=0;i<nsf;i++) in forced_pitch_quant()
798 syn_percep_zero16(res, ak, awk1, awk2, res, nsf, p, stack); in forced_pitch_quant()
799 for (i=0;i<nsf;i++) in forced_pitch_quant()
812 int nsf, /* Number of samples in subframe */ in forced_pitch_unquant() argument
831 for (i=0;i<nsf;i++) in forced_pitch_unquant()