Skip to content
  • Fiona Glaser's avatar
    Cache motion vectors in lowres lookahead · c299b7d8
    Fiona Glaser authored
    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.
    c299b7d8