1. 01 Mar, 2014 2 commits
  2. 28 Feb, 2014 3 commits
    • Deb Mukherjee's avatar
      Adds speed 8 to vp9 as reference · f872a98b
      Deb Mukherjee authored
      Adds a speed 8 to VP9 where only the nearestmv (0 mv) is searched.
      This seems to be about the same speed as vp8 speed 5.
      
      Adds a new speed feature to disable inter modes based on a mask for
      each blocksize.
      
      Adds code for having lower complexity motion search methods
      in nonrd pick mode function, even though speed 7 still uses DIAMOND
      search for now.
      
      Also uses HEX search for speed 6 rather than FAST_HEX which improves
      psnr by 0.56% without any noticeable speed drop (tested on gipsmotion).
      
      Change-Id: Ic13176572dbd3aed5884a26786940a4b1bbd8a75
      f872a98b
    • Jingning Han's avatar
      Fix potential invalid partition size use · bf5e9221
      Jingning Han authored
      For blocks at frame boundary, the selected block size sometimes needs
      to be smaller than that was first given. This commit forces such block
      size change only between square blocks, so as to avoid the potential
      use case containing 32x16 + 16x8 + 16x8, for 1080p sequences.
      
      Local test suggested no visible coding speed difference. Borg test
      reveals no difference in terms of compression performance.
      
      Change-Id: Ie8de87f3c6febc3acf11b4cbfdf2077f9f6def52
      bf5e9221
    • Dmitry Kovalev's avatar
      Cleaning up vp9_quantize.c. · f527c46f
      Dmitry Kovalev authored
      Change-Id: I9a38af32f16f196b83dd69755eafb9543edf5691
      f527c46f
  3. 27 Feb, 2014 3 commits
    • Deb Mukherjee's avatar
      Turns variance based partitioning on in Speed 7 · ed575544
      Deb Mukherjee authored
      Improves coding efficiency by about 1%, increases speed by
      about 15-20% over exsiting speed 7.
      
      Change-Id: Ibf5b9b5a5c8548e863ce19047c42b579aac21d19
      ed575544
    • Jingning Han's avatar
      Remove arguments not in use in non-RD decision · 23a82ef5
      Jingning Han authored
      This commit removes a few arguments that are not used in the
      non-RD mode decision.
      
      Change-Id: I0d878bb5a7dba1b34fe0b64afe55bf11b1a9a2d7
      23a82ef5
    • Deb Mukherjee's avatar
      Refines variance based partitioning search · 90d13337
      Deb Mukherjee authored
      Instead of using source variance, this patch uses variance of the
      frame difference between the source and the current frame to make
      fixed size partition decisions. Also disables adjusting partitioning
      if variance based or fixed size partitioning is used.
      
      The latter change improves the speed substantially for speed 6, so
      that speed 7 is now less than 3x the speed of speed 6. But speed
      6 is 48% better in psnr on the rtc set compared to speed 7.
      
      As compared to speed 5,
      speed 6 is -37% in psnr at about 2.5x the speed,
      speed 7 is -55% in psnr at about 7x the speed.
      
      Change-Id: If61d80431d3e04ed304ac05832e773cdb2c0a578
      90d13337
  4. 26 Feb, 2014 2 commits
  5. 25 Feb, 2014 3 commits
  6. 24 Feb, 2014 2 commits
    • Yunqing Wang's avatar
      Disable adaptive pred filter for non-split mode · fee045d1
      Yunqing Wang authored
      If sf->disable_split_mask is DISABLE_ALL_SPLIT, disable
      sf->adaptive_pred_interp_filter to avoid unnecessary operations.
      
      Change-Id: Icb59174b2f4e9a3c3c16a696deb8018e5bd999eb
      fee045d1
    • Deb Mukherjee's avatar
      Adds an intermediate speed level for rtc · 5f542408
      Deb Mukherjee authored
      Moves the existing speed 6 to speed 7 and adds an
      intermediate level 6 which is roughly in between
      speeds 6 and 7 in both speed and coding efficiency.
      Also includes some minor fixes/adjustments.
      
      Change-Id: I98befc4d82d750e79fe426c457c4a2571f6b6cc7
      5f542408
  7. 21 Feb, 2014 1 commit
    • Jingning Han's avatar
      Refactor selected partition size coding for rtc · 1fc0bde6
      Jingning Han authored
      This commit makes a refactoring of the rtc_use_partition. It allows
      the encoder to take a preferred block size for non-RD mode decision.
      The boundary blocks are handled such that smaller block sizes that
      fit in the boundary size will be used instread.
      
      In rtc mode, the coding performance of speed -6 for pedestrian_1080p
      goes from
      158980 b/f, 38.934 dB, 22721 ms to
      159008 b/f, 40.064 dB, 23721 ms.
      
      For rtc set, the speed -6 compression performance is improved by
      26%. Still about 2dB behind speed -5 at this point.
      
      Change-Id: If0944f0880eaf1ad340bc325d97cea8d0f9dd53f
      1fc0bde6
  8. 20 Feb, 2014 3 commits
  9. 19 Feb, 2014 2 commits
  10. 18 Feb, 2014 2 commits
  11. 13 Feb, 2014 5 commits
    • Yaowu Xu's avatar
      Removed the reset of mode_info from previous frame · 896d79a5
      Yaowu Xu authored
      Prior to this commit, both encoder and decoder reset mode/mv info from
      previous frame in error resilient mode to ensure bitstreams are able to
      decode when there is loss of frame in decoder side. However, this is
      not necessary. This commit changed to remove the reset, so encoder can
      continue to use mode/mv/partition information from previously encoded
      frame without affecting decodeablilty under loss of frame.
      
      Change-Id: I0279f862900dc647fb471ae3389770bb1b9f454f
      896d79a5
    • Jingning Han's avatar
      Initialize internal buffer pointers in rtc mode · cc10ee0a
      Jingning Han authored
      In rtc coding mode, the encoder is running non-RD mode decision. It
      does not need dual buffer swap as was the case in the RD mode. This
      commit initializes the internal buffer pointers outside the block
      coding loop for rtc mode.
      
      Change-Id: Ie076705c60d6b7919217e3f1dfd49e7db5064ac2
      cc10ee0a
    • Dmitry Kovalev's avatar
      Combining if-else branches from different conditions. · ea53d6c1
      Dmitry Kovalev authored
      Change-Id: Ie51cf58de4f872d2261022558b6afe780bbc470b
      ea53d6c1
    • Jingning Han's avatar
      Remove redundant set_offsets in rtc coding mode · 4712877e
      Jingning Han authored
      The functionalities of set_offsets() are subsumed in later
      set_partitioning() and rtc_use_partition() functions, hence removed.
      
      Change-Id: Ie514b13cb66c2379f13d0be9b1da4c12ca4581e5
      4712877e
    • Dmitry Kovalev's avatar
      Renaming skip_coeff to skip for consistency. · 004c8c63
      Dmitry Kovalev authored
      Change-Id: I036e815ca63d00cba71202ae09ba0f6ef745dcb8
      004c8c63
  12. 12 Feb, 2014 7 commits
  13. 11 Feb, 2014 2 commits
    • Yunqing Wang's avatar
      Enable encode_breakout in real time encoding · 507fd522
      Yunqing Wang authored
      In real time encoding, we enable encode_breakout to make encoding
      fast. A speed feature "use_encode_breakout" is defined to set
      encode_breakout thresholds for different speeds.
      
      However, currently, static_thresh is an encoder option. The encode_
      breakout can be turned off if user sets static_thresh=0 specifically.
      
      The rtc set borg test result: (need to set --static_thresh=1)
      speed -5, psnr loss -3.543%;
      speed -4, psnr loss -2.358%;
      speed -3, psnr loss -0.771%.
      
      Encoding speed test:
      speed -5, 11% - 60% speedup;
      speed -4, 5.5% - 28% speedup;
      speed -3, 0.8% - 7% speedup.
      
      Change-Id: Icde592ffbe77eac7446f872a2e9eb2051733677b
      507fd522
    • Paul Wilkins's avatar
      Modified Aq1 and Aq2 · f30b3231
      Paul Wilkins authored
      Aq 1 only updates segment map on kf and arf and
      only uses 3 segments. With these settings AQ1 is
      + for most clips in SSIM but negative in psnr.
      However, the penalty in PSNR is much less than
      previously.
      
      Old version aq1 average results for std hd
      -20.899% psnr, -5.809% SSIM
      New version aq1 for std hd
      -3.57% psnr, +1.23% SSIM
      
      Aq2 Now uses only 2 segments and rd.
      This mode is still slightly negative for most clips on
      psnr and SSIM but seems to have a much bigger visual
      impact on several problem clips than aq mode 1.
      
      Old results for std hd:
      -2.578% psnr, -1.151% SSIM
      New results for std hd:
      -1.561% psnr, -0.85% SSIM
      
      Change-Id: I94f57f8a73121629ce598fb921aad761c1450e1c
      f30b3231
  14. 10 Feb, 2014 2 commits
    • Jingning Han's avatar
      Use more meaningful names for speed features · 734938dc
      Jingning Han authored
      Use frame_parameter_update to precisely describe the functionality.
      
      Change-Id: Ia9a55ba8efef7b987e30d949dd00ac716189bdb9
      734938dc
    • Yaowu Xu's avatar
      Merged two similar functions to reduce duplication · 855070e2
      Yaowu Xu authored
      Function encode_rtc_frame_internal() and encode_frame_internal() only
      differed by a couple of speed features, this commit relocation those
      difference into the setup of speed features and merged two functions
      into one to remove duplication.
      
      It also fixed a subtle bug super_fast_rtc was used before it was
      initialized.
      
      Change-Id: I234a5a1d11a4450930e5b4943dbab434208d5030
      855070e2
  15. 09 Feb, 2014 1 commit