1. 02 Jun, 2017 1 commit
    • Angie Chiang's avatar
      Add try_change_eob() · c77799be
      Angie Chiang authored
      This function will be applied to the last non-zero coeff to
      calculate the cost difference including eob change
      
      Change-Id: I471aa74600c41fd371447ec121d113c79bd767b8
      c77799be
  2. 01 Jun, 2017 10 commits
    • Yushin Cho's avatar
      Fix daala-dist for cb4x4 · 63927c43
      Yushin Cho authored
      The place where av1_daala_dist() is applied for sub8x8 partition is
      moved from sub8x8 mode decision functions to rd_pick_partition().
      
      BD-Rate change by daala-dist with '--disable-var-tx' is:
      (AWCY, objective-1-fast, high delay mode)
      
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      15.1558 | 12.9585 | 14.4662 |  -3.8651 | -1.7102 | -9.2956 |    10.8686
      
      In MSE probe mode:
      
        PSNR | PSNR Cb | PSNR Cr | PSNR HVS |   SSIM | MS SSIM | CIEDE 2000
      0.0429 |  0.0435 |  0.1651 |  -0.0415 | 0.0850 |  0.0122 |     0.0546
      
      Change-Id: I3b2ea916d41c48e433eb641adf44552e4725c198
      63927c43
    • Angie Chiang's avatar
      Add try_level_down() · a530ef40
      Angie Chiang authored
      This function computes the overall (i.e. self and neighbors') cost
      difference caused by downgrading a coefficient by one level at
      a specific location
      
      Change-Id: I1b7b6acfe06ed06b9a2ff48b5bb11527646d1aa8
      a530ef40
    • Angie Chiang's avatar
      Add try_self_level_down() and get_level_prob() · 7afbba41
      Angie Chiang authored
      try_self_level_down() computes the cost difference of the coeff
      that is downgraded by one level
      
      get_level_prob() computes the probability of level_map coding
      at a specific position and level.
      
      Change-Id: Iaa9d40477aaf798993c2d5d26341551db665902b
      7afbba41
    • Angie Chiang's avatar
      Add gen_txb_cache() and it's related functions · 2affb3b0
      Angie Chiang authored
      This function pre-generate counts/magnitudes of each level map
      such that we don't have to re-calculate the counts/magnitudes
      while doing the optimization.
      
      Change-Id: Ifdfc89522cf2f2b9f3734d451324081f42b47cb0
      2affb3b0
    • Angie Chiang's avatar
      Add get_coeff_cost() and get_txb_cost() · 488f921c
      Angie Chiang authored
      Change-Id: I085f2bc706fde41afbee5ff48b56acc095f804c2
      488f921c
    • Timothy B. Terriberry's avatar
      cb4x4: Move sub-4X4 TX sizes behind CONFIG_CHROMA_2X2. · fe67ed6a
      Timothy B. Terriberry authored
      cb4x4 itself should not require these sizes.
      
      This simplifies compatibility with other experiments, since we can
      first make them work with cb4x4 (which is now on by default), and
      then worry about chroma_2x2 (which is not) in separate steps.
      
      Encoder and decoder output should remain unchanged.
      
      Change-Id: I4e9fcdae49f238b5099a3c74a398fe993c2545f8
      fe67ed6a
    • hui su's avatar
      Initialize chroma mode info before RD search · eaddeee1
      hui su authored
      Make sure initialization is done regardless of whether RD search
      is skipped (skip_chroma_rd).
      
      BUG=aomedia:568
      
      Change-Id: Idb620b34be6930bb35ab6c912dfd4777f7614159
      eaddeee1
    • hui su's avatar
      filter-intra: fix compiler warnings when cb4x4 is off · b4ed1493
      hui su authored
      Change-Id: I995b1ba6b1dafeceb1e75a3d71d6630215a8df68
      b4ed1493
    • Debargha Mukherjee's avatar
      Add refinement search for sgrproj filter · 749f5cd5
      Debargha Mukherjee authored
      Change-Id: I8deea1d2a76ce8c36085d19362ac2508fd3c438f
      749f5cd5
    • Yue Chen's avatar
      Make ext_inter/wedge/compound_segment/interintra on by default · f03907a2
      Yue Chen authored
      (1) Make unit tests for masked sad/variance encoder-only
      (2) Fix compile error with intrabc
      (3) Fix warnings reported by static analysis
      
      Change-Id: I0cd2176fcda0b81e1fc30283767678376ced4c42
      f03907a2
  3. 31 May, 2017 5 commits
  4. 30 May, 2017 1 commit
  5. 29 May, 2017 2 commits
  6. 28 May, 2017 2 commits
  7. 27 May, 2017 1 commit
  8. 26 May, 2017 5 commits
    • Jingning Han's avatar
      Fix enc/dec mismatch in filter-intra and chroma-sub8x8 · 62946d17
      Jingning Han authored
      BUG=aomedia:561
      
      Change-Id: I6dc0fd97f29bfa0302abb6e90802674c1aa65674
      62946d17
    • Jingning Han's avatar
      Cover intra tx size count in rect-tx · 2d4fafac
      Jingning Han authored
      Account for intra tx size case when coding block is in skip mode.
      
      Change-Id: I030bc05d890c4a7c8d4628a7f9bdebaba6083a03
      2d4fafac
    • Yue Chen's avatar
      ext_inter: remove unnecessary rate parameters · 5e606544
      Yue Chen authored
      Only use compmode_interinter_cost and compmode_interintra_cost in
      handle_inter_mode() since outside the function they can be reflected
      by the total rate.
      Plus adding config flags to separate wedge/compound_segment from
      ext_inter
      
      Change-Id: I56b402aab3cf2337bae8d7e682f93cd8557f69a4
      5e606544
    • Yi Luo's avatar
      Improve the quantization table interface · c621023e
      Yi Luo authored
      - Add av1_build_quantize() function so that quantization
        related unit test would be able to access quant/dequant
        table without starting an encoder instance and directly
        accessing cpi.
      
      Change-Id: I8ba429e5deb7a4e7f967996aaec1d20bff0feb3c
      c621023e
    • Jingning Han's avatar
      Initialize min_tx_size in var-tx · 923377b8
      Jingning Han authored
      Avoid the risk of use uninitialized value when TX_2X2 is moved
      behind chroma-2x2 flag.
      
      Change-Id: Ibb3e3700ab82d7f98ebe58fae70afbf64f5773c7
      923377b8
  9. 25 May, 2017 7 commits
    • Debargha Mukherjee's avatar
      Frame level flags to ctrl ext-inter compound modes · 9e2c7a65
      Debargha Mukherjee authored
      Change-Id: I904283119d8f2c1099e6ec2953ea1c10c5e3b280
      9e2c7a65
    • Jingning Han's avatar
      Fix an enc/dec mismatch issue in rect-tx · 1341cbac
      Jingning Han authored
      This commit resolves a rare enc/dec mismatch issue due to the
      intracacy of using rectangular transform block size for intra
      coded blocks.
      
      BUG=aomedia:562
      
      Change-Id: I10c52339a995a89bafa3a3330469ee3f2b784768
      1341cbac
    • Yi Luo's avatar
      Add HBD build to av1_quantize_fp_sse2 · bf8af7e6
      Yi Luo authored
      - This change turns on low bit depth data path for
        this function under default HBD build.
      - Encoder user level encoding time reduces ~12%
        on i7-6700.
      
      Change-Id: I7ce21e8db1a379f972e51c3b4ab305ca10e41efb
      bf8af7e6
    • Nathan E. Egge's avatar
      Remove the DAALA_EC experiment. · 476c63c1
      Nathan E. Egge authored
      This patch forces DAALA_EC on by default and removes the dkbool coder.
      
      Change-Id: Icd2ff08efd7bf467adf554344111473cb357adf8
      476c63c1
    • David Barker's avatar
      Fix bug in av1_optimize_b when tx64x64 is enabled · c747a78e
      David Barker authored
      In both versions of av1_optimize_b, the code to calculate the
      dequantized coefficient from a modified quantized coefficient
      was not compatible with tx64x64.
      
      Specifically, the new dequantized coefficient was calculated as an
      offset applied to the original coefficient. This had a fixup block
      for 32x32 transforms, but not for 64x64 transforms.
      
      For simplicity, instead of extending the fixup block, we now
      recalculate the dequantized coefficient directly.
      
      BUG=aomedia:537
      
      Change-Id: I86c1c8820f324ad3f6afd6a720ff59f754384a19
      c747a78e
    • Alex Converse's avatar
      var_tx+intrabc: Fix infinite recursion · e16b2665
      Alex Converse authored
      Change-Id: Ibbf0c14934d0bff316cfdf5c252c64b3e68c73e7
      e16b2665
    • Jingning Han's avatar
      Access bottom-right 4x4 block in sub8x8 neighbor for obmc · ad586b91
      Jingning Han authored
      When the neighbor block is coded in sub8x8 block size, use the
      bottom-right 4x4 luma block coding mode to produce obmc reference.
      
      Change-Id: Icecccf5ddf95e8b9e65b36fdb6fa176691591a8e
      ad586b91
  10. 24 May, 2017 3 commits
    • David Michael Barr's avatar
      [CFL] Calculate SSE for distinct alpha before RDO · 84a44dbe
      David Michael Barr authored
      
      
      Separate the codes into a table of distinct values
      and an index into that table.
      Pull the SSE calculation of the RDO loop and avoid
      repeating for the same alpha values.
      
      Change-Id: I8c4bd7eab6f8000e6aca9687d9190abc3e270c37
      Signed-off-by: default avatarDavid Michael Barr <b@rr-dav.id.au>
      84a44dbe
    • Jingning Han's avatar
      Set mi pointer before setting the skip flag · 9a80e7c4
      Jingning Han authored
      This resolves a potential race issue in multi-threading test when
      chroma-sub8x8 is enabled.
      
      Change-Id: I443f4af10e55046b04d6d739f7594dd8bda5c830
      9a80e7c4
    • David Barker's avatar
      ext-inter: Further cleanup · f19f35f7
      David Barker authored
      * Rename the 'masked_compound_*' functions to just 'masked_*'.
        The previous names were intended to be temporary, to distinguish
        the old and new masked motion search pipelines. But now that the
        old pipeline has been removed, we can reuse the old names.
      
      * Simplify the new ext-inter compound motion search pipeline
        a bit.
      
      * Harmonize names: Rename
        aom_highbd_masked_compound_sub_pixel_variance* to
        aom_highbd_8_masked_sub_pixel_variance*, to match the naming of
        the corresponding non-masked functions
      
      Change-Id: I988768ffe2f42a942405b7d8e93a2757a012dca3
      f19f35f7
  11. 23 May, 2017 1 commit
    • David Barker's avatar
      ext-inter: Delete dead code · 0f3c94e1
      David Barker authored
      Patches https://aomedia-review.googlesource.com/c/11987/
      and https://aomedia-review.googlesource.com/c/11988/
      replaced the old masked motion search pipeline with
      a new one which uses different SAD/SSE functions.
      This resulted in a lot of dead code.
      
      This patch removes the now-dead code. Note that this
      includes vectorized SAD/SSE functions, which will need
      to be rewritten at some point for the new pipeline. It
      also includes the masked_compound_variance_* functions
      since these turned out not to be used by the new pipeline.
      
      To help with the later addition of vectorized functions, the
      masked_sad/variance_test.cc files are kept but are modified
      to work with the new functions. The tests are then disabled
      until we actually have the vectorized functions.
      
      Change-Id: I61b686abd14bba5280bed94e1be62eb74ea23d89
      0f3c94e1
  12. 22 May, 2017 2 commits
    • Jingning Han's avatar
      Use 8x8 block step size in obmc reference setup · 680b09ea
      Jingning Han authored
      The obmc assumes minimum processing block size to be 8x8.
      
      BUG=aomedia:554
      
      Change-Id: Ic0415f433e8e463fffb13559703a315f317607d3
      680b09ea
    • Timothy B. Terriberry's avatar
      chroma_sub8x8: Fix av1_get_entropy_contexts() · 32b8d46f
      Timothy B. Terriberry authored
      This was not clamping the chroma block size to at least 4x4, even
      though it is getting contexts for coding the transform residual
      (which is at least 4x4). Thus it would copy too few contexts.
      
      This is an encoder-only change. It should not change the current
      encoder output, because we currently store twice as many entropy
      contexts as actually required, so we'll copy 1 and then check 2 to
      see if either are non-zero. However, this will break when we
      eliminate the context doubling, as instead we'll copy 0 and check
      1.
      
      Change-Id: I4087529d6b3e7cd5a226746625b90494790983e6
      32b8d46f