Home
last modified time | relevance | path

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

/external/libopus/tests/
Dtest_opus_projection.c104 input_val16 = (opus_val16 *)opus_alloc(sizeof(opus_val16) * SIMPLE_MATRIX_INPUT_SIZE); in test_simple_matrix()
105 output_int16 = (opus_int16 *)opus_alloc(sizeof(opus_int16) * SIMPLE_MATRIX_OUTPUT_SIZE); in test_simple_matrix()
106 output_val16 = (opus_val16 *)opus_alloc(sizeof(opus_val16) * SIMPLE_MATRIX_OUTPUT_SIZE); in test_simple_matrix()
114 simple_matrix = (MappingMatrix *)opus_alloc(simple_matrix_size); in test_simple_matrix()
220 matrix = (unsigned char *)opus_alloc(matrix_size); in test_creation_arguments()
332 matrix = (unsigned char *)opus_alloc(matrix_size); in test_encode_decode()
Dtest_opus_api.c1785 ep=(int *)opus_alloc(sizeof(int)); in test_malloc_fail()
/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.c99 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+1)); in compute_ebands()
117 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+2)); in compute_ebands()
174 allocVectors = opus_alloc(sizeof(unsigned char)*(BITALLOC_SIZE*mode->nbEBands)); in compute_allocation_table()
308 mode = opus_alloc(sizeof(CELTMode)); in opus_custom_mode_create()
370 window = (opus_val16*)opus_alloc(mode->overlap*sizeof(opus_val16)); in opus_custom_mode_create()
383 logN = (opus_int16*)opus_alloc(mode->nbEBands*sizeof(opus_int16)); in opus_custom_mode_create()
Dkiss_fft.h46 #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.c82 … l->trig = trig = (kiss_twiddle_scalar*)opus_alloc((N-(N2>>maxshift))*sizeof(kiss_twiddle_scalar)); in clt_mdct_init()
Dcelt_decoder.c163 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); in opus_custom_decoder_create()
Dcelt_encoder.c152 CELTEncoder *st = (CELTEncoder *)opus_alloc(opus_custom_encoder_get_size(mode, channels)); in opus_custom_encoder_create()
/external/libopus/celt/arm/
Dcelt_fft_ne10.c74 st->arch_fft = (arch_fft_state *)opus_alloc(memneeded); in opus_fft_alloc_arm_neon()
/external/libopus/src/
Dopus_projection_decoder.c191 st = (OpusProjectionDecoder *)opus_alloc(size); in opus_projection_decoder_create()
Drepacketizer.c51 rp=(OpusRepacketizer *)opus_alloc(opus_repacketizer_get_size()); in opus_repacketizer_create()
Dopus_projection_encoder.c323 st = (OpusProjectionEncoder *)opus_alloc(size); in opus_projection_ambisonics_encoder_create()
Dopus_multistream_decoder.c131 st = (OpusMSDecoder *)opus_alloc(opus_multistream_decoder_get_size(streams, coupled_streams)); in opus_multistream_decoder_create()
Dopus_multistream_encoder.c604 st = (OpusMSEncoder *)opus_alloc(opus_multistream_encoder_get_size(streams, coupled_streams)); in opus_multistream_encoder_create()
649 st = (OpusMSEncoder *)opus_alloc(size); in opus_multistream_surround_encoder_create()
Dopus_decoder.c170 st = (OpusDecoder *)opus_alloc(opus_decoder_get_size(channels)); in opus_decoder_create()
Dopus_encoder.c528 st = (OpusEncoder *)opus_alloc(opus_encoder_get_size(channels)); in opus_encoder_create()