• Deb Mukherjee's avatar
    Refactoring motion search libs · b80020d4
    Deb Mukherjee authored
    The core motion estimation fucntions all return sad now consistently.
    The only exception is vp9_full_pixel_diamond(), however the core diamond
    and refining search routines called from vp9_full_pixel_diamond() also
    return SAD. If variance of pred error + mv cost is desired it must be
    calculated explicitly outside these functions. For very fast encoding,
    hopefully this will eliminate some redundant computations.
    Also suggests reimplementing FAST_HEX with the vp9_pattern_search
    framework. It is not exactly the same as the existing FAST_HEX, but
    performance is slightly better and speed is very similar. Enables
    removing a lot of duplicate code.
    Change-Id: I152736393438c25bdf7e96b37cbb8ce330f4f94a
vp9_firstpass.c 79.8 KB