]> git.videolan.org Git - x264.git/commit
Cache motion vectors in lowres lookahead
authorJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 16 Sep 2008 07:31:26 +0000 (00:31 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 16 Sep 2008 07:31:26 +0000 (00:31 -0700)
commita92bbc2325942d2ceab2ab043727f5943a33bd64
tree41d7ca80dfee5684d796001884faa1475eac5bd2
parentf4736691f1052fbe32288a5fd87abce672c7b32f
Cache motion vectors in lowres lookahead
This vastly speeds up b-adapt 2, especially at large bframes values.
This changes output because now MV prediction in lookahead only uses L0/L1 MVs, not bidir.  This isn't a problem, since the bidir prediction wasn't really correct to begin with, so the change in output is neither positive nor negative.
This also allowed the removal of some unnecessary memsets, which should also give a small speed boost.
Finally, this allows the use of the lowres motion vectors for predictors in some future patch.
common/frame.c
common/frame.h
common/mc.c
encoder/slicetype.c