Lines Matching refs:spx_word16_t

113 …sic_func)(SpeexResamplerState *, spx_uint32_t , const spx_word16_t *, spx_uint32_t *, spx_word16_t
138 spx_word16_t *mem;
139 spx_word16_t *sinc_table;
276 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc()
289 static spx_word16_t sinc(float cutoff, float x, int N, struct FuncDef *window_func) in sinc()
303 static void cubic_coef(spx_word16_t x, spx_word16_t interp[4]) in cubic_coef()
307 spx_word16_t x2, x3; in cubic_coef()
319 static void cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) in cubic_coef()
332 …mplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word… in resampler_basic_direct_single()
338 const spx_word16_t *sinc_table = st->sinc_table; in resampler_basic_direct_single()
348 const spx_word16_t *sinc = & sinc_table[samp_frac_num*N]; in resampler_basic_direct_single()
349 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_direct_single()
384 …mplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word… in resampler_basic_direct_double()
390 const spx_word16_t *sinc_table = st->sinc_table; in resampler_basic_direct_double()
400 const spx_word16_t *sinc = & sinc_table[samp_frac_num*N]; in resampler_basic_direct_double()
401 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_direct_double()
433 …mplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word… in resampler_basic_interpolate_single()
448 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_interpolate_single()
452 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_single()
454 … const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; in resampler_basic_interpolate_single()
456 spx_word16_t interp[4]; in resampler_basic_interpolate_single()
463 const spx_word16_t curr_in=iptr[j]; in resampler_basic_interpolate_single()
496 …mplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, spx_word… in resampler_basic_interpolate_double()
511 const spx_word16_t *iptr = & in[last_sample]; in resampler_basic_interpolate_double()
515 …const spx_word16_t frac = PDIV32(SHL32((samp_frac_num*st->oversample) % st->den_rate,15),st->den_r… in resampler_basic_interpolate_double()
517 … const spx_word16_t frac = ((float)((samp_frac_num*st->oversample) % st->den_rate))/st->den_rate; in resampler_basic_interpolate_double()
519 spx_word16_t interp[4]; in resampler_basic_interpolate_double()
596 … st->sinc_table = (spx_word16_t *)speex_alloc(st->filt_len*st->den_rate*sizeof(spx_word16_t)); in update_filter()
599 …st->sinc_table = (spx_word16_t *)speex_realloc(st->sinc_table,st->filt_len*st->den_rate*sizeof(spx… in update_filter()
622 …st->sinc_table = (spx_word16_t *)speex_alloc((st->filt_len*st->oversample+8)*sizeof(spx_word16_t)); in update_filter()
625 …st->sinc_table = (spx_word16_t *)speex_realloc(st->sinc_table,(st->filt_len*st->oversample+8)*size… in update_filter()
651 … st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); in update_filter()
659 …st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_wo… in update_filter()
672 …st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_wo… in update_filter()
802 …ResamplerState *st, spx_uint32_t channel_index, spx_uint32_t *in_len, spx_word16_t *out, spx_uint3… in speex_resampler_process_native()
807 spx_word16_t *mem = st->mem + channel_index * st->mem_alloc_size; in speex_resampler_process_native()
828 static int speex_resampler_magic(SpeexResamplerState *st, spx_uint32_t channel_index, spx_word16_t in speex_resampler_magic()
830 spx_word16_t *mem = st->mem + channel_index * st->mem_alloc_size; in speex_resampler_magic()
857 spx_word16_t *x = st->mem + channel_index * st->mem_alloc_size; in speex_resampler_process_int()
900 spx_word16_t *x = st->mem + channel_index * st->mem_alloc_size; in speex_resampler_process_float()
904 VARDECL(spx_word16_t *ystack); in speex_resampler_process_float()
905 ALLOC(ystack, ylen, spx_word16_t); in speex_resampler_process_float()
908 spx_word16_t ystack[FIXED_STACK_ALLOC]; in speex_resampler_process_float()
914 spx_word16_t *y = ystack; in speex_resampler_process_float()