[x264-devel] commit: Bring back slice-based threading support (Jason Garrett-Glaser )

git version control git at videolan.org
Wed Dec 9 13:57:27 CET 2009


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Dec  7 00:49:41 2009 -0800| [e8b73a9a4db4dd703528a1eee247b84ac335e395] | committer: Jason Garrett-Glaser 

Bring back slice-based threading support
Enabled with --sliced-threads
Unlike normal threading, adds no encoding latency.
Less efficient than normal threading, both performance and compression-wise.
Useful for low-latency encoding environments where performance is still important, such as HD videoconferencing.
Add --tune zerolatency, which eliminates all x264 encoder-side latency (no delayed frames at all).
Some tweaks to VBV ratecontrol and lookahead (in addition to those required by sliced threading).
Commit sponsored by a media streaming company that wishes to remain anonymous.

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

 common/common.c       |    3 +
 common/common.h       |    2 +
 common/macroblock.c   |   77 +++++++--------
 encoder/analyse.c     |   74 ++++++++-------
 encoder/analyse.h     |    1 +
 encoder/encoder.c     |  255 +++++++++++++++++++++++++++++++++++-------------
 encoder/lookahead.c   |    1 +
 encoder/ratecontrol.c |   85 ++++++++++++++---
 encoder/ratecontrol.h |    2 +
 x264.c                |   28 ++++--
 x264.h                |    3 +-
 11 files changed, 366 insertions(+), 165 deletions(-)

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


More information about the x264-devel mailing list