aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aactab.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-06-06 17:33:18 +0200
committerLynne <dev@lynne.ee>2024-06-08 00:22:40 +0200
commit722352333524cb2047d09e2548b495f511de4331 (patch)
treebc77f93ed229fa1d6db3cd4d198856bdb1caf2ea /libavcodec/aactab.c
parent9b41cc04300e8d00ae3a6326639e975712e21bb6 (diff)
downloadffmpeg-722352333524cb2047d09e2548b495f511de4331.tar.gz
aacdec_usac: use correct TNS values
The standard slightly modified the maximum TNS bands allowed.
Diffstat (limited to 'libavcodec/aactab.c')
-rw-r--r--libavcodec/aactab.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index 7b040531aa..8d4587d241 100644
--- a/libavcodec/aactab.c
+++ b/libavcodec/aactab.c
@@ -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] = {