[x264-devel] VBV emergency mode

Jason Garrett-Glaser git at videolan.org
Wed Jan 26 02:56:57 CET 2011


x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Tue Jan 18 00:52:03 2011 -0800| [cd53fa47afadb563eefb72c137fb30bd06d26c85] | committer: Jason Garrett-Glaser

VBV emergency mode
Allow ratecontrol to select "quantizers" above the maximum.
These "quantizers" progressively decimate the source to avoid VBV underflow.
x264 is now VBV compliant even with input as evil as /dev/random.

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

 common/common.h        |   27 +++++---
 common/quant.c         |    2 +-
 common/set.c           |   45 ++++++++++++++
 common/x86/quant-a.asm |   12 +---
 encoder/analyse.c      |  158 +++++++++++++++++++++++++++++-------------------
 encoder/encoder.c      |    9 ++-
 encoder/macroblock.c   |   53 ++++++++++++----
 encoder/me.c           |    2 +-
 encoder/me.h           |    2 +-
 encoder/ratecontrol.c  |   10 +++-
 10 files changed, 218 insertions(+), 102 deletions(-)

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


More information about the x264-devel mailing list