Home
last modified time | relevance | path

Searched refs:opus_alloc (Results 1 – 13 of 13) sorted by relevance

/external/libopus/celt/
Dos_support.h47 static OPUS_INLINE void *opus_alloc (size_t size) in opus_alloc() function
58 return opus_alloc(size); in opus_alloc_scratch()
Dmodes.c98 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+1)); in compute_ebands()
116 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+2)); in compute_ebands()
173 allocVectors = opus_alloc(sizeof(unsigned char)*(BITALLOC_SIZE*mode->nbEBands)); in compute_allocation_table()
306 mode = opus_alloc(sizeof(CELTMode)); in opus_custom_mode_create()
368 window = (opus_val16*)opus_alloc(mode->overlap*sizeof(opus_val16)); in opus_custom_mode_create()
381 logN = (opus_int16*)opus_alloc(mode->nbEBands*sizeof(opus_int16)); in opus_custom_mode_create()
Dkiss_fft.h45 #define KISS_FFT_MALLOC opus_alloc
Drate.c87 cindex = (opus_int16 *)opus_alloc(sizeof(cache->index[0])*m->nbEBands*(LM+2)); in compute_pulse_cache()
127 bits = (unsigned char *)opus_alloc(sizeof(unsigned char)*curr); in compute_pulse_cache()
143 cache->caps = cap = (unsigned char *)opus_alloc(sizeof(cache->caps[0])*(LM+1)*2*m->nbEBands); in compute_pulse_cache()
Dmdct.c80 l->trig = trig = (kiss_twiddle_scalar*)opus_alloc((N4+1)*sizeof(kiss_twiddle_scalar)); in clt_mdct_init()
Dcelt_decoder.c118 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); in opus_custom_decoder_create()
Dcelt_encoder.c150 CELTEncoder *st = (CELTEncoder *)opus_alloc(opus_custom_encoder_get_size(mode, channels)); in opus_custom_encoder_create()
/external/libopus/src/
Drepacketizer.c51 rp=(OpusRepacketizer *)opus_alloc(opus_repacketizer_get_size()); in opus_repacketizer_create()
Dopus_multistream_decoder.c128 st = (OpusMSDecoder *)opus_alloc(opus_multistream_decoder_get_size(streams, coupled_streams)); in opus_multistream_decoder_create()
Dopus_multistream_encoder.c539 st = (OpusMSEncoder *)opus_alloc(opus_multistream_encoder_get_size(streams, coupled_streams)); in opus_multistream_encoder_create()
576 …st = (OpusMSEncoder *)opus_alloc(opus_multistream_surround_encoder_get_size(channels, mapping_fami… in opus_multistream_surround_encoder_create()
Dopus_decoder.c154 st = (OpusDecoder *)opus_alloc(opus_decoder_get_size(channels)); in opus_decoder_create()
Dopus_encoder.c488 st = (OpusEncoder *)opus_alloc(opus_encoder_get_size(channels)); in opus_encoder_create()
/external/libopus/tests/
Dtest_opus_api.c1778 ep=(int *)opus_alloc(sizeof(int)); in test_malloc_fail()