Searched defs:window_func (Results 1 - 1 of 1) sorted by relevance
/external/speex/libspeex/ |
H A D | resample.c | 214 struct FuncDef *window_func; member in struct:QualityMapping 276 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) argument 285 return WORD2INT(32768.*cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func)); 289 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) argument 298 return cutoff*sin(M_PI*xx)/(M_PI*xx) * compute_func(fabs(2.*x/N), window_func); 607 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); 629 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);
|
Completed in 49 milliseconds