Skip to content
  • Cheng Chen's avatar
    Skip unnecessary computation in trellis · 37d88736
    Cheng Chen authored
    When current coeff is found to be set as eob, nz_rd is not needed
    in the computation of rdcost. Skip it.
    
    Similarly, when has_nz_tail >= 2, computation for nz_rd should be
    skipped.
    
    Local runs show ~3% speed up.
    
    Change-Id: I176abf1d1043cab40788934b70558b816af72732
    37d88736