1. 04 Jan, 2018 4 commits
    • Hui Su's avatar
      Remove probability model for single ref frames · 3d30b4b6
      Hui Su authored
      -Use the CDF values to calculate the cost for ref frame signaling
      -Update the cost per superblock
      -Fix some errors in the default CDF
      
      Test on midres speed-1 30 frames shows ~0.1% coding gain.
      
      Change-Id: I6f3e5896ef1cae9b515fc8287bc7565d68d05a57
      3d30b4b6
    • Yunqing Wang's avatar
      Remove sample sorting in warped motion sample selection · d3c13e88
      Yunqing Wang authored
      The original sample selection process involves finding best 8 sorted
      samples according to motion vector difference(MVD) between neighbor
      block and current block, and then trimming samples. To reduce the
      complexity, use the current block width/height as the MVD threshold,
      and trim the samples without sorting.
      
      This gives slightly less gain than the original method.
      AWCY result:
               PSNR   PSNR HVS   SSIM
      Average  -0.07   -0.13     -0.12
      Borg test result:
                   avg_psnr ovr_psnr ssim
      cam_lowres:  -0.112   -0.112  -0.180
      lowres:      -0.068   -0.073  -0.125
      
      Change-Id: Ic2f79a170441d5bcb04ea87dddf490ef7fbba8bc
      d3c13e88
    • Hui Su's avatar
      Remove probablity model for the comp_inter flag · 9d0c03d6
      Hui Su authored
      Change-Id: I7c7f193dea8e99be31d048b3fe2b198887a52822
      9d0c03d6
    • Hui Su's avatar
      Initialize skip_txfm_sb flag in motion_mode_rd() · 5ef90ceb
      Hui Su authored
      BUG=aomedia:1172
      
      Change-Id: I7fcc3a7786acd272f46d8a675e3bd5d80a52f5bc
      5ef90ceb
  2. 03 Jan, 2018 1 commit
  3. 02 Jan, 2018 1 commit
  4. 30 Dec, 2017 1 commit
  5. 27 Dec, 2017 2 commits
  6. 25 Dec, 2017 1 commit
    • Angie Chiang's avatar
      Avoid changing motion_mode after rd search · 6f90fb29
      Angie Chiang authored
      Check if the global motion undergoes non-translation mode. If that
      is the case, do not force a newmv mode into globalmv mode.
      
      This will resolve a mismatch bug of txk_sel.
      
      Change-Id: I589f1619427f02045f8cf49bdea05f348f076236
      6f90fb29
  7. 24 Dec, 2017 2 commits
  8. 23 Dec, 2017 1 commit
    • Sarah Parker's avatar
      Merge FINAL_PASS_TRELLIS_OPT with DISABLE_TRELLISQ_SEARCH · 792c2ec4
      Sarah Parker authored
      The speed feature FINAL_PASS_TRELLIS_OPT is meant to disable
      optimize_b during the transform search but allow it for the
      final encode of blocks. There was a previously existing macro
      called DISABLE_TRELLISQ_SEARCH, which does the same thing. This
      patch merges the functionality so the macro serves only to enable
      the speed feature.
      
      Change-Id: Ieee70f97f817998b7ca275f6e4647cc89a330ad6
      792c2ec4
  9. 22 Dec, 2017 6 commits
  10. 21 Dec, 2017 4 commits
    • Hui Su's avatar
      intrabc: enable 16x4 and 4x16 blocks · eb2fd5c5
      Hui Su authored
      0.15% gain on the screen_content testset.
      
      BUG=aomedia:998
      
      Change-Id: Ia6484a90b92a00bb0073ecf988b5c164fe8ba84c
      eb2fd5c5
    • Hui Su's avatar
      Palette: modify the context slightly · c1f411bc
      Hui Su authored
      Use the number of pixels in a block as context, rather than the bsize
      itself. The rectangular blocks therefore share the same context, e.g.
      BLOCK_8X16 and BLOCK_16X8.
      
      The number of contexts is reduced from 10 to 7.
      Almost no coding performance changes.
      
      Change-Id: Ib3241194580c2b93ad0e953957cdc9188393d055
      c1f411bc
    • Debargha Mukherjee's avatar
      Disable txfm domain dist for 64-pt transforms · d64e92c1
      Debargha Mukherjee authored
      Any 64-pt transforms only preserves half the coefficients.
      Therefore transform domain distortion is no longer valid
      for these transform sizes.
      
      BUG=aomedia:1170
      
      Change-Id: Ib99fad5497c766e2b9d2b432640c03cd49c99f50
      d64e92c1
    • Debargha Mukherjee's avatar
      Remove DISABLE_VARTX_FOR_CHROMA = 2 option. · 27b5136f
      Debargha Mukherjee authored
      Removing code for this option since it is not better than the
      DISABLE_VARTX_FOR_CHROMA = 1 option and is more complex.
      
      Change-Id: Id39d23bc6130bbed0ac008c1c76a2ba5aaee4d22
      27b5136f
  11. 20 Dec, 2017 4 commits
  12. 19 Dec, 2017 6 commits
    • Zoe Liu's avatar
      Exclude distance-weighted prediction for ext-skip · 5664419e
      Zoe Liu authored
      For ext-skip, the use of distance-weighted prediction has only shown
      a coding gain in the AMCY low delay scenario. It is hence not being
      considered and compound-average is used exlusively.
      
      Change-Id: I57439eda1246e179d6404bbec366c6c610af3a36
      5664419e
    • Yue Chen's avatar
      Remove filter_intra mode info for UV plane · b0571874
      Yue Chen authored
      Change-Id: I92f73b78dfd0e25a61897e8b6e9e28ff210376d5
      b0571874
    • Rupert Swarbrick's avatar
      Match braces in rdopt.c · d16d8ee2
      Rupert Swarbrick authored
      This makes motion by function easier in some editors (such as Emacs or
      vi), which get a bit confused by
      
        #if 1
        foo {
        #else
        foo {
        #endif
          bar;
        }
      
      Change-Id: Ie9d8c34d3b9fafdac634db5f3647f3cc1611ebee
      d16d8ee2
    • Yue Chen's avatar
      Clean-up abandoned options for filter_intra · 250dd963
      Yue Chen authored
      Code for the following options is removed.
      (1) Disable filter_intra in sub8x8 tx blocks
      (2) Filter intra implementaion based on 1x1, 2x2, and 4x4 unit
      
      Change-Id: Ie898f6e8155709beff030b0ffb876754f14fb173
      250dd963
    • Luc Trudeau's avatar
      [CFL] Cache DC_PRED during CfL-RDO · 467205ac
      Luc Trudeau authored
      By default, the DC_PRED is not cached (this includes
      decoding). During cfl_rd_pick_alpha(), DC_PRED caching
      is enabled, the DC_PRED is cached after the first time it
      is computed (for each plane) and then it is reused when
      testing all the other scaling parameters.
      
      Change-Id: Ie8ba0bb0427c4d9be8de5b44e6330e8a78b9c7d9
      467205ac
    • Luc Trudeau's avatar
      [CleanUp] Wrap intra_mode_to_tx_type_context · 9cea993b
      Luc Trudeau authored
      To avoid using a UV_PREDICTION_MODE with intra_mode_to_tx_type_context,
      a wrapper function is added. Using a UV_PREDICTION_MODE with
      intra_mode_to_tx_type_context is problematic with UV_CFL_PRED which
      needs to be converted to DC_PRED.
      
      Change-Id: I68320e34dd5e616d0f15ca2c1c951440243968cf
      9cea993b
  13. 18 Dec, 2017 4 commits
    • Luc Trudeau's avatar
      [CleanUp] Remove block from av1_mode_context_analyzer · 15a18e3d
      Luc Trudeau authored
      av1_mode_context_analyzer is always called with block == -1.
      
      Change-Id: Ibc9e7e87ea95f3651f7505b82674a6fd795ae985
      15a18e3d
    • Hui Su's avatar
      Add call to aom_clear_system_state() in pallete RDO · 80668233
      Hui Su authored
      BUG=aomedia:1144
      
      Change-Id: Ia8fb6df1a72bd1ff86c7955b681ec0d99c7a99eb
      80668233
    • Zoe Liu's avatar
      Expand skip mode support for all comp frames · 4b847e19
      Zoe Liu authored
      All compound predicted frames now have the choice to either turn on
      or off the use of the skip mode. The current encoder design only
      turns on the use of skip mode when the temporal distances of the two
      reference frames to the current frame are only different by 1.
      
      This patch also includes a fix on the calculating of the temporal
      distance between the two reference frames to the current frame for
      skip mode.
      
      Performance wise, this patch does not have noticeable impact as the
      encoder stays with the same choice with the frame-level skip mode
      flag.
      
      Change-Id: I34f370940b3b25d2ab429b8721344133ae6288ad
      4b847e19
    • Cheng Chen's avatar
      Speed up by dropping some ref frames in compound search · c683bf9b
      Cheng Chen authored
      Record distortion for each single ref in rd. Rank according to their
      distortions. Then in compound search, drop the combination of ref
      frames of the largest and second largest distortions
      
      This patch shows neutral performance on google test using lowres
      with 20 frame.
      
      Local tests show ~5% speed up over baseline.
      
      Change-Id: I722fe66a0551f5f8a044c57c55caa74e46db7ee8
      c683bf9b
  14. 17 Dec, 2017 1 commit
  15. 16 Dec, 2017 2 commits
    • Jingning Han's avatar
      Deprecate the use of bmi structure from av1 codec · 2fac8a41
      Jingning Han authored
      Change-Id: I7f5010ae3b9a014b3dca0425c9eada3b9e2c0ab3
      2fac8a41
    • Zoe Liu's avatar
      Support ext-skip for both low delay and high delay · 104d62e1
      Zoe Liu authored
      For both low delay and high delay scenarios, the reference pair in
      skip mode are specified as the closest fwd ref, together with the
      closest bwd ref if there is any bwd ref, otherwise with the two
      closest fwd refs.
      
      Skip mode by default uses COMPOUND_AVERAGE. When all the reference
      frames are on the same side, temporal-distance weighted compound is
      considered, and a compound index is signaled to indicate whether
      distance-weighted compound or compound-average is usd.
      
      Whether to use distance-weighted compound for skip mode is still
      under experimenting, hence a flag is temporarily added:
      SKIP_MODE_WITH_JNT_COMP.
      
      Following experimental results are obtained over 30 frames, using the
      setup of --disable-ext-partition --disable-ext-partition-types
      --disable-txmg --enable-jnt-comp --enable-mfmv --enable-ext-skip:
      
      (1) High Latency:
      For Google test sets (lowres/midres), the BDRate coding gain is ~0.2%;
      For AWCY, the coding gain is ~0.1%.
      (2) Low Latency:
      No gain has been observed over Google sets and ~0.1% gain is obtained
      only when temporal-distance weighted prediction is used.
      
      Change-Id: I8c433357adebed0126ebfdd5c4d51aa71e64be57
      104d62e1