Skip to content
  • Jingning Han's avatar
    Tuning SATD rate calculation for speed · 531468a0
    Jingning Han authored
    This commit allows the encoder to check the eob per transform
    block to decide how to compute the SATD rate cost. If the entire
    block is quantized to zero, there is no need to add anything; if
    only the DC coefficient is non-zero, add its absolute value;
    otherwise, sum over the block. This reduces the CPU cycles spent
    on vp9_satd_sse2 to one third.
    
    Change-Id: I0d56044b793b286efc0875fafc0b8bf2d2047e32
    531468a0