Home
last modified time | relevance | path

Searched refs:allocVectors (Results 1 – 3 of 3) sorted by relevance

/external/libopus/celt/
Dmodes.c169 unsigned char *allocVectors; in compute_allocation_table() local
173 allocVectors = opus_alloc(sizeof(unsigned char)*(BITALLOC_SIZE*mode->nbEBands)); in compute_allocation_table()
174 if (allocVectors==NULL) in compute_allocation_table()
181 allocVectors[i] = band_allocation[i]; in compute_allocation_table()
182 mode->allocVectors = allocVectors; in compute_allocation_table()
198 allocVectors[i*mode->nbEBands+j] = band_allocation[i*maxBands + maxBands-1]; in compute_allocation_table()
203 allocVectors[i*mode->nbEBands+j] = (a0*band_allocation[i*maxBands+k-1] in compute_allocation_table()
218 mode->allocVectors = allocVectors; in compute_allocation_table()
365 if (mode->allocVectors==NULL) in opus_custom_mode_create()
426 opus_free((opus_int16*)mode->allocVectors); in opus_custom_mode_destroy()
Dmodes.h74 const unsigned char *allocVectors; /**< Number of bits in each band for several rates */ member
Drate.c589 bitsj = C*N*m->allocVectors[mid*len+j]<<LM>>2; in compute_allocation()
616 bits1j = C*N*m->allocVectors[lo*len+j]<<LM>>2; in compute_allocation()
618 cap[j] : C*N*m->allocVectors[hi*len+j]<<LM>>2; in compute_allocation()