1. 01 Feb, 2018 5 commits
    • Jonathan Matthews's avatar
      Revert "Reduce memory usage of inter_tx_size[] in MB_MODE_INFO" · 1fa9ba4c
      Jonathan Matthews authored
      This reverts Change-Id: Ie11dd055255d200954b704b8c2ad8ca3dff7bf5c
      
      BUG=aomedia:1305
      
      Change-Id: I6894928dcadc99a79417034a7096a215693a46f2
      1fa9ba4c
    • Hui Su's avatar
      Don't prune tx types when cb_partition_scan is true · 8fdc31f2
      Hui Su authored
      When cb_partition_scan is true, only DCT_DCT is considered. Therefore
      there's no need to prune transform types; and if DCT_DCT is pruned, we
      end up with no transform type to use.
      
      Change-Id: I1d65fe94e72de66fde18e271a598f9e67ade9cfb
      8fdc31f2
    • Yaowu Xu's avatar
      Prevent integer overflow · 52bde846
      Yaowu Xu authored
      Change-Id: Ibe4f7bb61837b6bae6717f0c683fa23f78de5b80
      52bde846
    • Jingning Han's avatar
      Enable 2-pass coding block partition search · 4489c267
      Jingning Han authored
      Obtain the most likely partition range from a first pass square
      block base partition search. Use the constrained partition search
      region for full rate-distortion optimization search in the second
      pass.
      
      Tested on pedestrian 1080p at 2000 kbps, it makes the encoding
      speed 40% faster for speed 0 and 30% faster for speed 1. The
      average coding performance loss is around 0.15%.
      
      Change-Id: Ifc83d48e6413d1b887e68cd1962084e018a2258f
      4489c267
    • Jingning Han's avatar
      Add partition search speed feature · c58ccc31
      Jingning Han authored
      Use simple rate-distortion search route for the first pass coding
      block partition.
      
      Change-Id: Iaaec3e1af83f46f625d3de8361eddd79a2bc6cef
      c58ccc31
  2. 31 Jan, 2018 5 commits
  3. 30 Jan, 2018 4 commits
  4. 29 Jan, 2018 3 commits
    • Hui Su's avatar
      Remove kf_ctx experiment flag · 717ce090
      Hui Su authored
      Change-Id: I829da5fc8007589a1323b49eecf6fa741d51c0e7
      717ce090
    • Hui Su's avatar
      intrabc: support txk-sel · 02e84155
      Hui Su authored
      Allow transform blocks within an intraBC block to use differenct transform
      types.
      
      Change-Id: Ibd1a0e920f9d37fae007eecb3c79e0b1b839b37e
      02e84155
    • Hui Su's avatar
      Correctly handle transform type cost · 6001e04c
      Hui Su authored
      Only consider transform type cost when there are more than just one
      candidate.
      
      Change-Id: I3b16bfb7f4d37a1826230396f46b741dbae82ac7
      6001e04c
  5. 28 Jan, 2018 2 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
    • Yaowu Xu's avatar
      Avoid out of bound array access · 92245c87
      Yaowu Xu authored
      Change-Id: I4066561b769cf2bd4af515c9d351f609c08e3076
      92245c87
  6. 26 Jan, 2018 2 commits
    • Sebastien Alaiwan's avatar
      Remove DAALA_TX experiment · 5859636f
      Sebastien Alaiwan authored
      This experiment has been abandonned for AV1.
      
      Change-Id: Ief8ed6a51a5e7bac17838ebb7a88d88bbf90a96f
      5859636f
    • 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
  7. 25 Jan, 2018 5 commits
    • Hui Su's avatar
      Re-enable the tx type pruning speed feature · 4e71fd94
      Hui Su authored
      Change-Id: I93702d24bf7d711b6910e2e502f9f97c661bcf6c
      4e71fd94
    • Jingning Han's avatar
      Use meaningful names in txk-sel rd control · 66965a20
      Jingning Han authored
      Change-Id: I83ca47c1469d8e383a815058c02c4826c6282873
      66965a20
    • Yue Chen's avatar
      Clean up and rework rates in motion_mode_rd() · c5024215
      Yue Chen authored
      Remove all *bmc variables, which were used to record basic motion
      search results (no advanced masked compound) when obmc and warped
      motion modes were allowed to work with compound ref.
      Remove switchable rate that is passed in to it, since in most
      motion modes, we need to recalculate the cost based on motion_mode
      and the refined mv. This change slightly improve the rd perf.
      
      Performance change: -0.024%
      
      Change-Id: I4afe0927e97cc7e7251022957f7665ed3032079c
      c5024215
    • Zoe Liu's avatar
      Simplify context identification for coding ref frames · fa8bad19
      Zoe Liu authored
      This patch simply aggregates the checking on the counts of certain
      reference frames in the neighboring above and left blocks. It does
      not incur any coding performance change.
      
      Change-Id: I59a962ba95e7ab16731ce97371ec5709a582a0ba
      fa8bad19
    • Hui Su's avatar
      Move av1_search_txk_type() to rdopt.c · 4a5c6cf8
      Hui Su authored
      Change-Id: I4f9d014324b35e30f25cae5fa570620249640cf6
      4a5c6cf8
  8. 24 Jan, 2018 4 commits
    • Cheng Chen's avatar
      Record total rate cost in trellis · 82775f61
      Cheng Chen authored
      Record total rate cost when computing trellis optimization.
      Reduce redundant rate computation in later stages.
      
      Speed impact: ~6% speed up
      Coding performance should not be affected.
      
      Change-Id: I9e940a2d126bb55930fcf22ea04d061eee1fc944
      82775f61
    • Jingning Han's avatar
      Skip RD search over lst 2/3 frame for non-nearest neighbor mvs · 8db5f17b
      Jingning Han authored
      Skip the rate distortion search over last 2/3 reference frames for
      the reference motion vectors derived from non-nearest neighbors.
      The overall coding performance change is in the noise range - 0.05%
      better. Speed up the encoding process by 20%.
      
      Change-Id: I823b8ca2805ae332f4c9bc8ee255069a82db4331
      8db5f17b
    • Jingning Han's avatar
      Support rd model in txk sel search · dd8600f5
      Jingning Han authored
      Make the per transform block kernel selection process unified with
      the rate distortion model used in preliminary mode search. This
      makes the txk-sel model search space same as baseline.
      
      Change-Id: I82a2d94e88a03c88154582575ced500197f8a409
      dd8600f5
    • Hui Su's avatar
      Code cleanup in rdopt.h · 206d22f2
      Hui Su authored
      Change-Id: Iea0e8665cdd5b9bc0fe17930add7068443765ea9
      206d22f2
  9. 23 Jan, 2018 2 commits
    • Hui Su's avatar
      Remove av1_cost_bit() · 751a2335
      Hui Su authored
      It's more efficient to use av1_cost_literal() instead.
      
      Change-Id: I50727d4a4ee06492b373c2e7831c224c5eae8735
      751a2335
    • Imdad Sardharwalla's avatar
      Don't calculate chroma data in monochrome mode · af8e2648
      Imdad Sardharwalla authored
      Encoder: Prior to this patch, some chroma data was calculated and
      later discarded when in monochrome mode. This patch ensures that
      the chroma planes are left uninitialised and that chroma
      calculations are not performed.
      
      Decoder: Prior to this patch, some chroma calculations were still
      being performed in monochrome mode (e.g. loop filtering). This
      patch ensures that calculations are only performed on the y
      plane, with the chroma planes being set to a constant.
      
      Change-Id: I394c0c9fc50f884e76a65e6131bd6598b8b21b10
      af8e2648
  10. 19 Jan, 2018 2 commits
  11. 18 Jan, 2018 5 commits
  12. 17 Jan, 2018 1 commit
    • Hui Su's avatar
      Fix a bug in intra_block_yrd() · cdef3b38
      Hui Su authored
      The tx size cost should be included in the total rate cost.
      
      Change-Id: Ib8fe9cc67cf712ba1c7c8f539b390909c7e6be7b
      cdef3b38