Lines Matching refs:cutoff
129 float cutoff; member
277 static spx_word16_t sinc(float cutoff, float x, int N, const struct FuncDef *window_func) in sinc() argument
280 float xx = x * cutoff; in sinc()
282 return WORD2INT(32768.*cutoff); in sinc()
286 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); in sinc()
290 static spx_word16_t sinc(float cutoff, float x, int N, const struct FuncDef *window_func) in sinc() argument
293 float xx = x * cutoff; in sinc()
295 return cutoff; in sinc()
299 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); in sinc()
610 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; in update_filter()
627 st->cutoff = quality_map[st->quality].upsample_bandwidth; in update_filter()
665 …st->sinc_table[i*st->filt_len+j] = sinc(st->cutoff,((j-(spx_int32_t)st->filt_len/2+1)-((float)i)/s… in update_filter()
680 …st->sinc_table[i+4] = sinc(st->cutoff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, qu… in update_filter()
814 st->cutoff = 1.f; in speex_resampler_init_frac()