aacdec_usac: use correct TNS values

The standard slightly modified the maximum TNS bands allowed.
This commit is contained in:
Lynne 2024-06-06 17:33:18 +02:00
parent 9b41cc0430
commit 7223523335
No known key found for this signature in database
GPG key ID: A2FEA5F03F034464
3 changed files with 13 additions and 2 deletions

View file

@ -1985,6 +1985,10 @@ const uint8_t ff_tns_max_bands_1024[] = {
31, 31, 34, 40, 42, 51, 46, 46, 42, 42, 42, 39, 39
};
const uint8_t ff_tns_max_bands_usac_1024[] = {
31, 31, 34, 40, 42, 51, 47, 47, 43, 43, 43, 40, 40
};
const uint8_t ff_tns_max_bands_512[] = {
0, 0, 0, 31, 32, 37, 31, 31, 0, 0, 0, 0, 0
};
@ -1996,6 +2000,10 @@ const uint8_t ff_tns_max_bands_480[] = {
const uint8_t ff_tns_max_bands_128[] = {
9, 9, 10, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14
};
const uint8_t ff_tns_max_bands_usac_128[] = {
9, 9, 10, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15
};
// @}
const uint8_t ff_usac_noise_fill_start_offset[2][2] = {