diff options
author | Claudio Freire <klaussfreire@gmail.com> | 2015-11-29 15:03:45 -0300 |
---|---|---|
committer | Claudio Freire <klaussfreire@gmail.com> | 2015-11-29 15:03:45 -0300 |
commit | 88e498a87eb255eca48c40fd5570a42372491f2f (patch) | |
tree | cdce76a83b077f960597aa0799cb222836a098a3 /libavdevice/iec61883.c | |
parent | 15206ffdbee3c04e638a01cd4572050cf4cfad42 (diff) | |
download | ffmpeg-88e498a87eb255eca48c40fd5570a42372491f2f.tar.gz |
AAC encoder: make pe.min a local minimum
As noted in a comment, pe.min in the reference encoder
is centered around current pe. The bit reservoir algo
needs pe.min to be a local minimum, because it can only
account for local PE variations. If it's set to a global
minimum as was being done, bit reservoir logic doesn't
work as efficiently.
This patch tries to forget old minimums and converge to
a local minimum without losing the stability of the
previous solution. Listening tests until now suggest this
solves numerous RC issues.
Diffstat (limited to 'libavdevice/iec61883.c')
0 files changed, 0 insertions, 0 deletions