shithub: opus

Download patch

ref: c2d32337ec880de1ed4b37f02e642bba154ef655
parent: cf86d25882b648510a235a5cbc9615259716546e
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Fri Jun 2 10:01:36 EDT 2017

Update dynalloc VBR calibration

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1281,7 +1281,7 @@
                       SHR32(MULT16_16(stereo_saving-QCONST16(0.1f,8),(coded_stereo_dof<<BITRES)),8));
    }
    /* Boost the rate according to dynalloc (minus the dynalloc average for calibration). */
-   target += tot_boost-(16<<LM);
+   target += tot_boost-(19<<LM);
    /* Apply transient boost, compensating for average boost. */
    tf_calibration = QCONST16(0.04f,14);
    target += (opus_int32)SHL32(MULT16_32_Q15(tf_estimate-tf_calibration, target),1);