1. 16 Jul, 2013 6 commits
  2. 15 Jul, 2013 6 commits
    • Dmitry Kovalev's avatar
      Consistent naming for loop-filter filters. · e973b4e2
      Dmitry Kovalev authored
      Renaming flatmask4 to flat_mask4, flatmask5 to flat_mask5, hevmask to
      hev_mask, filter to filter4, mbfilter to filter8, wide_mbfilter to
      filter16.
      
      Change-Id: Ic61c73e59c2eee505257584867aafac99833cea1
      e973b4e2
    • Ronald S. Bultje's avatar
      Inline xform_quant() in encode_block_intra(). · 6fb41874
      Ronald S. Bultje authored
      Also inline some of the block calculations to assist the compiler to
      not do silly things like calculating the same offset (or converting
      between raster/transform block offset or block, mi and pixel unit)
      many, many, many times.
      
      Cycle times:
      4x4:     584 ->   505 cycles (16% faster)
      8x8:    1651 ->  1560 cycles (6% faster)
      16x16:  7897 ->  7704 cycles (2.5% faster)
      32x32: 16096 -> 15852 cycles (1.5% faster)
      
      Overall, this saves about 0.5 seconds (1min49.8 -> 1min49.3) on the
      first 50 frames of bus (speed 0) @ 1500kbps, i.e. 0.5% overall.
      
      Change-Id: If3dd62453f8e2ab9d4ee616bc4ea956fb8874b80
      6fb41874
    • Dmitry Kovalev's avatar
      Code cleanup inside vp9_decodeframe.c. · 2c317298
      Dmitry Kovalev authored
      Removing unused DEC_DEBUG define and dec_debug variable. Changing function
      signatures to eliminate code duplication, renaming function
      mb_init_dequantizer to init_dequantizer. Also removing redundant curly
      braces, and comments.
      
      
      Change-Id: Ia56ee1b0be5f24abb0e878581845be8a4773c298
      2c317298
    • Frank Galligan's avatar
      Neon: Update mbfilter if all vectors follow one branch. · f4f60f60
      Frank Galligan authored
      Change the mbfilter Neon code from executing both branches if all
      vectors follow only one branch.
      
      The code is about 5% faster when executing only one branch and about
      1% slower when executing both branches.
      
      -PS5: Remove local stack space from mbfilter.
      
      Change-Id: I6a23f9b318a9f4568a2718b4c9348db988fe2182
      f4f60f60
    • Jingning Han's avatar
      Skip duplicate block encoding in the rd loop · faff6ed0
      Jingning Han authored
      This speed feature allows the encoder to largely remove the spatial
      dependency between blocks inside a 64x64 superblock, thereby removing
      the need to repeatedly encode superblocks per partition type in the
      rate-distortion optimization loop.
      
      A major challenge lies in the intra modes tested in the rate-distortion
      optimization loop. The subsequent blocks do not have access to the
      reconstructed boundary pixels without the intermediate coding steps.
      This was resolved by using the original pixels for intra prediction
      in the rd loop, followed by an appropriately designed distortion
      modeling on the quantization parameters. Experiments also suggested
      that the performance impact is more discernible at lower bit-rate/psnr
      settings. Hence a quantizer dependent threshold is applied to deactivate
      skip of block coding.
      
      For bus_cif at 2000 kbps,
      speed 0: runtime 269854ms -> 237774ms (12% speed-up) at 0.05dB
               performance loss.
      
      speed 1: runtime 65312ms  -> 61536ms, (7% speed-up) at 0.04dB
               performance loss.
      
      This operation is currently turned on in settings of speed 1.
      
      Change-Id: Ib689741dfff8dd38365d8c1b92860a3e176f56ec
      faff6ed0
    • Dmitry Kovalev's avatar
  3. 13 Jul, 2013 3 commits
  4. 12 Jul, 2013 25 commits