aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/lavfi.c
diff options
context:
space:
mode:
authorClaudio Freire <klaussfreire@gmail.com>2015-11-29 15:03:45 -0300
committerClaudio Freire <klaussfreire@gmail.com>2015-11-29 15:03:45 -0300
commit88e498a87eb255eca48c40fd5570a42372491f2f (patch)
treecdce76a83b077f960597aa0799cb222836a098a3 /libavdevice/lavfi.c
parent15206ffdbee3c04e638a01cd4572050cf4cfad42 (diff)
downloadffmpeg-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/lavfi.c')
0 files changed, 0 insertions, 0 deletions