Home
last modified time | relevance | path

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

/external/libopus/celt/
Dmodes.c170 unsigned char *allocVectors; in compute_allocation_table() local
174 allocVectors = opus_alloc(sizeof(unsigned char)*(BITALLOC_SIZE*mode->nbEBands)); in compute_allocation_table()
175 if (allocVectors==NULL) in compute_allocation_table()
182 allocVectors[i] = band_allocation[i]; in compute_allocation_table()
183 mode->allocVectors = allocVectors; in compute_allocation_table()
199 allocVectors[i*mode->nbEBands+j] = band_allocation[i*maxBands + maxBands-1]; in compute_allocation_table()
204 allocVectors[i*mode->nbEBands+j] = (a0*band_allocation[i*maxBands+k-1] in compute_allocation_table()
219 mode->allocVectors = allocVectors; in compute_allocation_table()
367 if (mode->allocVectors==NULL) in opus_custom_mode_create()
430 opus_free((unsigned char*)mode->allocVectors); in opus_custom_mode_destroy()
Dmodes.h66 const unsigned char *allocVectors; /**< Number of bits in each band for several rates */ member
Drate.c595 bitsj = C*N*m->allocVectors[mid*len+j]<<LM>>2; in clt_compute_allocation()
622 bits1j = C*N*m->allocVectors[lo*len+j]<<LM>>2; in clt_compute_allocation()
624 cap[j] : C*N*m->allocVectors[hi*len+j]<<LM>>2; in clt_compute_allocation()
/external/libopus/celt/dump_modes/
Ddump_modes.c112 fprintf (file, "%2d, ", mode->allocVectors[j*mode->nbEBands+k]); in dump_modes()