shithub: opus

Download patch

ref: 6855bf69035bbbac4474746d2e0b912520c97abd
parent: ad6371906a816bef202f10fb3cca602280a8765f
author: Jean-Marc Valin <[email protected]>
date: Wed May 7 12:44:29 EDT 2008

More bit allocation tuning

--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -108,11 +108,11 @@
       2,  2,  2,  2,  3,  2,  2,  2,  2,  2,  3,  3,  5,  6,  8,  8,  8,  6,  5,  4,  0,  0,  0,  0,  0,
       3,  2,  2,  2,  3,  3,  2,  3,  2,  3,  4,  4,  6,  7,  9,  9,  9,  7,  6,  5,  5,  5,  0,  0,  0,
       3,  3,  2,  2,  3,  3,  3,  3,  3,  4,  4,  5,  7,  9, 10, 10, 10,  9,  6,  5,  5,  5,  5,  1,  0,
-      4,  4,  3,  3,  3,  3,  3,  3,  3,  4,  5,  6,  7,  9, 10, 10, 10,  9,  9,  8, 11, 10, 10,  1,  1,
-      6,  6,  5,  5,  5,  5,  5,  5,  5,  6,  7,  8, 10, 12, 13, 13, 13, 12, 12, 12, 18, 18, 16, 10,  1,
-      7,  7,  6,  6,  7,  7,  7,  7,  8,  9, 10, 11, 13, 18, 20, 22, 25, 22, 25, 30, 30, 35, 35, 35, 15,
-      9,  9,  9,  9, 10, 10, 10, 10, 11, 12, 18, 22, 25, 24, 23, 27, 29, 27, 35, 40, 42, 50, 59, 54, 31,
-     16, 16, 16, 16, 16, 18, 20, 22, 24, 28, 30, 32, 35, 34, 33, 37, 39, 40, 45, 50, 52, 60, 60, 60, 60,
+      4,  3,  3,  3,  3,  3,  3,  3,  4,  4,  6,  7,  7,  9, 11, 10, 10,  9,  9,  8, 11, 10, 10,  1,  1,
+      5,  5,  4,  4,  5,  5,  5,  5,  6,  6,  8,  8, 10, 12, 15, 15, 13, 12, 12, 12, 18, 18, 16, 10,  1,
+      6,  6,  6,  6,  6,  6,  7,  7,  9,  9, 11, 12, 13, 18, 22, 23, 24, 25, 28, 30, 35, 35, 35, 35, 15,
+      7,  7,  7,  7,  7,  7, 10, 10, 10, 13, 14, 18, 20, 24, 28, 32, 32, 35, 38, 38, 42, 50, 59, 54, 31,
+      8,  8,  8,  8,  8,  9, 10, 12, 14, 20, 22, 25, 28, 30, 35, 42, 46, 50, 55, 60, 62, 62, 62, 62, 62,
 };
 #endif