1. 01 Feb, 2017 1 commit
  2. 27 Jan, 2017 1 commit
  3. 23 Jan, 2017 1 commit
  4. 20 Jan, 2017 1 commit
  5. 19 Jan, 2017 1 commit
  6. 11 Jan, 2017 1 commit
    • Marco's avatar
      vp9: Make the denoiser work with spatial SVC. · 7e3a82c3
      Marco authored
      If enabled denoiser will only denoise the top spatial layer for now.
      
      Added unittest for SVC with denoising.
      
      Change-Id: Ifa373771c4ecfa208615eb163cc38f1c22c6664b
      7e3a82c3
  7. 21 Dec, 2016 1 commit
    • Marco's avatar
      vp9: 1 pass vbr: Skip find_predictors in pickmode when source is altref. · e7c453b6
      Marco authored
      When source frame is altref, we only do zero-mv mode, so we can skip
      the find_predictors(). No change in compression.
      Small speed gain, ~1%.
      
      Only affects 1 pass vbr with lookhead altref, for ytlive with
      the macro flag USE_ALTREF_FOR_ONE_PASS on.
      
      Change-Id: I9318c5da8521f017bf54919cd652438b3a6313d1
      e7c453b6
  8. 19 Dec, 2016 1 commit
  9. 16 Dec, 2016 1 commit
    • Marco's avatar
      vp9: Change condition to enable recheck_zeromv_after_denoising. · 4260a7f2
      Marco authored
      For when denoising enabled: change condition to enable
      the recheck_zeromv_after_denoising for only very high noise level.
      This is causing an issue, so enabling it for very high noise
      to effectively shut it off.
      
      Change-Id: Ic40d6025f3f398338cedd270d17c0ccd9a3daa84
      4260a7f2
  10. 22 Nov, 2016 1 commit
  11. 15 Nov, 2016 1 commit
    • Jerome Jiang's avatar
      vp9: Speed 8: More aggresive golden skip for low res. · 360217a2
      Jerome Jiang authored
      Add a new, more aggresive short circuit: short_circuit_low_temp_var = 3 to skip
      golden of any mode when variance is lower than threshold for low res.
      This change only affects speed = 8, low resolution.
      
      Metrics for avgPSNR/SSIM on rtc_derf (low resolution) show loss of
      0.27/0.31%.
      On Nexus 6, the encoding time is reduced by ~2.3% on average across all
      low-res clips.
      
      Visually little change on rtc_derf clips.
      
      Change-Id: Ia8f7366fc2d49181a96733a380b4dbd7390246ec
      360217a2
  12. 03 Nov, 2016 1 commit
    • Marco's avatar
      vp9: Non-rd pickmode: fix logic in reference masking. · da9f762e
      Marco authored
      Add condition that usable_ref_frame > LAST.
      This is to avoid potentially skipping all last-nonzero mv modes,
      if golden is used as a reference but skipped completely for the
      current block.
      
      This has no effect currenty, as we always consider testing golden
      mode for each block.
      
      Change-Id: I3182cf44664081935a90ed43aa7b32e710e60e22
      da9f762e
  13. 11 Oct, 2016 1 commit
    • Marco's avatar
      1 pass vbr: Allow for lookahead alt-ref in real-time mode. · 57c6bf29
      Marco authored
      For 1 pass vbr real-time mode:
      Allow for the usage of alt-ref frame when non-zero lag-in-frames is used.
      Use non-filtered alt-ref, and select usage based on fast scene/content
      analysis/detection within the lag of frames.
      
      Positive gains on ytlive set: overall avgPSNR ~3-4%.
      Several clips are up between 5-14%, a few clips are neutral/small change.
      
      Current speed decrease is about ~5-10%.
      
      Use the flag USE_ALTREF_FOR_ONE_PASS to enable this feature
      (off by default for now).
      
      Change-Id: I802d2bf3d44f9cf01f6d15c76be9c90192314769
      57c6bf29
  14. 15 Sep, 2016 1 commit
  15. 01 Sep, 2016 1 commit
    • paulwilkins's avatar
      Casts to remove some warnings. · 3e9e7700
      paulwilkins authored
      Added casts to remove warnings:
      BUG=webm:1274
      
      In regards to the safety of these casts they are of two types:-
      
      - Normalized bits per (16x16) MB stored in a 32 bit int (This is safe as bits
      per MB even with << 9 normalization cant overflow 32 bits. Even raw 12
      bits hdr source even would only be  29 bits :- (4+4+12+9) and the encoder
      imposes much stricter limits than this on max bit rate.
      
      - Cast as part of variance calculations.  There is an internal cast up to 64 bit
      for the Sum X Sum calculation, but after normalization dividing by the number
      of points the result will always be <= the SSE value.
      
      Change-Id: I4e700236ed83d6b2b1955e92e84c3b1978b9eaa0
      3e9e7700
  16. 19 Aug, 2016 1 commit
  17. 18 Aug, 2016 1 commit
    • JackyChen's avatar
      vp9 svc: SVC encoder speed up. · 8be7e572
      JackyChen authored
      Bias towards base_mv and skip 1/4 pixel motion search when using base mv.
      2~3% speed up for 2 spatial layers, 3~5% speed up for 3 spatial layers.
      PSNR loss:
      (2 layers) 0.07dB for gips_stationary, 0.04dB for gips_motion;
      (3 layers) 0.07dB for gips_stationary, 0.06dB for gips_motion.
      
      Change-Id: I773acbda080c301cabe8cd259f842bcc5b8bc999
      8be7e572
  18. 17 Aug, 2016 1 commit
    • Marco's avatar
      vp9 non-rd pickmode: Add limit on newmv-last and golden bias. · 7eb7d6b2
      Marco authored
      Add option, for newmv-last, to limit the rd-threshold update for early exit,
      under a source varianace condition.
      This can improve visual quality in low texture moving areas,
      like forehead/faces.
      
      Also add bias against golden to improve the speed/fps,
      will little/negligible loss in quality.
      
      Only affects CBR mode, non-svc, non-screen-content.
      
      Change-Id: I3a5229eee860c71499a6fd464c450b167b07534d
      7eb7d6b2
  19. 08 Aug, 2016 1 commit
  20. 02 Aug, 2016 1 commit
  21. 26 Jul, 2016 1 commit
  22. 21 Jul, 2016 1 commit
  23. 08 Jul, 2016 1 commit
  24. 07 Jul, 2016 1 commit
    • Marco's avatar
      vp9: Adjustment to mv bias for non-rd pickmode. · f451b404
      Marco authored
      Replace the existing mv bias with a bias only for
      NEWMV, and based on the motion vector difference of
      its top/left neighbors.
      
      For cbr non-screen-content mode.
      
      Change-Id: I8a8cf56347cfa23e9ffd8ead69eec8746c8f9e09
      f451b404
  25. 06 Jul, 2016 2 commits
  26. 05 Jul, 2016 1 commit
    • Jingning Han's avatar
      Remove txfrm_block_to_raster_xy() from vp9 encoder · 14011f03
      Jingning Han authored
      The transform block row and column positions are always available
      outside the callees. There is no need to re-compute these values
      again. This approach has been used by the decoder. This commit
      removes txfrm_block_to_raster_xy() function.
      
      Change-Id: I5b90f91a0d8b7c35cfa7d171da9edf8202630108
      14011f03
  27. 29 Jun, 2016 1 commit
  28. 27 Jun, 2016 1 commit
  29. 25 Jun, 2016 1 commit
    • James Zern's avatar
      vp9_pickmode: revert rd modeling change for hbd · 1c0a9f36
      James Zern authored
      Avoids a segfault in high-bitdepth builds.
      This restores the condition to its state prior to:
      7991241a vp9: Change the scheme for modeling rd for bsize 32x32.
      
      BUG=webm:1250
      
      Change-Id: I6183d5b34cb89dfbf27b7bb589812148a72cd7de
      1c0a9f36
  30. 24 Jun, 2016 1 commit
    • jackychen's avatar
      vp9: Change the scheme for modeling rd for bsize 32x32. · 7991241a
      jackychen authored
      For real-time CBR mode, use model_rd_for_sb_y_large instead of
      model_rd_for_sb_y for 32x32 block. In the former model, transform
      might be skipped more aggressively in some condtions, which speeds
      up encoding time with only a little PSNR/SSIM drop on rtc test set.
      No obvious visual quality regression.
      
      PSNR effect on different speed settings:
      speed 8 rtc:  0.129% overall PSNR drop, 0.137% SSIM drop
      speed 7 rtc:  0.135% overall PSNR drop, 0.062% SSIM drop
      speed 5 rtc_derf: 0.105% overall PSNR drop, 0.095% SSIM drop
      
      Speed up:
      gips_motion_WHD, 1mbps: 3.29% faster on speed 7, 2.56% faster on speed8
      gips_stat_WHD, 1mbps: 2.17% faster on speed 7, 1.62% faster on speed8
      
      BUG=webm:1250
      
      Change-Id: I818babce5b8549b4b1a7c3978df8591bffde7173
      7991241a
  31. 23 Jun, 2016 2 commits
    • James Zern's avatar
      Revert "vp9: Change the scheme for modeling rd for bsize 32x32." · d4596485
      James Zern authored
      This reverts commit 5c29ee72.
      
      Causes segfaults in VP9/EndToEndTestLarge.EndtoEndPSNRTest.
      
      BUG=webm:1250
      
      Change-Id: I8a30e97be30589abdb76820b5c3c37c46cd6cafb
      d4596485
    • Angie Chiang's avatar
      set interp_filter to SWITCHABLE_FILTER for intra block · d9c417cb
      Angie Chiang authored
      In vp9_pick_inter_mode(), instead of using
      vp9_get_pred_context_switchable_interp(xd) to assign filter_ref,
      we use a less strict condition on assigning filter_ref.
      This is to reduce the probabily of entering the flow of not
      assigning filter_ref and then skipping filter search.
      
      Overall PSNR gain 0.074% for rtc dataset
      
      Details:
      Low    Mid     High
      0.185% -0.008% -0.082%
      
      Change-Id: Id5c5ab38d3766c213d5681e17b4d1afd1529e676
      d9c417cb
  32. 22 Jun, 2016 1 commit
    • jackychen's avatar
      vp9: Change the scheme for modeling rd for bsize 32x32. · 5c29ee72
      jackychen authored
      For real-time CBR mode, use model_rd_for_sb_y_large instead of
      model_rd_for_sb_y for 32x32 block. In the former model, transform
      might be skipped more aggressively in some condtions, which speeds
      up encoding time with only a little PSNR/SSIM drop on rtc test set.
      No obvious visual quality regression.
      
      PSNR effect on different speed setting:
      speed 8 rtc:  0.129% overall PSNR drop, 0.137% SSIM drop
      speed 7 rtc:  0.135% overall PSNR drop, 0.062% SSIM drop
      speed 5 rtc_derf: 0.105% overall PSNR drop, 0.095% SSIM drop
      
      Speed up:
      gips_motion_WHD, 1mbps: 3.29% faster on speed 7, 2.56% faster on speed8
      gips_stat_WHD, 1mbps: 2.17% faster on speed 7, 1.62% faster on speed8
      
      Change-Id: I902f62def225ea01c145d7e5a93497398b8f5edf
      5c29ee72
  33. 21 Jun, 2016 1 commit
  34. 16 Jun, 2016 1 commit
  35. 15 Jun, 2016 2 commits
    • Marco's avatar
      vp9: Adjustments to nonrd-pickmode for vbr · 8e070558
      Marco authored
      For VBR: (1) allow newmv mode for golden ref to
      select interpolation filter (as in last ref case), and
      (2) don't use the more aggressive tx-skip testing logic for large blocks.
      
      Only affects 1 pass real-time vbr mode (speed >= 5).
      
      PSNR/SSIM metrics on ytlive set are all positive, ~0.5-2% gain.
      
      Change-Id: I0ffbb0a9755563a5acd6230c58236e4f19a47266
      8e070558
    • Scott LaVarnway's avatar
      VP9: block_yrd(): Use RD_COST * instead · 7901a051
      Scott LaVarnway authored
      of int *rate, int *dist.
      
      Change-Id: I7cbaea5252615b6b45b33e896f637cf7d076588a
      7901a051
  36. 14 Jun, 2016 1 commit
  37. 13 Jun, 2016 1 commit
    • JackyChen's avatar
      vp9: Encoding cycle reduction for speed 8. · f9c05872
      JackyChen authored
      1. Skip golden non-zeromv and newmv-last for bsize >= 16x16 if the
      temporal variance obtained from choose_partitioning is very low.
      2. Skip horz and vert INTRA mode for speed 8.
      
      This change works best on the clips with little noise and with some
      motion (e.g. gips_motion which has > 5% speed up). PSNR drop is 1.78%
      on rtc test set, no obvious visual quality regression found.
      
      Change-Id: Ib43b5b20e67809d03c5a6890818ddff59e1fc94a
      f9c05872