]> git.videolan.org Git - x264.git/commit
Overhaul sliced-threads VBV
authorJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 10 Feb 2010 20:12:29 +0000 (12:12 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Mon, 15 Feb 2010 08:59:52 +0000 (00:59 -0800)
commit9f242312eb692831d716ed5772b5b832aac54866
tree318eee187d492860a57412077ab6c15223e787fe
parent8463781af4fa0f304865adb78a0e86c8a6536e0c
Overhaul sliced-threads VBV
Make predictors thread-local and allow each thread to poll the others to get their predicted sizes.
Many, many other tweaks to improve quality with small VBV and sliced threads.
Note this may somewhat increase the risk of a VBV underflow in such extreme situations (single-frame VBV).
This is tolerable, as most relevant use-cases are better off with a few rare underflows (even if they have to drop a slice) than consistent low quality.
encoder/encoder.c
encoder/ratecontrol.c
encoder/slicetype.c