HomeSort by relevance Sort by last modified time
    Searched refs:speex_alloc (Results 1 - 16 of 16) sorted by null

  /external/speex/libspeex/
kiss_fft.h 30 #define KISS_FFT_MALLOC speex_alloc
scal.c 84 SpeexDecorrState *st = speex_alloc(sizeof(SpeexDecorrState));
91 st->wola_mem = speex_alloc(frame_size*sizeof(float));
92 st->curve = speex_alloc(frame_size*sizeof(float));
94 st->y = speex_alloc(frame_size*sizeof(float));
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float));
97 st->ringID = speex_alloc(channels*sizeof(int));
98 st->order = speex_alloc(channels*sizeof(int));
99 st->alpha = speex_alloc(channels*sizeof(float));
100 st->ring = speex_alloc(channels*ALLPASS_ORDER*sizeof(float));
103 st->vorbis_win = speex_alloc((2*frame_size+20)*sizeof(float))
    [all...]
filterbank.c 66 bank = (FilterBank*)speex_alloc(sizeof(FilterBank));
69 bank->bank_left = (int*)speex_alloc(len*sizeof(int));
70 bank->bank_right = (int*)speex_alloc(len*sizeof(int));
71 bank->filter_left = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t));
72 bank->filter_right = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t));
75 bank->scaling = (float*)speex_alloc(banks*sizeof(float));
mdf.c 410 SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState));
446 st->e = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t));
447 st->x = (spx_word16_t*)speex_alloc(K*N*sizeof(spx_word16_t));
448 st->input = (spx_word16_t*)speex_alloc(C*st->frame_size*sizeof(spx_word16_t));
449 st->y = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t));
450 st->last_y = (spx_word16_t*)speex_alloc(C*N*sizeof(spx_word16_t));
451 st->Yf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t));
452 st->Rf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t));
453 st->Xf = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t));
454 st->Yh = (spx_word32_t*)speex_alloc((st->frame_size+1)*sizeof(spx_word32_t))
    [all...]
preprocess.c 400 SpeexPreprocessState *st = (SpeexPreprocessState *)speex_alloc(sizeof(SpeexPreprocessState));
448 st->frame = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t));
449 st->window = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t));
450 st->ft = (spx_word16_t*)speex_alloc(2*N*sizeof(spx_word16_t));
452 st->ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t));
453 st->noise = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t));
454 st->echo_noise = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t));
455 st->residual_echo = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t));
456 st->reverb_estimate = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t));
457 st->old_ps = (spx_word32_t*)speex_alloc((N+M)*sizeof(spx_word32_t))
    [all...]
buffer.c 53 SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer));
54 st->data = speex_alloc(size);
speex_header.c 124 le_header = (SpeexHeader*)speex_alloc(sizeof(SpeexHeader));
164 le_header = (SpeexHeader*)speex_alloc(sizeof(SpeexHeader));
os_support.h 49 NOTE: speex_alloc needs to CLEAR THE MEMORY */
51 static inline void *speex_alloc (int size) function
60 /** Same as speex_alloc, except that the area is only needed inside a Speex call (might cause problem with wideband though) */
69 /** Speex wrapper for realloc. To do your own dynamic allocation, all you need to do is replace this function, speex_alloc and speex_free */
77 /** Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_alloc */
sb_celp.c 197 st = (SBEncState*)speex_alloc(sizeof(SBEncState));
233 st->high=(spx_word16_t*)speex_alloc((st->windowSize-st->frame_size)*sizeof(spx_word16_t));
235 st->h0_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t));
236 st->h1_mem=(spx_word16_t*)speex_alloc((QMF_ORDER)*sizeof(spx_word16_t));
242 st->old_lsp = (spx_lsp_t*)speex_alloc(st->lpcSize*sizeof(spx_lsp_t));
243 st->old_qlsp = (spx_lsp_t*)speex_alloc(st->lpcSize*sizeof(spx_lsp_t));
244 st->interp_qlpc = (spx_coef_t*)speex_alloc(st->lpcSize*sizeof(spx_coef_t));
245 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t));
246 st->exc_rms = (spx_word16_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word16_t));
249 st->mem_sp = (spx_mem_t*)speex_alloc((st->lpcSize)*sizeof(spx_mem_t))
    [all...]
fftwrap.c 87 table = speex_alloc(sizeof(struct drft_lookup));
139 struct mkl_config *table = (struct mkl_config *) speex_alloc(sizeof(struct mkl_config));
182 struct fftw_config *table = (struct fftw_config *) speex_alloc(sizeof(struct fftw_config));
256 table = (struct kiss_config*)speex_alloc(sizeof(struct kiss_config));
nb_celp.c 121 st = (EncState*)speex_alloc(sizeof(EncState));
151 st->curve = (float*)speex_alloc(128*sizeof(float));
152 st->old_curve = (float*)speex_alloc(128*sizeof(float));
153 st->psy_window = (float*)speex_alloc(256*sizeof(float));
159 st->winBuf = (spx_word16_t*)speex_alloc((st->windowSize-st->frameSize)*sizeof(spx_word16_t));
161 st->excBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t));
163 st->swBuf = (spx_word16_t*)speex_alloc((mode->frameSize+mode->pitchEnd+2)*sizeof(spx_word16_t));
171 st->old_lsp = (spx_lsp_t*)speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
172 st->old_qlsp = (spx_lsp_t*)speex_alloc((st->lpcSize)*sizeof(spx_lsp_t));
177 st->mem_sp = (spx_mem_t*)speex_alloc((st->lpcSize)*sizeof(spx_mem_t))
    [all...]
resample.c 66 static void *speex_alloc (int size) {return calloc(size,1);} function
596 st->sinc_table = (spx_word16_t *)speex_alloc(st->filt_len*st->den_rate*sizeof(spx_word16_t));
622 st->sinc_table = (spx_word16_t *)speex_alloc((st->filt_len*st->oversample+8)*sizeof(spx_word16_t));
651 st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
743 st = (SpeexResamplerState *)speex_alloc(sizeof(SpeexResamplerState));
769 st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(int));
770 st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int));
771 st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int));
    [all...]
bits.c 50 bits->chars = (char*)speex_alloc(MAX_CHARS_PER_FRAME);
stereo.c 77 SpeexStereoState *stereo = speex_alloc(sizeof(SpeexStereoState));
jitter.c 274 JitterBuffer *jitter = (JitterBuffer*)speex_alloc(sizeof(JitterBuffer));
446 jitter->packets[i].data=(char*)speex_alloc(packet->len);
smallft.c 1247 l->trigcache=(float*)speex_alloc(3*n*sizeof(*l->trigcache));
1248 l->splitcache=(int*)speex_alloc(32*sizeof(*l->splitcache));

Completed in 75 milliseconds