Searched refs:speex_alloc (Results 1 – 13 of 13) sorted by relevance
88 SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState)); in speex_decorrelate_new()95 st->wola_mem = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()96 st->curve = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()98 st->y = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()100 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); in speex_decorrelate_new()101 st->ringID = speex_alloc(channels*sizeof(int)); in speex_decorrelate_new()102 st->order = speex_alloc(channels*sizeof(int)); in speex_decorrelate_new()103 st->alpha = speex_alloc(channels*sizeof(float)); in speex_decorrelate_new()104 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float)); in speex_decorrelate_new()107 st->vorbis_win = speex_alloc((2*frame_size+20)*sizeof(float)); in speex_decorrelate_new()
66 bank = (FilterBank*)speex_alloc(sizeof(FilterBank)); in filterbank_new()69 bank->bank_left = (int*)speex_alloc(len*sizeof(int)); in filterbank_new()70 bank->bank_right = (int*)speex_alloc(len*sizeof(int)); in filterbank_new()71 bank->filter_left = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t)); in filterbank_new()72 bank->filter_right = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t)); in filterbank_new()75 bank->scaling = (float*)speex_alloc(banks*sizeof(float)); in filterbank_new()
396 SpeexPreprocessState *st = (SpeexPreprocessState *)speex_alloc(sizeof(SpeexPreprocessState)); in speex_preprocess_state_init()444 st->frame = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t)); in speex_preprocess_state_init()445 st->window = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t)); in speex_preprocess_state_init()446 st->ft = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t)); in speex_preprocess_state_init()448 st->ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()449 st->noise = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()450 st->echo_noise = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()451 st->residual_echo = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()452 st->reverb_estimate = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()453 st->old_ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()[all …]
404 SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); in speex_echo_state_init_mc()440 st->e = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()441 st->x = (spx_word16_t*)speex_alloc(K*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()442 st->input = (spx_word16_t*)speex_alloc(C*st->frame_size*sizeof(spx_word16_t)); in speex_echo_state_init_mc()443 st->y = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()444 st->last_y = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()445 st->Yf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()446 st->Rf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()447 st->Xf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()448 st->Yh = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()[all …]
87 table = speex_alloc(sizeof(struct drft_lookup)); in spx_fft_init()139 struct mkl_config *table = (struct mkl_config *) speex_alloc(sizeof(struct mkl_config)); in spx_fft_init()184 table = (struct ipp_fft_config *)speex_alloc(sizeof(struct ipp_fft_config)); in spx_fft_init()233 struct fftw_config *table = (struct fftw_config *) speex_alloc(sizeof(struct fftw_config)); in spx_fft_init()307 table = (struct kiss_config*)speex_alloc(sizeof(struct kiss_config)); in spx_fft_init()
53 SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer)); in speex_buffer_init()54 st->data = speex_alloc(size); in speex_buffer_init()
30 #define KISS_FFT_MALLOC speex_alloc
51 static inline void *speex_alloc (int size) in speex_alloc() function
66 static void *speex_alloc(int size) {return calloc(size,1);} in speex_alloc() function810 st = (SpeexResamplerState *)speex_alloc(sizeof(SpeexResamplerState)); in speex_resampler_init_frac()838 if (!(st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(spx_int32_t)))) in speex_resampler_init_frac()840 if (!(st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(spx_uint32_t)))) in speex_resampler_init_frac()842 if (!(st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(spx_uint32_t)))) in speex_resampler_init_frac()
272 JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer)); in jitter_buffer_init()444 jitter->packets[i].data=(char*)speex_alloc(packet->len); in jitter_buffer_put()
1247 l->trigcache=(float*)speex_alloc(3*n*sizeof(*l->trigcache)); in spx_drft_init()1248 l->splitcache=(int*)speex_alloc(32*sizeof(*l->splitcache)); in spx_drft_init()
44 void *speex_alloc (int size) in speex_alloc() function
57 static inline void *speex_alloc (int size) in speex_alloc() function