[x264-devel] commit: Much faster and more efficient MVD handling (Jason Garrett-Glaser )
git version control
git at videolan.org
Tue Feb 23 11:05:35 CET 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Thu Feb 18 17:01:38 2010 -0800| [40284dfe7485e52769eca0614063b92315e9a5f5] | committer: Jason Garrett-Glaser
Much faster and more efficient MVD handling
Store MV deltas as clipped absolute values.
This means CABAC no longer has to calculate absolute values in MV context selection.
This also lets us cut the memory spent on MVDs by a factor of 2, speeding up cache_mvd and reducing memory usage by 32*threads*(num macroblocks) bytes.
On a Core i7 encoding 1080p, this is about 3 megabytes saved.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=40284dfe7485e52769eca0614063b92315e9a5f5
---
common/common.h | 8 ++++----
common/macroblock.c | 47 +++++++++++++----------------------------------
common/macroblock.h | 31 +++++++++++++++++++++++++++++--
common/x86/util.h | 40 +++++++++++++++++-----------------------
encoder/cabac.c | 20 +++++++++++---------
encoder/me.c | 3 ++-
6 files changed, 76 insertions(+), 73 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=40284dfe7485e52769eca0614063b92315e9a5f5
More information about the x264-devel
mailing list