]> git.videolan.org Git - x264.git/commit
Much faster and more efficient MVD handling
authorJason Garrett-Glaser <darkshikari@gmail.com>
Fri, 19 Feb 2010 01:01:38 +0000 (17:01 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 23 Feb 2010 09:46:16 +0000 (01:46 -0800)
commit40284dfe7485e52769eca0614063b92315e9a5f5
tree1d60204ad245033150d21b98aa2a251c9ff3ded3
parent10e9e95cb90f01fcbdb182c2ae05dac336b6eed3
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