• Jingning Han's avatar
    Enable early termination in rd search · 2bd6fe08
    Jingning Han authored
    This commit allows encoder to detect the cumulative rate-distortion
    cost per transformed block inside a partition. If the cumulative
    rd cost is already above the best rd value, it terminates the rest
    operations and continue to next prediction mode test.
    
    It reduces the runtime of bus at target bit-rate 2000 from 308 second
    to 266 second, i.e., about 13% speed-up at no performance penalty.
    
    Change-Id: I5f15a3d8955d97031d5653006027866a00654e7a
    2bd6fe08