• Fiona Glaser's avatar
    Much faster and more efficient MVD handling · 5c767904
    Fiona Glaser authored
    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.
    5c767904
macroblock.h 16.3 KB