Lines Matching refs:cutoff
124 float cutoff; member
272 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc() argument
275 float xx = x * cutoff; in sinc()
277 return WORD2INT(32768.*cutoff); in sinc()
281 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); in sinc()
285 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc() argument
288 float xx = x * cutoff; in sinc()
290 return cutoff; in sinc()
294 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); in sinc()
561 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; in update_filter()
578 st->cutoff = quality_map[st->quality].upsample_bandwidth; in update_filter()
597 …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()
619 …st->sinc_table[i+4] = sinc(st->cutoff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, qu… in update_filter()
747 st->cutoff = 1.f; in speex_resampler_init_frac()