]> git.sesse.net Git - x264/commit
Reorder reference frames optimally on second pass
authorFiona Glaser <fiona@x264.com>
Sat, 3 Oct 2009 07:59:02 +0000 (00:59 -0700)
committerFiona Glaser <fiona@x264.com>
Wed, 7 Oct 2009 00:33:54 +0000 (17:33 -0700)
commitc1322c3198f981adf2e1a4221afdba9cfdc9345c
tree03339a39022d3aa7c304836a838052da7890b826
parentdeae6910e183789705532e6c94eba6dada3b9b00
Reorder reference frames optimally on second pass
About +0.1-0.2% compression at normal bitrates, up to +1% at very low bitrates.
Only works if the first pass uses the same number of refs as the second (i.e. not with fast first pass).
Thus, only worthwhile at insanely slow speeds: as such, enable slow-firstpass by default with preset placebo.
Note that this changes the stats file format!
encoder/encoder.c
encoder/ratecontrol.c
encoder/ratecontrol.h
x264.c