1. 18 Oct, 2013 - 4 commits
    • Jingning Han's avatar
      Make memory alloc in pick_mode_context bsize aware · 72033fcf
      Jingning Han authored
      This commit makes the buffer allocation of zcoeff_blk array in
      pick_mode_context block size aware. It calculates the number of
      4x4 blocks in the partition and assigns the memory space accordingly.
      This process (and the uninitialization) is done once for each encoding
      pass. It allows memory copy of smaller buffer when possible.
      
      For football at 600kbps, the runtimes improve by about 1%:
      speed 1, 45961ms -> 45472ms
      speed 2, 23863ms -> 23598ms
      
      Change-Id: Id2ca24906fa89f46fa5fe742ec4b8efc2a61f877
      72033fcf
    • Yaowu Xu's avatar
      Converted assert to error checking · 535a1085
      Yaowu Xu authored
      Change-Id: Icb8c677f910f588cc7c97e70f024787fe6789257
      535a1085
    • Dmitry Kovalev's avatar
      Passing block index explicitly instead of using get_sb_index(). · a8ffa96e
      Dmitry Kovalev authored
      That makes decoder and encoder (only bitstream writing part) a little bit
      simpler and faster. Moving get_sb_index() function to the encoder.
      
      Change-Id: Ie91aaeefd69c84b085948267b33556a7666c6278
      a8ffa96e
    • Yaowu Xu's avatar
      Added checking for invalid size · 062fb505
      Yaowu Xu authored
      Change-Id: I9672a61e60a26e2934796f088880ce4cb49605be
      062fb505
  2. 17 Oct, 2013 - 5 commits
  3. 16 Oct, 2013 - 8 commits
  4. 15 Oct, 2013 - 16 commits
  5. 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
  6. 12 Oct, 2013 - 1 commit
  7. 11 Oct, 2013 - 5 commits