]> git.videolan.org Git - x264.git/commit
Various 1-pass VBV tweaks
authorJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 4 Aug 2009 03:52:30 +0000 (20:52 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 5 Aug 2009 00:02:18 +0000 (17:02 -0700)
commitf21e71a04ba65aff9b5a4bfa8a73fd86c463f4ee
tree365cb80ecb6e1a21e91eeac04fa75052a09f2dc1
parent5d75a9bd5b942392c4ab64156a266eed64c0793f
Various 1-pass VBV tweaks
Make predictors have an offset in addition to a multiplier.
This primarily fixes issues in sources with lots of extremely static scenes, such as anime and CGI.
We tried linear regressions, but they were very unreliable as predictors.
Also allow VBV to be slightly more aggressive in raising QPs to avoid not having enough bits left in some situations.
Up to 1db improvement on some clips.
encoder/ratecontrol.c