Searched defs:speex_alloc (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/speex/libspeex/
H A Dos_support.h49 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 */
H A Dresample.c66 static void *speex_alloc (int size) {return calloc(size,1);} function
586 st->sinc_table = (spx_word16_t *)speex_alloc(st->filt_len*st->den_rate*sizeof(spx_word16_t));
612 st->sinc_table = (spx_word16_t *)speex_alloc((st->filt_len*st->oversample+8)*sizeof(spx_word16_t));
641 st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
733 st = (SpeexResamplerState *)speex_alloc(sizeof(SpeexResamplerState));
759 st->last_sample = (spx_int32_t*)speex_alloc(nb_channels*sizeof(int));
760 st->magic_samples = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int));
761 st->samp_frac_num = (spx_uint32_t*)speex_alloc(nb_channels*sizeof(int));
/external/speex/libspeex/
H A Dos_support.h49 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 */
H A Dresample.c66 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));

Completed in 148 milliseconds