Lines Matching refs:cutoff
128 float cutoff; member
276 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc() argument
279 float xx = x * cutoff; in sinc()
281 return WORD2INT(32768.*cutoff); in sinc()
285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); in sinc()
289 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc() argument
292 float xx = x * cutoff; in sinc()
294 return cutoff; in sinc()
298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); in sinc()
567 st->cutoff = quality_map[st->quality].downsample_bandwidth * st->den_rate / st->num_rate; in update_filter()
584 st->cutoff = quality_map[st->quality].upsample_bandwidth; in update_filter()
607 …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()
629 …st->sinc_table[i+4] = sinc(st->cutoff,(i/(float)st->oversample - st->filt_len/2), st->filt_len, qu… in update_filter()
757 st->cutoff = 1.f; in speex_resampler_init_frac()