1. 26 Aug, 2014 1 commit
    • Yaowu Xu's avatar
      add a new interp filter search strategy. · 1144fee3
      Yaowu Xu authored
      This commit addes a new strategy to reduce the search for optimal
      interpolation filter type. The encoder counts and store how many each
      filter type is selected and used for each of the reference frames.
      A filter type that is rarely used for all three reference frames is
      masked out to avoid computation.
      The impact on compression is neglectible:
      -0.02% on derf
      +0.02% on stdhd
      Encoding time is seen to reduce by 2~3%.
      Change-Id: Ibafa92291b51185de40da513716222db4b230383
  2. 22 Aug, 2014 8 commits
  3. 21 Aug, 2014 3 commits
  4. 20 Aug, 2014 3 commits
  5. 19 Aug, 2014 12 commits
  6. 18 Aug, 2014 8 commits
    • Jim Bankoski's avatar
      vp9_firstpass.c : clear warning re: use of null lc · b78f8f67
      Jim Bankoski authored
      Change-Id: I80f81f6f4f15766f504c15f8c20258a84bbaa9ac
    • Yunqing Wang's avatar
      Add early termination in transform size search · ba70f160
      Yunqing Wang authored
      In the full-rd transform size search, we go through all transform
      sizes to choose the one with best rd score. In this patch, an
      early termination is added to stop the search once we see that the
      smaller size won't give better rd score than the larger size. Also,
      the search starts from largest transform size, then goes down to
      smallest size.
      A speed feature tx_size_search_breakout is added, which is turned off
      at speed 0, and on for other speeds. The transform size search is
      turned on at speed 1.
      Borg test results:
      1. At speed 1,
         derf set: psnr gain: 0.618%, ssim gain: 0.377%;
         stdhd set: psnr gain: 0.594%, ssim gain: 0.162%;
         No noticeable speed change.
      3. At speed 2,
         derf set: psnr loss: 0.157%, ssim loss: 0.175%;
         stdhd set: psnr loss: 0.090%, ssim loss: 0.101%;
         speed gain: ~4%.
      Change-Id: I22535cd2017b5e54f2a62bb6a38231aea4268b3f
    • Jingning Han's avatar
      Speed up mode search depending on relative ref frame position · 6a464eca
      Jingning Han authored
      This commit enables the encoder to record the location of the
      center frame to generate alter reference frame. It then allows to
      skip checking prediction modes of other reference frame types when
      it comes to encode this frame.
      The speed 3 runtime is reduced for the test sequences:
      bus at CIF 1000 kbps, 9791 ms -> 9446 ms, i.e., 3.5% speed-up,
      pedestrian at 1080p 2000 kbps, 184043 ms -> 175730 ms, i.e., 4.5%
      No compression performance change observed.
      Change-Id: Iacfde3bcc1445964e7a241f239bd6ea11cb94bd1
    • Dmitry Kovalev's avatar
      Adding gf_group temp variable. · 4590c5e5
      Dmitry Kovalev authored
      Change-Id: Ifc33b1e893480b36ccf88794ea15e87e5cc97823
    • Dmitry Kovalev's avatar
      Removing unnecessary casts to int64_t. · a885e1cb
      Dmitry Kovalev authored
      Change-Id: I156419fdf68056759a4cd4206cc829a00025ef78
    • Dmitry Kovalev's avatar
      Replacing SVC oxcf->mode check with oxcf->pass check. · 17a26eb4
      Dmitry Kovalev authored
      oxcf->pass is used in all other places in similar contexts.
      Change-Id: I9de3a5f24311838d5a6dc3dd470d258cb189ff59
    • Minghai Shang's avatar
      [spatial svc]Add a few different encode frame tests. · e1b5d248
      Minghai Shang authored
      1. Clean the code for encode frame tests
      2. Add encode w/ and w/o alt reference frame test
      3. Add encode SNR layers test
      4. Add encode multiple layers but decode partial layers test
      Change-Id: Ibd2c9bc02525db584a6f931a98405f2d851b3cd6
    • Yaowu Xu's avatar
      Revert "Removing duplicated code from init_config()." · beff5b6a
      Yaowu Xu authored
      This reverts commit 5509b7fd
      Observed a big drop in compression quality and speed for speed 1 for a 360p test clip, revert this now for investigation.
      Change-Id: If69dc8d77a225b34dc7907a9472e1a7a0a22762d
  7. 16 Aug, 2014 1 commit
    • Dmitry Kovalev's avatar
      Removing vp9_rescale(). · 1acc96fb
      Dmitry Kovalev authored
      Now everything is int64_t, so we don't need that function.
      Change-Id: I7dd2023677b4943ecd968d68cc06f9d4862c3c3f
  8. 15 Aug, 2014 4 commits
    • Pengchong Jin's avatar
      Add a speed feature to give the tighter search range · eca93642
      Pengchong Jin authored
      Add a speed feature to give the tighter partition search
      range. Before partition search, calculate the histogram
      of the partition sizes of the left, above and previous
      co-located blocks of the current block. If the variance of
      observed partition sizes is small enough, adjust the search
      range around the mean partition size, which will be tigher.
      The feature is currently turned on at speed 2. Experiments on
      sample youtube clips show on average the runtime is reduced
      by 3-7%.
      For hard stdhd clips:
      park_joy_1080p @ 15000kbps:       509251 ms -> 491953 ms (3.3%)
      pedestrian_area_1080p @ 2000kbps: 223941 ms -> 214226 ms (4.3%)
      The PSNR performance is changed:
      derf: -0.112%
      yt:   -0.099%
      hd:   -0.090%
      Change-Id: Ie205ec5325bf92ec5676c243e30ba9d0adca10f2
    • Jingning Han's avatar
      Remove unused variables in vp9_rd_pick_inter_mode_sb · 5386df41
      Jingning Han authored
      Change-Id: Ib52e1ce5aa4a22d70e124c3c29a92e00ffac50e4
    • Jingning Han's avatar
      Remove unused code in vp9_rd_pick_inter_mode_sb · 5d453e39
      Jingning Han authored
      Change-Id: I4f0bac3367b1a7c5e7f746b97ca619b81c8dfc49
    • Dmitry Kovalev's avatar
      Removing duplicated code from init_config(). · 5509b7fd
      Dmitry Kovalev authored
      Change-Id: I50f4485cfbdaadc3084aa5bc63bf3a2f15a0d903