Removing uselessly low bitrate allocation entries
This commit is contained in:
parent
743abbbac9
commit
ea17d42304
1 changed files with 2 additions and 4 deletions
|
@ -92,7 +92,7 @@ static const celt_int16 bark_freq[BARK_BANDS+1] = {
|
|||
/* This allocation table is per critical band. When creating a mode, the bits get added together
|
||||
into the codec bands, which are sometimes larger than one critical band at low frequency */
|
||||
|
||||
#define BITALLOC_SIZE 12
|
||||
#define BITALLOC_SIZE 10
|
||||
|
||||
static const celt_int16 eband5ms[] = {
|
||||
0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 34, 40, 48, 60, 78, 100
|
||||
|
@ -100,9 +100,7 @@ static const celt_int16 eband5ms[] = {
|
|||
|
||||
static const unsigned char band_allocation[] = {
|
||||
/* 0 200 400 600 800 1k 1.2 1.4 1.6 2k 2.4 2.8 3.2 4k 4.8 5.6 6.8 8k 9.6 12k 15.6 */
|
||||
10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
10, 3, 8, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
10, 6, 8, 6, 5, 4, 3, 2, 7, 10, 11, 9, 7, 3, 1, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
10, 10, 14, 11, 10, 8, 6, 5, 10, 12, 13, 11, 8, 4, 2, 1, 0, 0, 0, 0, 0,
|
||||
13, 10, 17, 16, 14, 12, 10, 8, 12, 14, 14, 12, 9, 5, 3, 2, 2, 1, 0, 0, 0,
|
||||
17, 21, 23, 26, 24, 20, 17, 16, 17, 18, 16, 14, 11, 6, 3, 2, 2, 1, 1, 0, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue