Update dynalloc VBR calibration
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 2 Jun 2017 18:01:36 +0000 (14:01 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 2 Jun 2017 18:01:36 +0000 (14:01 -0400)
celt/celt_encoder.c

index 5729dc3..594d63b 100644 (file)
@@ -1281,7 +1281,7 @@ static int compute_vbr(const CELTMode *mode, AnalysisInfo *analysis, opus_int32
                       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);