Skip to content
  • Henrik Gramner's avatar
    x86: Add asm for mbtree fixed point conversion · c82c7374
    Henrik Gramner authored
    The QP offsets of each macroblock are stored as floats internally and
    converted to big-endian Q8.8 fixed point numbers when written to the 2-pass
    stats file, and converted back to floats when read from the stats file.
    
    Add SSSE3 and AVX2 implementations for conversions in both directions.
    
    About 8x faster than C on Haswell.
    c82c7374