Lines Matching refs:spx_uint32_t
114 …_basic_func)(SpeexResamplerState *, spx_uint32_t , const spx_word16_t *, spx_uint32_t *, spx_word1…
117 spx_uint32_t in_rate;
118 spx_uint32_t out_rate;
119 spx_uint32_t num_rate;
120 spx_uint32_t den_rate;
123 spx_uint32_t nb_channels;
124 spx_uint32_t filt_len;
125 spx_uint32_t mem_alloc_size;
126 spx_uint32_t buffer_size;
130 spx_uint32_t oversample;
136 spx_uint32_t *samp_frac_num;
137 spx_uint32_t *magic_samples;
141 spx_uint32_t sinc_table_length;
333 …peexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, … in resampler_basic_direct_single()
338 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_direct_single()
343 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_direct_single()
391 …peexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, … in resampler_basic_direct_double()
396 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_direct_double()
401 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_direct_double()
440 …peexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, … in resampler_basic_interpolate_single()
445 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_interpolate_single()
449 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_interpolate_single()
503 …peexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, … in resampler_basic_interpolate_double()
508 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_interpolate_double()
512 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_interpolate_double()
567 …peexResamplerState *st, spx_uint32_t channel_index, const spx_word16_t *in, spx_uint32_t *in_len, … in resampler_basic_zero()
571 spx_uint32_t samp_frac_num = st->samp_frac_num[channel_index]; in resampler_basic_zero()
575 const spx_uint32_t den_rate = st->den_rate; in resampler_basic_zero()
596 spx_uint32_t old_length = st->filt_len; in update_filter()
597 spx_uint32_t old_alloc_size = st->mem_alloc_size; in update_filter()
599 spx_uint32_t min_sinc_table_length; in update_filter()
600 spx_uint32_t min_alloc_size; in update_filter()
659 spx_uint32_t i; in update_filter()
712 spx_uint32_t i; in update_filter()
718 spx_uint32_t i; in update_filter()
723 spx_uint32_t j; in update_filter()
724 spx_uint32_t olen = old_length; in update_filter()
757 spx_uint32_t i; in update_filter()
762 spx_uint32_t j; in update_filter()
763 spx_uint32_t old_magic = st->magic_samples[i]; in update_filter()
783 …ORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_… in speex_resampler_init()
788 …x_resampler_init_frac(spx_uint32_t nb_channels, spx_uint32_t ratio_num, spx_uint32_t ratio_den, sp… in speex_resampler_init_frac()
790 spx_uint32_t i; in speex_resampler_init_frac()
823 st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(spx_uint32_t)); in speex_resampler_init_frac()
824 st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(spx_uint32_t)); in speex_resampler_init_frac()
859 …ess_native(SpeexResamplerState *st, spx_uint32_t channel_index, spx_uint32_t *in_len, spx_word16_t… in speex_resampler_process_native()
865 spx_uint32_t ilen; in speex_resampler_process_native()
885 …peex_resampler_magic(SpeexResamplerState *st, spx_uint32_t channel_index, spx_word16_t **out, spx_… in speex_resampler_magic()
886 spx_uint32_t tmp_in_len = st->magic_samples[channel_index]; in speex_resampler_magic()
897 spx_uint32_t i; in speex_resampler_magic()
906 …SpeexResamplerState *st, spx_uint32_t channel_index, const spx_int16_t *in, spx_uint32_t *in_len, … in speex_resampler_process_int()
908 …float(SpeexResamplerState *st, spx_uint32_t channel_index, const float *in, spx_uint32_t *in_len, … in speex_resampler_process_int()
912 spx_uint32_t ilen = *in_len; in speex_resampler_process_int()
913 spx_uint32_t olen = *out_len; in speex_resampler_process_int()
916 const spx_uint32_t xlen = st->mem_alloc_size - filt_offs; in speex_resampler_process_int()
923 spx_uint32_t ichunk = (ilen > xlen) ? xlen : ilen; in speex_resampler_process_int()
924 spx_uint32_t ochunk = olen; in speex_resampler_process_int()
947 …float(SpeexResamplerState *st, spx_uint32_t channel_index, const float *in, spx_uint32_t *in_len, … in speex_resampler_process_float()
949 …SpeexResamplerState *st, spx_uint32_t channel_index, const spx_int16_t *in, spx_uint32_t *in_len, … in speex_resampler_process_float()
955 spx_uint32_t ilen = *in_len; in speex_resampler_process_float()
956 spx_uint32_t olen = *out_len; in speex_resampler_process_float()
958 const spx_uint32_t xlen = st->mem_alloc_size - (st->filt_len - 1); in speex_resampler_process_float()
972 spx_uint32_t ichunk = (ilen > xlen) ? xlen : ilen; in speex_resampler_process_float()
973 spx_uint32_t ochunk = (olen > ylen) ? ylen : olen; in speex_resampler_process_float()
974 spx_uint32_t omagic = 0; in speex_resampler_process_float()
1020 …aved_float(SpeexResamplerState *st, const float *in, spx_uint32_t *in_len, float *out, spx_uint32_… in speex_resampler_process_interleaved_float()
1022 spx_uint32_t i; in speex_resampler_process_interleaved_float()
1024 spx_uint32_t bak_out_len = *out_len; in speex_resampler_process_interleaved_float()
1025 spx_uint32_t bak_in_len = *in_len; in speex_resampler_process_interleaved_float()
1043 …t(SpeexResamplerState *st, const spx_int16_t *in, spx_uint32_t *in_len, spx_int16_t *out, spx_uint… in speex_resampler_process_interleaved_int()
1045 spx_uint32_t i; in speex_resampler_process_interleaved_int()
1047 spx_uint32_t bak_out_len = *out_len; in speex_resampler_process_interleaved_int()
1048 spx_uint32_t bak_in_len = *in_len; in speex_resampler_process_interleaved_int()
1066 EXPORT int speex_resampler_set_rate(SpeexResamplerState *st, spx_uint32_t in_rate, spx_uint32_t out… in speex_resampler_set_rate()
1071 EXPORT void speex_resampler_get_rate(SpeexResamplerState *st, spx_uint32_t *in_rate, spx_uint32_t *… in speex_resampler_get_rate()
1077 …rate_frac(SpeexResamplerState *st, spx_uint32_t ratio_num, spx_uint32_t ratio_den, spx_uint32_t in… in speex_resampler_set_rate_frac()
1079 spx_uint32_t fact; in speex_resampler_set_rate_frac()
1080 spx_uint32_t old_den; in speex_resampler_set_rate_frac()
1081 spx_uint32_t i; in speex_resampler_set_rate_frac()
1116 …T void speex_resampler_get_ratio(SpeexResamplerState *st, spx_uint32_t *ratio_num, spx_uint32_t *r… in speex_resampler_get_ratio()
1139 EXPORT void speex_resampler_set_input_stride(SpeexResamplerState *st, spx_uint32_t stride) in speex_resampler_set_input_stride()
1144 EXPORT void speex_resampler_get_input_stride(SpeexResamplerState *st, spx_uint32_t *stride) in speex_resampler_get_input_stride()
1149 EXPORT void speex_resampler_set_output_stride(SpeexResamplerState *st, spx_uint32_t stride) in speex_resampler_set_output_stride()
1154 EXPORT void speex_resampler_get_output_stride(SpeexResamplerState *st, spx_uint32_t *stride) in speex_resampler_get_output_stride()
1171 spx_uint32_t i; in speex_resampler_skip_zeros()
1179 spx_uint32_t i; in speex_resampler_reset_mem()