]> git.videolan.org Git - x264.git/commit
Fix two bugs in 2-pass ratecontrol
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 12 Dec 2009 01:22:18 +0000 (17:22 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 15 Dec 2009 20:45:06 +0000 (12:45 -0800)
commitc9cafc75352f036bdcb90f2a26e7233920567b13
tree32761722852ad20c1c1056eaf442f3ab98aa2601
parent85eb4007f2ed36477b7fdc04ed2d63fbb2b7a0fb
Fix two bugs in 2-pass ratecontrol
last_qscale_for wasn't set during the 2pass init code.
abr_buffer was way too small in the case of multiple threads, so accordingly increase its buffer size based on the number of threads.
May significantly increase quality with many threads in 2-pass mode, especially in cases with extremely large I-frames, such as anime.
encoder/ratecontrol.c