]> git.sesse.net Git - x264/commit
Much faster and more efficient MVD handling
authorFiona Glaser <fiona@x264.com>
Fri, 19 Feb 2010 01:01:38 +0000 (17:01 -0800)
committerFiona Glaser <fiona@x264.com>
Tue, 23 Feb 2010 09:46:16 +0000 (01:46 -0800)
commit5c767904662ccb4703b421308d7270712f60b65b
treecbe9382cf4a4bb3624023b14c3e91ac947289e68
parent1ec69befa2f71f130a4a27dc2c1670489efe452d
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.
common/common.h
common/macroblock.c
common/macroblock.h
common/x86/util.h
encoder/cabac.c
encoder/me.c