Home
last modified time | relevance | path

Searched refs:speex_alloc (Results 1 – 16 of 16) sorted by relevance

/external/speex/libspeex/
Dscal.c84 SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState)); in speex_decorrelate_new()
91 st->wola_mem = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
92 st->curve = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
94 st->y = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); in speex_decorrelate_new()
97 st->ringID = speex_alloc(channels*sizeof(int)); in speex_decorrelate_new()
98 st->order = speex_alloc(channels*sizeof(int)); in speex_decorrelate_new()
99 st->alpha = speex_alloc(channels*sizeof(float)); in speex_decorrelate_new()
100 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float)); in speex_decorrelate_new()
103 st->vorbis_win = speex_alloc((2*frame_size+20)*sizeof(float)); in speex_decorrelate_new()
Dfilterbank.c66 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()
Dpreprocess.c400 SpeexPreprocessState *st = (SpeexPreprocessState *)speex_alloc(sizeof(SpeexPreprocessState)); in speex_preprocess_state_init()
448 st->frame = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t)); in speex_preprocess_state_init()
449 st->window = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t)); in speex_preprocess_state_init()
450 st->ft = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t)); in speex_preprocess_state_init()
452 st->ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()
453 st->noise = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()
454 st->echo_noise = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()
455 st->residual_echo = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()
456 st->reverb_estimate = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()
457 st->old_ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t)); in speex_preprocess_state_init()
[all …]
Dmdf.c410 SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); in speex_echo_state_init_mc()
446 st->e = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()
447 st->x = (spx_word16_t*)speex_alloc(K*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()
448 st->input = (spx_word16_t*)speex_alloc(C*st->frame_size*sizeof(spx_word16_t)); in speex_echo_state_init_mc()
449 st->y = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()
450 st->last_y = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t)); in speex_echo_state_init_mc()
451 st->Yf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()
452 st->Rf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()
453 st->Xf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()
454 st->Yh = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t)); in speex_echo_state_init_mc()
[all …]
Dsb_celp.c197 st = (SBEncState*)speex_alloc(sizeof(SBEncState)); in sb_encoder_init()
233 st->high=(spx_word16_t*)speex_alloc((st->windowSize-st->frame_size)*sizeof(spx_word16_t)); in sb_encoder_init()
235 st->h0_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t)); in sb_encoder_init()
236 st->h1_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t)); in sb_encoder_init()
242 st->old_lsp = (spx_lsp_t*)speex_alloc(st->lpcSize*sizeof(spx_lsp_t)); in sb_encoder_init()
243 st->old_qlsp = (spx_lsp_t*)speex_alloc(st->lpcSize*sizeof(spx_lsp_t)); in sb_encoder_init()
244 st->interp_qlpc = (spx_coef_t*)speex_alloc(st->lpcSize*sizeof(spx_coef_t)); in sb_encoder_init()
245 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); in sb_encoder_init()
246 st->exc_rms = (spx_word16_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word16_t)); in sb_encoder_init()
249 st->mem_sp = (spx_mem_t*)speex_alloc((st->lpcSize)*sizeof(spx_mem_t)); in sb_encoder_init()
[all …]
Dnb_celp.c121 st = (EncState*)speex_alloc(sizeof(EncState)); in nb_encoder_init()
151 st->curve = (float*)speex_alloc(128*sizeof(float)); in nb_encoder_init()
152 st->old_curve = (float*)speex_alloc(128*sizeof(float)); in nb_encoder_init()
153 st->psy_window = (float*)speex_alloc(256*sizeof(float)); in nb_encoder_init()
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t)); in nb_encoder_init()
161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
163 st->swBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t)); in nb_encoder_init()
171 st->old_lsp = (spx_lsp_t*)speex_alloc((st->lpcSize)*sizeof(spx_lsp_t)); in nb_encoder_init()
172 st->old_qlsp = (spx_lsp_t*)speex_alloc((st->lpcSize)*sizeof(spx_lsp_t)); in nb_encoder_init()
177 st->mem_sp = (spx_mem_t*)speex_alloc((st->lpcSize)*sizeof(spx_mem_t)); in nb_encoder_init()
[all …]
Dfftwrap.c87 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()
182 struct fftw_config *table = (struct fftw_config *) speex_alloc(sizeof(struct fftw_config)); in spx_fft_init()
256 table = (struct kiss_config*)speex_alloc(sizeof(struct kiss_config)); in spx_fft_init()
Dspeex_header.c124 le_header = (SpeexHeader*)speex_alloc(sizeof(SpeexHeader)); in speex_header_to_packet()
164 le_header = (SpeexHeader*)speex_alloc(sizeof(SpeexHeader)); in speex_packet_to_header()
Dbuffer.c53 SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer)); in speex_buffer_init()
54 st->data = speex_alloc(size); in speex_buffer_init()
Dkiss_fft.h30 #define KISS_FFT_MALLOC speex_alloc
Dresample.c66 static void *speex_alloc (int size) {return calloc(size,1);} in speex_alloc() function
596 … st->sinc_table = (spx_word16_t *)speex_alloc(st->filt_len*st->den_rate*sizeof(spx_word16_t)); 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()
651 … st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); in update_filter()
744 st = (SpeexResamplerState *)speex_alloc(sizeof(SpeexResamplerState)); in speex_resampler_init_frac()
770 st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(int)); in speex_resampler_init_frac()
771 st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int)); in speex_resampler_init_frac()
772 st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int)); in speex_resampler_init_frac()
Dos_support.h51 static inline void *speex_alloc (int size) in speex_alloc() function
Dstereo.c77 SpeexStereoState *stereo = speex_alloc(sizeof(SpeexStereoState)); in speex_stereo_state_init()
Djitter.c274 JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer)); in jitter_buffer_init()
446 jitter->packets[i].data=(char*)speex_alloc(packet->len); in jitter_buffer_put()
Dbits.c50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME); in speex_bits_init()
Dsmallft.c1247 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()