shithub: opus

Download patch

ref: fc43dbb7d6ef73dd265c9a1f0bc1022eca7b33f5
parent: b7ceec2baedb776a2862cb32a6a023679372b1aa
author: Jean-Marc Valin <[email protected]>
date: Fri Dec 7 14:12:51 EST 2007

A bit of probability tuning to reduce bit-rate variations

--- a/libcelt/quant_bands.c
+++ b/libcelt/quant_bands.c
@@ -41,7 +41,7 @@
     8.5737, 8.5614, 9.0107, 7.6809, 7.0665};
 
 static const int decay[15] = {
-   14800, 14000, 12600, 12000, 10804, 9000, 8601, 7572, 6817, 6579, 5204, 4374, 3492,  3192, 2653
+   14800, 13800, 12600, 12000, 11000, 10000, 9800, 8400, 8000, 7500, 7000, 7000, 7000, 6000, 6000
 };
 
 void quant_energy(CELTMode *m, float *eBands, float *oldEBands, ec_enc *enc)