]> git.videolan.org Git - x264.git/commit
2-pass VBV fixes
authorJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 24 Aug 2009 10:28:11 +0000 (03:28 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 24 Aug 2009 13:00:31 +0000 (06:00 -0700)
commit533b473f71f2ccd1f73e3d25cd57fca06ef553b5
tree6550f9fef99d5792c04b7d5832e3da2739a6eda6
parent9754af3c04d2de7b2404132a2c533c9071b6257b
2-pass VBV fixes
Properly run slicetype frame cost with 2pass + MB-tree.
Slash the VBV rate tolerance in 2-pass mode; increasing it made sense for the highly reactive 1-pass VBV algorithm, but not for 2-pass.
2-pass's planned frame sizes are guaranteed to be reasonable, since they are based on a real first pass, while 1-pass's, based on lookahead SATD, cannot always be trusted.
encoder/ratecontrol.c
encoder/slicetype.c