[x264-devel] commit: Convert NNZ to raster order and other optimizations ( Jason Garrett-Glaser )
git version control
git at videolan.org
Tue Jun 24 20:22:20 CEST 2008
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue Jun 24 12:23:50 2008 -0600| [a55f1c31d0da2e0bf04916e7f13813c8e902cfd1]
Convert NNZ to raster order and other optimizations
Converting NNZ to raster order simplifies a lot of the load/store code and allows more use of write-combining.
More use of write-combining throughout load/save code in common/macroblock.c
GCC has aliasing issues in the case of stores to 8-bit heap-allocated arrays; dereferencing the pointer once avoids this problem and significantly increases performance.
More manual loop unrolling and such.
Move all packXtoY functions to macroblock.h so any function can use them.
Add pack8to32.
Minor optimizations to encoder/macroblock.c
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a55f1c31d0da2e0bf04916e7f13813c8e902cfd1
---
common/common.h | 3 +-
common/frame.c | 14 ++--
common/macroblock.c | 166 ++++++++++++++++++++++++--------------------------
common/macroblock.h | 24 +++++++
common/predict.c | 18 ------
encoder/macroblock.c | 21 ++++---
6 files changed, 124 insertions(+), 122 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=a55f1c31d0da2e0bf04916e7f13813c8e902cfd1
More information about the x264-devel
mailing list