1. 05 Jun, 2017 4 commits
  2. 03 Jun, 2017 1 commit
  3. 02 Jun, 2017 21 commits
    • Angie Chiang's avatar
      Mark SMOOTH2 filter under USE_EXTRA_FILTER flag · aadbb025
      Angie Chiang authored
      Change-Id: Ia9a5d818e8c2ff9b4cc41c6d7950cfe005c20bfc
    • Angie Chiang's avatar
      Copy ctx in get_entropy_contexts_plane for lv_map · 90dad2e4
      Angie Chiang authored
      Change-Id: I112255996d85f94197387b8c481a5353d82a6b0a
    • Angie Chiang's avatar
      Use av1_optimize_txb for lv_map experiment · 1c96e82c
      Angie Chiang authored
      Comparing to lv_map experiment using the old av1_optimize_b
      function, This change gives 0.8% gain on lowres and midres
      Comparing to the baseline with greedy optimize_b, the lv_map
      experiment will have 1.2% on lowres and 1.49% on midres.
      The gains are similar to the one that under the condition of
      turning off av1_optimize_b for baseline and lv_map.
      Change-Id: Ie17c4ecbd9ed8418ef657a526d8363e0746b5af5
    • Angie Chiang's avatar
      Pass above/left ctx plane_bsize to av1_optimize_b · 3511c37d
      Angie Chiang authored
      This is to facilitate lv_map experiment
      Change-Id: Ife779b172c4b81a9b2b4640464163300996e3969
    • Angie Chiang's avatar
      Add test code for optimize_txb() · 5e012fe6
      Angie Chiang authored
      Change-Id: Ieae4c1a1c932d375b4577c7e42a9764e5f9cd16a
    • Angie Chiang's avatar
      Add av1_optimize_txb()/optimize_txb() · 07c57f3b
      Angie Chiang authored
      This function will check if downgrading each coeff by one level
      will reduce overall rd cost. If so, it will down grade the
      coeff and update the effect and then move on to the next coeff.
      In general, we found out that updating according to the
      coding order will provide better coding performance.
      The optimization order is as follows.
      1) forward optimize coeffs == 1 or -1 only
      2) backward optimize all coeffs
      Change-Id: Ic0fd4d44d11878258e09d4fa87a8b48b397a10a8
    • Angie Chiang's avatar
      Add update_level_down() · d19969e4
      Angie Chiang authored
      This function will update txb_cache and txb_info affected by
      downgrading the coeff by one level
      Change-Id: I57f9377eb7fb94b4244e677704b33c5eece83133
    • Alex Converse's avatar
      intrabc: adapt use_intrabc prob · 7c412ea4
      Alex Converse authored
      First keyframe BD-RATE objective-1-fast:
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.3705 | -0.3232 | -0.3812 |  -0.3782 |     N/A | -0.3412 |        N/A
      First keyframe BD-RATE twitch-1:
         PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
      -0.2479 | -0.2477 | -0.2467 |  -0.2567 | -0.2486 | -0.2508 |    -0.2487
      Change-Id: Iea6c895c6fe9e9764887a8968f6e5330903969d3
    • Angie Chiang's avatar
      Add try_level_down_facade() · 47e07077
      Angie Chiang authored
      Change-Id: I82e12e312e6685c3801b243196af2570d3793aac
    • Yunqing Wang's avatar
      Add MV refining search in warped motion experiment · 68f3ccd1
      Yunqing Wang authored
      Implemented a MV refining search after the warped motion parameters were
      found. Only 4 or 8 positions were checked so there was almost no impact
      on encoder speed.
      Borg test result:
                  avg_psnr     ovr_psnr    ssim
      cam_lowres: -0.543%      -0.574%     -0.670%
      lowres    : -0.222%      -0.230%     -0.285%
      Change-Id: Ic2f6c1fe548b089d50e9c33bb365e6b128aabc93
    • Fergus Simpson's avatar
      Revert "frame_superres: Send scale every frame" · 7b2d1448
      Fergus Simpson authored
      This reverts commit 846d67dd.
      Writing the scale every frame was not the right decision. The correct
      thing to do will be also writing the superres scale when the size is
      set using a previous frame.
      Change-Id: I0402e7f6d2b89ac7c386f81e8628198d22db5066
    • Tom Finegan's avatar
      Sync CMake build defaults with the configure build. · 6f9dfa51
      Tom Finegan authored
      - Changed, 0 => 1: CONFIG_VAR_TX CONFIG_EC_SMALLMUL
      Change-Id: Ia010abeaf079d8c6318a5a540e9354d5455ce826
    • Tom Finegan's avatar
      Add dist rule to CMake build and correct behavior of the install rule. · 7897567e
      Tom Finegan authored
      - Install only includes, libs, and aomdec/aomenc in the install rule.
      - Install docs and examples in addition to the above in the dist rule.
      Change-Id: If42832ebd21184e6f9bf95c3b43c6d4e05663bf2
    • Tom Finegan's avatar
      Add nasm support to the CMake build. · 6d1dd623
      Tom Finegan authored
      Change-Id: I1d7d6932dbc23ad1b0b23f2df8230c17a2e76387
    • Tom Finegan's avatar
      Add include guards to CMake files used as includes. · 17ccaec4
      Tom Finegan authored
      Change-Id: Ie34025f31a89f4991d03d5ecf03c6f6f5ab7b0a1
    • Tom Finegan's avatar
      Add doc generation and installation to the CMake build. · 0d066ce8
      Tom Finegan authored
      Change-Id: I8f2f4633ca3fbc2d91bbf7e2ea8d23d52c9baa6e
    • Ryan Lei's avatar
      integrate parallel_deblocking with CB4x4 · 17905edf
      Ryan Lei authored
      this change makes parallel deblocking experiment works with
      cb4x4. the inner loop process every 4x4 block.
      Change-Id: I86adb3d7b6d67a91ccc12aab29da9bfb8c522cf1
    • Jingning Han's avatar
      Deprecate special rd loop for sub8x8 block size · b2a01db8
      Jingning Han authored
      Remove the special rate-distortion optimization loop for sub8x8
      block size from vp9.
      Change-Id: I62c6cf537a54769f26f2d4938ebed5fed2c84741
    • Jingning Han's avatar
      Resolve extremely large stack alloc in rdopt · d064cf03
      Jingning Han authored
      Move the large stack allocation from stack initialization to
      dedicated mem space. This resolves the extremely large stack issue
      when ext-partition, motion-var, and high bit-depth are all turned
      Change-Id: I85b77bbc6429093fcb0152176d9e237087d6bbd8
    • 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
    • Joe Young's avatar
      [intra-edge] Use 5-tap filter · 3be70f72
      Joe Young authored
      For intra edge filtering experiment, replace the 2x iteration
      (5-6-5) filter with a 5-tap filter (2-4-4-4-2).
      BDrate (1 key-frame) for this change:
      cif:    +0.02%
      midres: +0.04
      720p:   -0.01
      1080p:  -0.03
      4k:     -0.01
      BDrate (1 key-frame) for intra-edge experiment:
      (05/31, disable rect-tx, ext-tx, delta-q, ext-delta-q)
                1 key-frame     60 frames
               PSNR   SSIM     PSNR  SSIM
      cif:    -0.02   -0.01   -0.03  -0.01
      midres: -0.02   -0.02   -0.05  -0.10
      720p:   -0.36   -0.39   -0.05  -0.06
      1080p:  -0.75   -0.88   -0.22  -0.27
      4k:     -0.91   -1.12   -0.45  -0.54
      Change-Id: I834037e662b4483d4d6bdceb1c1624d56ba293a4
  4. 01 Jun, 2017 13 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
    • 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
    • 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
    • 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
    • Angie Chiang's avatar
      Add get_coeff_cost() and get_txb_cost() · 488f921c
      Angie Chiang authored
      Change-Id: I085f2bc706fde41afbee5ff48b56acc095f804c2
    • 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
    • Jingning Han's avatar
      Rework loop filter tx size selection · 6e4955d4
      Jingning Han authored
      Update and capture the effective transform block size per color
      Change-Id: Ib6e0e7abb3973db6b8d511ee7c9948aaab048788
    • 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).
      Change-Id: Idb620b34be6930bb35ab6c912dfd4777f7614159
    • hui su's avatar
      filter-intra: fix compiler warnings when cb4x4 is off · b4ed1493
      hui su authored
      Change-Id: I995b1ba6b1dafeceb1e75a3d71d6630215a8df68
    • Debargha Mukherjee's avatar
      Add refinement search for sgrproj filter · 749f5cd5
      Debargha Mukherjee authored
      Change-Id: I8deea1d2a76ce8c36085d19362ac2508fd3c438f
    • 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
    • David Barker's avatar
      Fix integer overflow in warp filter · 17c37ceb
      David Barker authored
      Patch https://aomedia-review.googlesource.com/c/12602/ made the
      variable 'sum' in the warp filter unsigned, to indicate that its
      value should always be >= 0. But 'sum' is used to accumulate
      signed values, and it is expected that some of those values
      will be negative.
      The issue is that, when running 'x += y', if x is a uint32_t
      and y is an int (and is 32 bits), the C standard says to
      convert y to a uint32_t before doing the addition. This causes
      overflow, and so undefined behaviour, if y < 0.
      This is fixed by making 'sum' signed, and by explicitly bounds
      checking against zero at the end of the filter.
      Change-Id: I1d484b5f5698db0ec9761807610b3b2b35647983
    • Urvang Joshi's avatar
      get_min_tx_size: assert() doesn't need an 'if'. · affbe5e1
      Urvang Joshi authored and James Zern's avatar James Zern committed
      Change-Id: Id2be191fb48ed8d65b452499e1a1a1f470359321
  5. 31 May, 2017 1 commit
    • Jingning Han's avatar
      Rework txfm_above and txfm_left context offset · 331662e9
      Jingning Han authored
      Make the txfm_above and txfm_left be processed in the unit of
      miniumum transform block size. Scale the transform block step
      size with respect to the mode_info step size.
      Change-Id: Iee4421e005db742cd4ff7899215560063e5f68e5