|
|
|
@ -127,7 +127,6 @@ static const uint16_t bark_tab_s44_128[] = { |
|
|
|
|
1, 2, 1, 2, 3, 4, 6, 10, 23, 76 |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* TwinVQ codebooks. They are coded in a struct so we can use code such as |
|
|
|
|
* |
|
|
|
@ -10991,147 +10990,155 @@ static const struct twinvq_data { |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const uint8_t tab7[][35] = { |
|
|
|
|
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0}, |
|
|
|
|
{0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}, |
|
|
|
|
{0,0,0,1,0,0,0,0,0,0,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,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0}, |
|
|
|
|
{0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}, |
|
|
|
|
{0,0,0,1,0,0,0,0,0,0,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,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, |
|
|
|
|
{0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1}, |
|
|
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0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, |
|
|
|
|
{ 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 }, |
|
|
|
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 }, |
|
|
|
|
{ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 }, |
|
|
|
|
{ 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, |
|
|
|
|
{ 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 }, |
|
|
|
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0 }, |
|
|
|
|
{ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 }, |
|
|
|
|
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1 }, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
static const struct { |
|
|
|
|
int size; |
|
|
|
|
const uint8_t *tab; |
|
|
|
|
} tabs[] = { |
|
|
|
|
{0 , NULL}, |
|
|
|
|
{5 , &tab8 [0][0]},{5 , &tab8 [0][0]}, {15, &tab12[0][0]}, |
|
|
|
|
{5 , &tab8 [0][0]},{25, &tab10[0][0]}, {15, &tab12[0][0]}, |
|
|
|
|
{35, &tab7 [0][0]},{5 , &tab8 [0][0]}, {45, &tab9 [0][0]}, |
|
|
|
|
{25, &tab10[0][0]},{55, &tab11[0][0]}, {15, &tab12[0][0]} |
|
|
|
|
{ 0, NULL }, |
|
|
|
|
{ 5, &tab8[0][0] }, { 5, &tab8[0][0] }, { 15, &tab12[0][0] }, |
|
|
|
|
{ 5, &tab8[0][0] }, { 25, &tab10[0][0] }, { 15, &tab12[0][0] }, |
|
|
|
|
{ 35, &tab7[0][0] }, { 5, &tab8[0][0] }, { 45, &tab9[0][0] }, |
|
|
|
|
{ 25, &tab10[0][0] }, { 55, &tab11[0][0] }, { 15, &tab12[0][0] } |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
#endif /* AVCODEC_TWINVQ_DATA_H */ |
|
|
|
|