1. 11 Dec, 2017 2 commits
  2. 10 Dec, 2017 2 commits
    • Zoe Liu's avatar
      Enable skip mode work with JNT_COMP · 50c810d5
      Zoe Liu authored
      This patch updates also the default cdfs for skip mode. It also remove
      the unneeded checking on whether the best obtained RD mode aligned
      with the skip mode.
      
      For 30 frames, on both AWCY and Google lowres/midres test sets, with
      the following config, the coding gain ranges from ~-0.15% to -0.23%:
      
      --disable-ext-partition --disable-ext-partition-types --disable-txmg
      --enable-jnt-comp --enable-mfmv
      
      Change-Id: I39aeeb9e7b27ca679c1b3f9c0eea67b5e1f694e2
      50c810d5
    • Hui Su's avatar
      TX block hash: record the eob value · 8c2b913b
      Hui Su authored
      BUG=aomedia:1093
      
      Change-Id: I0871c67d9a2ddc6aa9d3084f645305f6b74a999f
      8c2b913b
  3. 09 Dec, 2017 3 commits
  4. 08 Dec, 2017 2 commits
    • Debargha Mukherjee's avatar
      Misc refactors to support 4:1->2:1->1:1 tx splits · 0fa057f8
      Debargha Mukherjee authored
      Currently 4:1 transforms have max 2 split levels:
      4:1 -> 1:1 -> 0.5:0.5.
      
      This refactor enables split levels:
      4:1 -> 2:1 -> 1:1,
      
      by simply changing the tables in common_data.h.
      
      The actual switch will be made in a subsequent patch.
      
      Change-Id: I33f8d9ca5159ba3e7d02ced449ddf6f804a8f12a
      0fa057f8
    • Jingning Han's avatar
      Constrain hash table access within tile boundary · 3de5353c
      Jingning Han authored
      Limit the prediction residual hash table access within the same
      tile. This resolves a data race issue across tiles in multi-threading
      encoding that triggers instable encoding results.
      
      BUG=aomedia:1088
      
      Change-Id: Ia4a415a0750bd60ee8ac4e56aa1cd39ec99e19c7
      3de5353c
  5. 07 Dec, 2017 6 commits
  6. 05 Dec, 2017 5 commits
  7. 04 Dec, 2017 2 commits
    • Debargha Mukherjee's avatar
      Fixes to make 4:1 rectangular intra work correctly · d2cfbefb
      Debargha Mukherjee authored
      This patch fixes and enables rectangular intra transform
      sizes for 4:1 partitions (that were turned off before).
      4:1 partitions can now use rectangular intra predictions with
      2:1 rectangular transform sizes.
      BDRATE lowres (single keyframe): -0.612%
      
      Change-Id: I6f062f7c08aae8eeb0a55d31e792c8f7e3f302a2
      d2cfbefb
    • Angie Chiang's avatar
      Use macro to set txk_type · bce07f1c
      Angie Chiang authored
      This will make txk_sel support maximum bsize to 128x128
      
      Change-Id: I33941966cb1ae4406ac68a2124c859c833a084d8
      bce07f1c
  8. 02 Dec, 2017 5 commits
    • Hui Su's avatar
      intrabc: fix SB index calculation in RDO · 8de99a6e
      Hui Su authored
      It was wrong when ext-partition is on and sb_size=64, potentially causing
      big compression loss.
      
      Change-Id: I39cba439811bc0ab7c5532842887cf82bb3b5657
      8de99a6e
    • Yunqing Wang's avatar
      Modify the warped motion mode context · 3afbf3fb
      Yunqing Wang authored
      Modified the warped motion mode context based on neighbor's motion modes
      and current block's mode.
      
      Change-Id: I77ca35fab37ec640bb38661ff1799f643d5aafdc
      3afbf3fb
    • Debargha Mukherjee's avatar
      Rd fix for returning skip correctly · 9c8decb5
      Debargha Mukherjee authored
      Change-Id: I7f108fce272b5bf416836d99430f07af801daada
      9c8decb5
    • Zoe Liu's avatar
      Overwrite frame level skip mode flag if no usage · 8a5d3437
      Zoe Liu authored
      Add a block level usage flag for skip mode. If no block has chosen the
      skip mode, the frame level flag for skip mode will be set off.
      
      This patch also includes a small code cleanup, including the check on
      whether the best RD mode is aligned with skip mode, if yes, the best
      RD mode will be replaced by skip mode.
      
      This patch slightly improves the coding performance of ext-skip.
      
      Change-Id: If06092d5e32f15e63dcb5f35d32e68bc0f827c2b
      8a5d3437
    • Angie Chiang's avatar
      Correct the skip rate in set_skip_flag for lv_map · 4639e080
      Angie Chiang authored
      Change-Id: I584694374a2468e0dcfe6e4fdb2582e5cae051ef
      4639e080
  9. 01 Dec, 2017 5 commits
  10. 30 Nov, 2017 4 commits
    • Michelle Findlay-Olynyk's avatar
      Add speed feature use_fast_interpolation_filter... · a3eb912b
      Michelle Findlay-Olynyk authored
      Applies to speed >=1. Instead of searching all dual filter space
      {R,Sm,Sh}x{R,Sm,Sh}, only check {R}x{R,Sm,Sh} followed by
      {R,Sm,Sh}x{best of prev R,Sm,Sh}.
      
      Saves ~6% of cycles by reducing av1_convolve_2d_sse2, with 0.023
      overall psnr drop.
      
      Change-Id: I82d7a6321b335293124a007ff4c87f0e260052e1
      a3eb912b
    • Luc Trudeau's avatar
      [CFL] CfL Initialization Simplification · 1e84af52
      Luc Trudeau authored
      The CfL context is now stored inside MACROBLOCKD instead of
      MACROBLOCKD only storing a pointer to the CfL context.
      The intent is to avoid race conditions as MACROBLOCKD is stored
      inside ThreadData. This change also simplifies CfL Initialization.
      
      Change-Id: I991503716b21fc9aca60caddb2008b8bff397e6d
      1e84af52
    • Sebastien Alaiwan's avatar
      rdopt.c: inline temporary · feca25a5
      Sebastien Alaiwan authored
      Change-Id: I9e79d37b83d0185e3079ce4f7c7277840fc0d753
      feca25a5
    • Debargha Mukherjee's avatar
      Refactor/Change the entropy context for transforms · b3eda2f4
      Debargha Mukherjee authored
      The change makes the entropy context for transforms use
      the same mechanism as with and without lv_map.
      For the non-lv-map case the context is now based on the
      the larger transform dim for 2:1 rect transforms. The context
      is now the average for 4:1 rect transforms for both lv-map and
      non-lv-map cases.
      There is one small fix for level map for getting the correct
      rate when skip is set.
      
      BDRATE: lowres, 30 frames, speed 1: -0.15% gain for the
      non-lv-map case on the baseline.
      
      Change-Id: I06a583d33bef68202d72a88e077f8d31cc5e7fe4
      b3eda2f4
  11. 29 Nov, 2017 4 commits
    • Yushin Cho's avatar
      [dist-8x8] Refactor dist_8x8_sub8x8_txfm_rd() function · f0049ba5
      Yushin Cho authored
      So that, existing diff pixles can be used to calculate sse distortion
      for both intra and inter mode blocks.
      
      Change-Id: Ifa79003dbc08f5a49e3246d350469a32060648cf
      f0049ba5
    • Zoe Liu's avatar
      Unify binary symbol design for LAST/LAST2 · 8781828b
      Zoe Liu authored
      Current encoding of single ref assigns bit 0 to LAST_FRAME and bit 1
      to LAST2_frame, whereas the encoding of compound ref assigns bit 1 to
      LAST_FRAME and bit 0 to LAST_FRAME. This patch unifies the design and
      makes the binary symbol assignment for LAST/LAST2 consistent
      regardless of the single/compound ref scenarios.
      
      This patch incurs a small syntax change but should not have noticeable
      coding performance impact. Once BUG 973 is fully addressed, default
      cdfs for reference frame coding will be updated.
      
      BUG=aomedia:973
      
      Change-Id: I1f3027965c0bb2d343bc8ad873f7c0015123f151
      8781828b
    • Luc Trudeau's avatar
      Add macroblockd_plane variable to super_block_uvrd · 52301a2d
      Luc Trudeau authored
      Change-Id: I43da630aa38c1b77fd76e5ef1a8e07a3b2b4ba6b
      52301a2d
    • Hui Su's avatar
      store the hash for blocks that are predictively skipped · 89ef493b
      Hui Su authored
      Change-Id: I334281aee38be03a383ae6899970b4200ec43c01
      89ef493b