[x264-devel] commit: Reorder reference frames optimally on second pass ( Jason Garrett-Glaser )

git version control git at videolan.org
Wed Oct 7 03:27:44 CEST 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sat Oct  3 00:59:02 2009 -0700| [c318d8fa1e83b8807b66d45b225c905f480703ce] | committer: Jason Garrett-Glaser 

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!

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=c318d8fa1e83b8807b66d45b225c905f480703ce
---

 encoder/encoder.c     |   75 ++++++++++++++++++++++++++-----------------------
 encoder/ratecontrol.c |   62 +++++++++++++++++++++++++++++++++++++++-
 encoder/ratecontrol.h |    1 +
 x264.c                |    1 +
 4 files changed, 102 insertions(+), 37 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=c318d8fa1e83b8807b66d45b225c905f480703ce


More information about the x264-devel mailing list