[x264-devel] commit: Move deblocking/hpel into sliced threads (Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Sat Apr 24 00:40:01 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Thu Apr 15 16:32:31 2010 -0700| [46fd4ae1388f6a53544b0bd4f97ce9940451f54d] | committer: Jason Garrett-Glaser 

Move deblocking/hpel into sliced threads
Instead of doing both as a separate pass, do them during the main encode.
This requires disabling deblocking between slices (disable_deblock_idc == 2).
Overall performance gain is about 11% on --preset superfast with sliced threads.
Doesn't reduce the amount of actual computation done: only better parallelizes it.

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

 common/common.h     |    5 ++-
 common/frame.c      |   12 ++++-
 common/macroblock.c |   68 ++++++++++++++++++-------
 common/macroblock.h |    9 +++-
 encoder/encoder.c   |  136 ++++++++++++++++++++++++++-------------------------
 encoder/lookahead.c |    9 ++-
 6 files changed, 146 insertions(+), 93 deletions(-)

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


More information about the x264-devel mailing list