1. 31 Jan, 2018 3 commits
    • Yunqing Wang's avatar
      Remove frame counts in decoding coefs area · 1694a4ff
      Yunqing Wang authored
      Continued to remove count accumulation in decoder for decoder speedup.
      
      Change-Id: I9e3b874bfc5f750297070235bdfc4d71526ed665
      1694a4ff
    • Yunqing Wang's avatar
      Remove frame counts in decoder · e62feb65
      Yunqing Wang authored
      In the decode side, frame count accumulation is still existing. This
      patch removed part of them. More patch will follow. This should speed up
      the decoder.
      
      This doesn't change the encoder side since the counts are useful in
      some encoder optimizations.
      
      Change-Id: I91a021859f8d35e46618ea9232083e72a06431c8
      e62feb65
    • Hui Su's avatar
      txk-sel: support the fast tx type search feature · 12049df7
      Hui Su authored
      Change-Id: Ib6b07f76dd702c40841c88457ca9d96083157354
      12049df7
  2. 30 Jan, 2018 10 commits
  3. 29 Jan, 2018 6 commits
  4. 28 Jan, 2018 3 commits
    • David Michael Barr's avatar
      [CFL] Independent search termination for plane and sign · 2fae28b2
      David Michael Barr authored
      Stop if less than half of the iterations give improvement.
      
      Minor metric changes for a 2.5x speed up of the alpha search.
      
      Results on subset1:
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.0038 |  0.0466 |  0.1388 |  -0.0103 | -0.0312 | -0.0220 |     0.0330
      
      Change-Id: Ic25a995eee500ffc4b80b73635baf0a710954dc0
      2fae28b2
    • David Michael Barr's avatar
      [CFL] allow for 4:1 rects if full tx available · d27f1e61
      David Michael Barr authored
      Disable CFL sub8x8 validation in this case, as it appears to give
      false-negatives for 4:1 blocks. All other tests pass.
      
      The coding gain on subset1 is quite significant.
      
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.1270 | -1.1386 | -1.1426 |  -0.1167 | -0.1157 | -0.1264 |    -0.4142
      
      Change-Id: Ic20c9b1a5ff28e0fbd4e6491ed2cd2d1f6b487c9
      d27f1e61
    • Yaowu Xu's avatar
      Avoid out of bound array access · 92245c87
      Yaowu Xu authored
      Change-Id: I4066561b769cf2bd4af515c9d351f609c08e3076
      92245c87
  5. 27 Jan, 2018 1 commit
  6. 26 Jan, 2018 16 commits
    • Hui Su's avatar
      Fix memory overflow in av1_cdef_search() · 4d24a989
      Hui Su authored
      The logic to check for frame boundary needs to take 128 superblock size
      into account when ext-partition is on.
      
      BUG=aomedia:1268
      
      Change-Id: I40d2128d5ab46d57ecab9c9ecbef122005fe4b11
      4d24a989
    • Frank Bossen's avatar
      Speed up SSE4 implementation of 64-point inverse transform · c2368362
      Frank Bossen authored
      Avoid unnecessary computations knowing that only the lower
      frequency 32x32 quadrant has nonzero values.
      
      Runs about 2x faster
      
      Change-Id: Ie86f56ccdce917e30b594253f10e121b4dcb0abc
      c2368362
    • Maxym Dmytrychenko's avatar
      SSE2 optimizations for _6/_16 lowbd lpf functions · ae6e6bc1
      Maxym Dmytrychenko authored
      Includes vertical and horizontal implementations
      and to fix 5/13 TAPs/Parallel deblocking support.
      
      Re-working internals of the filters for better
      re-usage across different sizes.
      
      Tests are enabled.
      
      Performance changes, SSE2 over C:
      Horizontal methods: up to    3-4x
      Vertical   methods: up to 1.5x-2x
      
      Change-Id: I2e36035355d8c23c1d4b0d59d0e23f598e9d0e3f
      ae6e6bc1
    • Angie Chiang's avatar
      Add get_txw/h_idx functions · 29d2f21e
      Angie Chiang authored
      Change-Id: Ibace8208109068aae1e93275d28ab8bd8e58c529
      29d2f21e
    • Sebastien Alaiwan's avatar
      av1_rtcd_defs: fix formatting · f4123630
      Sebastien Alaiwan authored
      Change-Id: Ic4464eab6bedb18451f3506d1d58258f9fa64985
      f4123630
    • Sebastien Alaiwan's avatar
      Remove DAALA_TX experiment · 5859636f
      Sebastien Alaiwan authored
      This experiment has been abandonned for AV1.
      
      Change-Id: Ief8ed6a51a5e7bac17838ebb7a88d88bbf90a96f
      5859636f
    • Jingning Han's avatar
      Properly reset the skip_mode element in mb_mode_info · 3da65bff
      Jingning Han authored
      The skip_mode element might re-use prior frame's coding decision
      for a current coding block rate-distortion search. Properly reset
      it to be zero for regular rate-distortion mode search.
      
      This improves the coding performance for ext-skip by 0.07% for
      lowres.
      
      Change-Id: Idbda5b441e3eb844e03ca07bd174b4b7f8a7cb59
      3da65bff
    • Yaowu Xu's avatar
      minor reorder of operations · 30bf8713
      Yaowu Xu authored
      This also fixes several UBSan warnings.
      
      Change-Id: I4ea5f744c42983ea44c7cd6925555eab4938097c
      30bf8713
    • Yi Luo's avatar
      Fix loopfilter function usage · 31791278
      Yi Luo authored
      Here we should use aom_lpf_horizontal_16 function instead of
      aom_lpf_horizontal_16_dual function.
      
      aom_lpf_horizontal_16_dual works for two horizontal blocks,
      also fixed.
      
      Change-Id: Icc991d3f98bb182fa30497f120021aeb17839d21
      31791278
    • Debargha Mukherjee's avatar
      Adjust last odd row weight in fast_sgr · 127b562a
      Debargha Mukherjee authored
      Change-Id: I2348a7c6a3553bbbb0d061820a7c546a1a0367df
      127b562a
    • David Barker's avatar
      Fix compile warning with mono-video disabled · 6cd8e177
      David Barker authored
      The variable 'num_planes' is only used when mono-video is enabled,
      so move it inside a #if CONFIG_MONO_VIDEO block
      
      Change-Id: I415f764b2629478edde579142b7242851991b1c0
      6cd8e177
    • Yushin Cho's avatar
      [seg] No need to decide temporal_update · e8d8879e
      Yushin Cho authored
      If error resilient mode is true, temporal update of seg_id is not used,
      thus don't need to decide seg->temporal_update flag by calling
      av1_choose_segmap_coding_method().
      
      Change-Id: Ifb2271be53f1a6bc64f1196af5e7fbe46741fab0
      e8d8879e
    • Cheng Chen's avatar
      Skip txfm search · 3c22260b
      Cheng Chen authored
      Skip transform type search.
      
      Without txk_sel:
      Skip remaining transform type search when all transform blocks inside
      the coding block have eob = 0.
      
      With txk_sel:
      For each transform block, whenever eob = 0, we skip remaining
      transform type search.
      
      Speed impact:
      On low bitrate, 25% speed up.
      On high bitrate, 15-20% speed up.
      
      Performance impact: Google test lowres, 30 frames
      With txk_sel: 0.15% drop
      Without txk_sel: 0.30% drop
      
      Change-Id: I5e8db730a19feec22e378611046b1ce1ab001c85
      3c22260b
    • Yaowu Xu's avatar
      localize initialization of zero and max · 14b7967b
      Yaowu Xu authored
      This commit change the initialization of two constants to smaller
      scope, reducing the number of aligned parameters being passed into
      cfl_predict_hbd. This fixes the compiling issues with vs2015.
      
      BUG=aomedia:1275
      
      Change-Id: Idd19e945ac6312654b7b0184fcbf65ca398c46ce
      14b7967b
    • Yunqing Wang's avatar
      Speed up av1_find_mv_refs() · b41ffb95
      Yunqing Wang authored
      av1_update_mv_context() is only used to provide compound_mode_context,
      which is the same as mode_context in find_mv_refs_idx(). This patch
      removes the calling of av1_update_mv_context() that takes 0.5% of the
      decoder time. This doesn't change bitstream.
      
      Change-Id: I6f0e082b237ff42c3b3e72361c46f98249ba07ab
      b41ffb95
    • Yaowu Xu's avatar
      Remove const from parameter passed-by-value · 838ea62c
      Yaowu Xu authored
      This makes the usage of const consistent.
      
      Change-Id: I0ebf59842d8df234d0f4a91636b4bc2d6e9a6c81
      838ea62c
  7. 25 Jan, 2018 1 commit
    • Yunqing Wang's avatar
      Search the same set of neighbouring positions · 28f3fbf7
      Yunqing Wang authored
      This patch prepares for removing of av1_update_mv_context(). In
      av1_update_mv_context() and av1_find_mv_refs(), the neighbouring
      positions searched are not exactly the same. This patch fixes it.
      This causes bitstream chamges, but shouldn't affect the coding
      quality.
      
      Change-Id: I59d2f8c318df388f2d06634cd96802b773c8bb13
      28f3fbf7