[x264-devel] commit: Cache motion vectors in lowres lookahead (Jason Garrett-Glaser )
git version control
git at videolan.org
Tue Sep 16 09:58:40 CEST 2008
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue Sep 16 00:31:26 2008 -0700| [a92bbc2325942d2ceab2ab043727f5943a33bd64] | committer: Jason Garrett-Glaser
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.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=a92bbc2325942d2ceab2ab043727f5943a33bd64
---
common/frame.c | 14 +++++++++
common/frame.h | 2 +
common/mc.c | 4 ++
encoder/slicetype.c | 79 ++++++++++++++++++++++++++-------------------------
4 files changed, 60 insertions(+), 39 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=a92bbc2325942d2ceab2ab043727f5943a33bd64
More information about the x264-devel
mailing list