summaryrefslogtreecommitdiff
path: root/celt
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-06-02 14:01:36 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-06-02 14:01:36 -0400
commitc2d32337ec880de1ed4b37f02e642bba154ef655 (patch)
treef700f625d4e98f9505e902119b08f385b22a42e9 /celt
parentcf86d25882b648510a235a5cbc9615259716546e (diff)
downloadopus-c2d32337ec880de1ed4b37f02e642bba154ef655.tar.gz
Update dynalloc VBR calibration
Diffstat (limited to 'celt')
-rw-r--r--celt/celt_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c
index 5729dc35..594d63ba 100644
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -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);