1. 12 Apr, 2017 4 commits
  2. 11 Apr, 2017 9 commits
    • Angie Chiang's avatar
      Fix invalid tx_type returned by get_tx_type · 18ad894a
      Angie Chiang authored
      1) Check if tx_type is valid in get_tx_type
      
      2) Remove scan_order from rdcost_block_args
      When lv_map is on, scan_order depends on tx_type but tx_type is
      not decided before entering block_rd_txfm yet. Therefore
      assigning a scan_order into rdcost_block_args and then passing it
      into block_rd_txfm will cause error.
      
      3) Pass correct index into intra_mode_to_tx_type_context in
      get_tx_type
      
      This CL doesn't affect baseline/supertx's stats.
      
      Change-Id: I59eb12aaf1edd9110ce7a92ce61f81bf89cd5920
      18ad894a
    • Angie Chiang's avatar
      Modify choose_tx_size_type_from_rd for lv_map exp · f1cb075d
      Angie Chiang authored
      The tx_type becomes dummy when lv_map is on. The tx_type search
      will be performed in av1_search_txk_type() and the results will be
      stored in txk_type[]
      
      In choose_tx_size_type_from_rd, we use best_txk_type[] to record
      the best search result within different tx_size.
      
      Change-Id: I67c489d261aecaa0092e0cc562670588c6c55941
      f1cb075d
    • Angie Chiang's avatar
      Call av1_search_txk_type in block_rd_txfm · e50f3eca
      Angie Chiang authored
      This is part of tx kernel selection feature.
      
      Change-Id: I822e5a46d39c1fd525c911fc2a06e1be041d8ec8
      e50f3eca
    • Jingning Han's avatar
      Reset x->skip flag in the ref-mv search loop · 52617b26
      Jingning Han authored
      Resolve the unit test failure on
      AV1/LosslessTestLarge.TestLossLessEncoding/0
      
      Change-Id: Ica884da0d0e5bd808c9f02f5de0a29cab950e7be
      52617b26
    • Jingning Han's avatar
      Fix YUV444 lossless mode unit test · 2d2dac2b
      Jingning Han authored
      Properly scale the chroma component size per color plane.
      
      Change-Id: Ibf192d0e99f2fc3611beb82a3a9951ad09b292d3
      2d2dac2b
    • Angie Chiang's avatar
      Add tx_type_cost() · 65201569
      Angie Chiang authored
      Change-Id: Icd19ec381e8188c1c34e7a8b664d552d146cb7fc
      65201569
    • Angie Chiang's avatar
      Add search_txk_type · 808d859f
      Angie Chiang authored
      Change-Id: I50493fa9daf2de8859608d57f8d2010842c9eb07
      808d859f
    • Angie Chiang's avatar
      Add av1_inverse_transform_block_facade · bc2288cc
      Angie Chiang authored
      This function will apply av1_inverse_transform_block to
      pd->dst.buf directly.
      
      Change-Id: I703762c2d3cee2af626c190fe3b3995e3cce2082
      bc2288cc
    • Zoe Liu's avatar
      Remove the single ref inter mode NEWFROMNEARMV · 7f24e1b0
      Zoe Liu authored
      Change-Id: I246da885154303d139f5d97c53ebfc55d6dc82ca
      7f24e1b0
  3. 10 Apr, 2017 2 commits
    • Angie Chiang's avatar
      Use block_idx rather than block_raster_idx · 752ccce7
      Angie Chiang authored
      1) block_raster_idx is actually raster order only when tx_size
      is TX_4x8.
      It's very specific, so we should put it near to the place it's
      actually used.
      
      2) Sync the meaning of block_idx on encoder/decoder sides
      
      Change-Id: I7d37a992cb773503e29f9c0d9d2586e580aa6173
      752ccce7
    • Jingning Han's avatar
      Fix high bit-depth distortion computation · 6a9dbefc
      Jingning Han authored
      Resolve the segmentation fault issue in nightly run unit test
      AV1/AltRefForcedKeyTestLarge.Frame1IsKey/0
      
      Change-Id: Ib27ac0d41767f39114905b7edb6c220bf62214a1
      6a9dbefc
  4. 09 Apr, 2017 1 commit
  5. 07 Apr, 2017 4 commits
    • Angie Chiang's avatar
      Expand av1_encode_block_intra in block_rd_txfm · 62e54cd3
      Angie Chiang authored
      This will make the code a bit complicated, but it will facilitate
      lv_map experiment
      
      Change-Id: Ic2d4d2caac4d138aacc8a9e86e2f1b029395f1fc
      62e54cd3
    • Angie Chiang's avatar
      Add dst_has_residue to dist_block() · 5106e283
      Angie Chiang authored
      Instead of using inter/intra to determine the dst buffer has
      residue or not, we use dst_has_residue.
      
      This will provide us more flexibility to do experiment.
      
      Change-Id: Ib1de1076cf1ea327df9003a9a149957ecb4c0a3c
      5106e283
    • Angie Chiang's avatar
      Expand choose_tx_size_fix_type · a4fa1909
      Angie Chiang authored
      This CL actually makes the code more complicated but it will allow
      us to break the framework of searching tx_size with fixed tx_type
      
      I will find a way to simplify the code later.
      
      Change-Id: Iae933a40d0c7eb9ec65b34ebfd9d543423f304aa
      a4fa1909
    • Angie Chiang's avatar
      Add skip_txfm_search() for transform prunning code · 2d147c16
      Angie Chiang authored
      This will make choose_tx_size_fix_type() more straightforward
      
      Change-Id: Iaf2344f5742666104b08c3e3673223e197bf482e
      2d147c16
  6. 06 Apr, 2017 2 commits
  7. 05 Apr, 2017 2 commits
  8. 04 Apr, 2017 4 commits
  9. 03 Apr, 2017 2 commits
  10. 31 Mar, 2017 2 commits
    • David Barker's avatar
      Allow NEAR_NEARMV and NEW_NEWMV modes to use ref_mv_idx · 404b2e87
      David Barker authored
      When ext-inter and ref-mv are both enabled, this patch
      allows the NEAR_NEARMV and NEW_NEWMV modes to pick from
      the extended reference mv list, just like the NEARMV and
      NEWMV modes can.
      
      Change-Id: Ibcc9e19dba7779422c1c9589d5498159e83bf61e
      404b2e87
    • Alex Converse's avatar
      Crop distortion to visible MIs · 61f37b87
      Alex Converse authored
      Ported from VP9 with some heavy modifications
      
      bsize_dist@2017-03-29T23:18:27.564Z -> bcropped_dist@2017-03-29T23:21:00.200Z
      
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.0966 | -0.0922 |  0.0032 |  -0.0618 | -0.0579 | -0.0441 |  -0.0959
      
      Change-Id: Icdfcf47a9017fd3180e7fbc963196a43c5376c4e
      61f37b87
  11. 30 Mar, 2017 2 commits
    • Alex Converse's avatar
      Make aom_sum_squares_2d_i16 take width and height parameters. · 4c5b0204
      Alex Converse authored
      SSE2 may be needed for nx4 and 4xn.
      
      Change-Id: I3c10112447fdb5fe51a68bc2c6e2f2641b102723
      4c5b0204
    • Yue Chen's avatar
      Restrict # of neighbors in obmc blending · 1bd42be6
      Yue Chen authored
      Only blend with the first N neighbors at each side. If the size of
      one dimenstion is 8/16/32/64, the max # of neighbors to overlap
      with is 1/2/3/4.
      Previously we disable obmc mode if there are too many neighbors.
      
      Change of performance in AWCY, compared to disabling obmc if
      at any side there are more than 2 overlappable neighbors.
      HL improved by 0.02%
      LL improved by 0.09%
      
      Change-Id: I93d9a65c6c4aabf0b4a4946e2253d3e2ef21a662
      1bd42be6
  12. 29 Mar, 2017 1 commit
    • Debargha Mukherjee's avatar
      Improves/refactors rd costing for global motion · 265db6d0
      Debargha Mukherjee authored
      Improves and simplifies costing for global motion to use the
      actual bits used to communicate the global motion parameters.
      Removes some of the old hacks.
      This patch also includes necessary refactoring to incorporate
      reference based coding of the motion parameters to follow.
      
      lowres results: -1.489% (up from -1.333%)
      
      Change-Id: I994dc97046011de4261633ccb0c9d71e374f2c5a
      265db6d0
  13. 28 Mar, 2017 1 commit
  14. 27 Mar, 2017 3 commits
    • hui su's avatar
      rect-tx/ext-tx: fix an assertion fail · ff5e2098
      hui su authored
      Fix an assertion fail in rd_pick_intra_sub_8x8_y_subblock_mode().
      
      BUG=aomedia:410
      
      Change-Id: I22d4aaea0566336605230e09d9590bc235719685
      ff5e2098
    • Angie Chiang's avatar
      Compute lv_map's coeff cost in av1_cost_coeffs() · 47e4b369
      Angie Chiang authored
      1) move the original implementation in av1_cost_coeffs() to
      cost_coeffs() and let av1_cost_coeffs become a switch for
      choosing original coeff cost or lv_map's coeff cost
      
      2) change get_txb_ctx's naming. Use plane_bsize instead of
      bsize to make the intention clear.
      
      3) remove txb context computing in get_txb_ctx
      Change-Id: I17e3d39d796e051d1c90f0a0c5d7d0888b9ca292
      47e4b369
    • Yushin Cho's avatar
      Remove av1 coeff context setting when PVQ is used · 6341f5c5
      Yushin Cho authored
      Entropy context of above and left block is not used
      when PVQ is turned on.
      
      Change-Id: I50c908bba800382438a48f7cc83f8b0f177393a1
      6341f5c5
  15. 25 Mar, 2017 1 commit