Adds some histeresis to the stereo saving
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Wed, 25 Jul 2012 05:35:17 +0000 (01:35 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Wed, 25 Jul 2012 05:35:17 +0000 (01:35 -0400)
commit32024cb5c2074dc97ba9d54f2da540432f1ae474
tree68cb4165c0f245c7ce95b32ec655d54fd08b5d38
parent4044ea8a1daac0b91166603a0ad8c5cccb70f708
Adds some histeresis to the stereo saving

This prevents rate reduction due to channel correlation from increasing
by more than 0.25 bit/sample between two frames. This issue was observed
on r.flac where the frame following a transient would lose nearly
1 bit/sample
celt/celt.c