• Cheng Chen's avatar
    Remove repeated computation for trellis · ec32a74d
    Cheng Chen authored
    When it is the last coeff, we don't have to search for the cost of
    making it as the last signficant coeff.
    
    Reset has_nz_tail when new eob is found.
    
    Speed impact: ~2% improvement
    PSNR: 0.01%
    
    Change-Id: I0429d3506be30431c3e7108fb1d011930a52c419
    ec32a74d
encodetxb.c 85.3 KB