shithub: opus

Download patch

ref: 41fd7a12b548399ef627904437ae700f3c40a3fe
parent: 256c9595d8004c9f414b6e7a3b6936b705c2c6b2
author: Jean-Marc Valin <[email protected]>
date: Wed Dec 12 09:41:29 EST 2012

Disables the new spread+tapset estimator

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1415,7 +1415,10 @@
          else
             st->spread_decision = SPREAD_NORMAL;
       } else {
-         if (st->analysis.valid)
+         /* Disable new spreading+tapset estimator until we can show it works
+            better than the old one. So far it seems like spreading_decision()
+            works best. */
+         if (0&&st->analysis.valid)
          {
             static const opus_val16 spread_thresholds[3] = {-QCONST16(.6f, 15), -QCONST16(.2f, 15), -QCONST16(.07f, 15)};
             static const opus_val16 spread_histeresis[3] = {QCONST16(.15f, 15), QCONST16(.07f, 15), QCONST16(.02f, 15)};