• Fiona Glaser's avatar
    Much faster CAVLC residual coding · 99448f6c
    Fiona Glaser authored
    Use a VLC table for common levelcodes instead of constructing them on-the-spot
    Branchless version of i_trailing calculation (2x faster on Nehalem)
    Completely remove array_non_zero_count and instead use the count calculated in level/run coding.  Note: this slightly changes output with subme > 7 due to different nonzero counts being stored during qpel RD.
encoder.c 75.1 KB