1. 15 Oct, 2013 1 commit
    • Jingning Han's avatar
      Re-design all-zero-coeff block index buffer use · 8e3ce1a9
      Jingning Han authored
      Use the zcoeff_blk buffer of PICK_MODE_CONTEXT to store the indexes
      of all-zero-coeff block of the current best mode. Remove the temporary
      buffer best_zcoeff_blk defined in the rate-distortion optimization
      loop. This improves the speed performance by about 0.5% in all speed
      settings.
      
      Change-Id: Ie3e15988ddfa581eafa2e19a8228d3fe4a46095c
      8e3ce1a9
  2. 14 Oct, 2013 1 commit
    • Jingning Han's avatar
      Move token_cache from cost_coeffs to MACROBLOCK · f60a3910
      Jingning Han authored
      This commit moves token_cache buffer into macroblock struct, instead
      of defining as a local variable in cost_coeffs. This avoids repeatedly
      re-allocating memory space in the rate-distortion optimization loop.
      
      The runtime at speed 0 reduces:
      bus 2000kbps, 161692ms to 159951ms
      football 600kbps, 229505ms to 225821ms
      
      Change-Id: If7da6b0b6d8c5138a16271a33c4548fba33d8840
      f60a3910
  3. 11 Oct, 2013 14 commits
  4. 10 Oct, 2013 24 commits