[x264-devel] commit: Rewrite deblock strength calculation, add asm ( Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Fri May 21 10:33:14 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue May 18 16:48:00 2010 -0700| [b9ec3ea27812288485329ac7771143021cd4917b] | committer: Jason Garrett-Glaser 

Rewrite deblock strength calculation, add asm
Rewrite is significantly slower, but is necessary to make asm possible.
Similar concept to ffmpeg's deblock strength asm.
Roughly one order of magnitude faster than C.
Overall, with the asm, saves ~100-300 clocks in deblocking per MB.

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

 common/common.h          |   74 +++++-----
 common/deblock.c         |  336 +++++++++++++++++++++-------------------------
 common/frame.h           |   16 +--
 common/macroblock.c      |  108 +++++++++++++++
 common/macroblock.h      |    2 +
 common/x86/deblock-a.asm |  271 ++++++++++++++++++++++++++++++++++---
 common/x86/x86util.asm   |   30 ++++-
 tools/checkasm.c         |   56 +++++++-
 8 files changed, 629 insertions(+), 264 deletions(-)

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


More information about the x264-devel mailing list