Lines Matching defs:sinc
276 /* The slow way of computing a sinc for the table. Should improve that some day */
277 static spx_word16_t sinc(float cutoff, float x, int N, const struct FuncDef *window_func)
289 /* The slow way of computing a sinc for the table. Should improve that some day */
290 static spx_word16_t sinc(float cutoff, float x, int N, const struct FuncDef *window_func)
307 but I know it's MMSE-optimal on a sinc */
323 but I know it's MMSE-optimal on a sinc */
678 st->sinc_table[i*st->filt_len+j] = sinc(st->cutoff,((j-(spx_int32_t)st->filt_len/2+1)-((float)i)/st->den_rate), st->filt_len, quality_map[st->quality].window_func);
689 /*fprintf (stderr, "resampler uses direct sinc table and normalised cutoff %f\n", cutoff);*/
693 st->sinc_table[i+4] = sinc(st->cutoff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, quality_map[st->quality].window_func);
702 /*fprintf (stderr, "resampler uses interpolated sinc table and normalised cutoff %f\n", cutoff);*/