fixed-point: adds rounding to some shifts to eliminate bias
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 14 Dec 2013 16:07:13 +0000 (11:07 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 14 Dec 2013 16:07:13 +0000 (11:07 -0500)
commite0f26246b08122cef31c1ac85f7ed228e2daca61
treecb8ea9a36698ee1ea24ac150ce08dc67530288d5
parent4a168eb343af95be4b3a00ef2c5cf40da1d6b7e0
fixed-point: adds rounding to some shifts to eliminate bias

This reduces the peak decoding error by removing small (inaudible) spikes in
the error at the frame boundaries. These were due to the frequency-domain bias
ending up as a small pulse in the middle of the IMDCT overlap. None of this
was ever audible, but fixing it is still cleaner.
celt/bands.c
celt/vq.c