[x264-devel] commit: Much faster CAVLC residual coding (Jason Garrett-Glaser )

git version control git at videolan.org
Thu Dec 11 09:47:02 CET 2008


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Mon Dec  8 13:44:23 2008 -0800| [77028cd3671de855affb02ffefe6bbd99ac7816e] | committer: Jason Garrett-Glaser 

Much faster CAVLC residual coding
Use a VLC table for common levelcodes instead of constructing them on-the-spot
Branchless version of i_trailing calculation (2x faster on Nehalem)
Completely remove array_non_zero_count and instead use the count calculated in level/run coding.  Note: this slightly changes output with subme > 7 due to different nonzero counts being stored during qpel RD.

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

 common/bs.h          |   16 ++++
 common/common.h      |    1 +
 common/macroblock.h  |   12 ---
 common/vlc.c         |   46 +++++++++++
 common/x86/util.h    |   20 -----
 encoder/cabac.c      |   16 ----
 encoder/cavlc.c      |  202 +++++++++++++++++++++++++-------------------------
 encoder/encoder.c    |    3 +-
 encoder/macroblock.c |   32 ++++++++-
 9 files changed, 198 insertions(+), 150 deletions(-)

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


More information about the x264-devel mailing list