Stores encoding type of Quantized subband samples.
Member of Audio Frame
Allocation of Subband 0 | 5 bit |
for each subband from 1 | ? bit |
11111 | 5 bit |
for each subframe | ? bit |
Allocation of Subband 0 | 4 bit |
for each subband from 1 | ? bit |
int tmp; int band; int sub; tmp = ReadBits (5); if ( tmp != 31 ) { alloc [0] [0] = tmp; for ( band = 1; band < 32; band++ ) { if ( tmp != 0 && tmp > -10 ) tmp = tmp - (tmp/8) + DecodeHuffman (table12); alloc [0] [band] = tmp; } else { for ( sub = 0; sub < 3; sub++ ) { alloc [sub] [0] = tmp = ReadBits (4); for ( band = 1; band < 32; band++ ) { if ( tmp != -1 && tmp > -9 ) tmp = tmp - (tmp/8) + DecodeHuffman (table13); alloc [sub] [band] = tmp; } } }