Adds some smoothing to the energy quantization exp_lbr_tune
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 4 Jul 2016 05:06:11 +0000 (01:06 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 19 Jul 2016 20:11:50 +0000 (16:11 -0400)
commit6fccb4b6159c9f54be8db8daaaa8d305bdfcbc33
tree9c95cbd3aa518f4451d7ed2c675e74556b91f915
parentb3c9e79a8291e85c0cd5f91b55d1e856edd95ac1
Adds some smoothing to the energy quantization

When the energy is stable, we slightly bias energy quantization towards
the previous error to make the gain more stable (a constant offset is
better than fluctuations).

We reduce the bitrate by about 0.2% to 1% at low bitrate for the same quality.
celt/celt_encoder.c
celt/quant_bands.c