1. 17 Jan, 2018 2 commits
    • David Barker's avatar
      Fix inter block detection in get_tx_size_context() · 84dc6e97
      David Barker authored
      In the decoder, the function get_tx_size_context() is called
      by read_selected_tx_size(), *before* mbmi->ref_frame is set up.
      This means that mbmi->ref_frame still holds the ref frames from
      the previous block, and does not indicate if the current block is
      inter or not.
      
      Fortunately, all of the other functions called by read_selected_tx_size()
      have an explicit "is_inter" parameter, which is set correctly.
      So we can just plumb this through into get_tx_size_context().
      
      Change-Id: I00f0f3704937f592ccc5d304ed20ee25196dd520
      84dc6e97
    • Urvang Joshi's avatar
      Remove flag ALLOW_INTRA_EXT_TX · 978152a9
      Urvang Joshi authored
      Change-Id: Ic68c6e8d54782f47fe9d1d1775b861edeb52bf35
      978152a9
  2. 16 Jan, 2018 2 commits
  3. 15 Jan, 2018 2 commits
  4. 12 Jan, 2018 1 commit
    • Dominic Symes's avatar
      Intrabc: Ensure deterministic behaviour · 37eab1dc
      Dominic Symes authored
      If the intrabc motion vectors are invalid or out of range then
      this patch defines deterministic decoder behaviour (disabling intrabc).
      This will then allow conformance tests to be written to check this
      deterministic behaviour so that we do not end up with undefined
      behaviour or compatibility problems related to illegal intrabc
      motion vectors.
      
      Change-Id: I4de3e006eaf01ab07a7fbbbfd7cfe28b0b0d140c
      37eab1dc
  5. 11 Jan, 2018 1 commit
  6. 06 Jan, 2018 3 commits
  7. 04 Jan, 2018 3 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
  8. 03 Jan, 2018 1 commit
  9. 02 Jan, 2018 1 commit
    • Zoe Liu's avatar
      Remove FIXME comment that is invalid · 3fb037aa
      Zoe Liu authored
      The FIXME is a leftover from the expired code flow. It is no longer
      valid for the current codebase.
      
      Change-Id: Ic498e6d5c59581b559eacc087a98479e8be37555
      3fb037aa
  10. 24 Dec, 2017 1 commit
  11. 22 Dec, 2017 2 commits
    • Hui Su's avatar
      Palette: enable all partitions no larger than 64x64 · 8b618f62
      Hui Su authored
      Enable palette mode for
      4x4, 4x8, 8x4, 4x16, 16x4, 8x32, 32x8, 16x64, 64x16
      
      0.8% gain on screen_content keyframe coding.
      
      Change-Id: Ic3c089b74171ace9082a0d3ad9e27c8a27553789
      8b618f62
    • Jingning Han's avatar
      Take out drl index control from opt-ref-mv · b4fc74da
      Jingning Han authored
      Removing the drl dependency on the candidate list length appears
      to incur more than 0.3% compression performance loss. Hence remove
      this option from opt-ref-mv to allow better latency vs compression
      performance trade off.
      
      Change-Id: I6edaeb2d437996082b7bdd6cda7351426c5584b9
      b4fc74da
  12. 21 Dec, 2017 3 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
    • Angie Chiang's avatar
      Remove all_zero check in read/write_inter_mode · ec9bebc1
      Angie Chiang authored
      This is a bitstream simplification.
      It will reduce motion vector context model generating latency.
      
      Change-Id: I98a496f5d72402ff51a478d5387a0653fa306dc1
      ec9bebc1
  13. 20 Dec, 2017 4 commits
    • Zoe Liu's avatar
      Remove unused prediction modes for ext-skip · feb1ebe9
      Zoe Liu authored
      For ext-skip, if a partition block uses the new skip mode,
      NEAREST_NEARESTMV is the prediction mode. Other predictions were once
      tried out but did not show noticeable coding gains.
      
      Change-Id: I76c0aa0c68fe71f95cc4a09ef0de533e4ceb2f60
      feb1ebe9
    • Yue Chen's avatar
      Clean ups and bug-fixes for filter_intra · 994dba25
      Yue Chen authored
      Clean up: clean up unused entropy related arrays
      Bug-fixes: resolve compiling errors when it is enabled with
      entropy_stats and ext_skip
      
      Change-Id: I2893e1b5c09e847fb4677f6e62709464208b76f8
      994dba25
    • Debargha Mukherjee's avatar
      Correct/Cleanup min_tx_size computation · 3ebb0d00
      Debargha Mukherjee authored
      Change-Id: I17fd041e9e1cead6b2b6339f0efa55c1ee9938af
      3ebb0d00
    • Imdad Sardharwalla's avatar
      Fix inconsistent use of ref_mv_idx. · c23ad632
      Imdad Sardharwalla authored
      "+ 1" has been added in a few locations to match the indices for the
      context for the CDFs and the motion vectors.
      
      Suggested fix (of removing +1s entirely) can then be implemented
      without further affecting the overall behaviour of the encoder and
      decoder.
      
      BUG=aomedia:858
      
      Change-Id: I650a618d3fda1d27bd3550d25ad1ac52e4365061
      c23ad632
  14. 19 Dec, 2017 2 commits
  15. 18 Dec, 2017 2 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
    • 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
  16. 17 Dec, 2017 1 commit
  17. 16 Dec, 2017 1 commit
    • 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
  18. 15 Dec, 2017 1 commit
  19. 14 Dec, 2017 1 commit
    • Luc Trudeau's avatar
      [Clean Up] Remove get_y_mode() · 2eb9b845
      Luc Trudeau authored
      The get_y_mode function, is superfluous, not used consistently, and requires a
      useless block_idx parameter than gets pass around a lot inside the
      codebase for no apparent reason.
      
      The block parameter is misleading, as it could cause people to think all these
      functions actually use this value.
      
      Change-Id: I7ae0a8d1282c009b9114c83771cce10f5c2ee397
      2eb9b845
  20. 13 Dec, 2017 5 commits
  21. 12 Dec, 2017 1 commit
    • Hui Su's avatar
      intrabc: modify default ref dv · 2d46afcd
      Hui Su authored
      Make sure the ref dv is a valid dv.
      
      Improves compression by about 0.3% on screen_content keyframes.
      
      Change-Id: I3a20c1a04b0ebcad610276f21b410dcfc8ba4c4d
      2d46afcd