1. 04 Jun, 2015 1 commit
    • Johann's avatar
      Make vp9 subpixel match vp8 · eb88b172
      Johann authored
      The only difference between the two was that the vp9 function allowed
      for every step in the bilinear filter (16 steps) while vp8 only allowed
      for half of those. Since all the call sites in vp9 (<< 1) the input, it
      only ever used the same steps as vp8.
      
      This will allow moving the subpel variance to vpx_dsp with the rest of
      the variance functions.
      
      Change-Id: I6fa2509350a2dc610c46b3e15bde98a15a084b75
      eb88b172
  2. 26 May, 2015 1 commit
  3. 22 May, 2015 1 commit
  4. 13 May, 2015 1 commit
    • Johann's avatar
      Relocate memory operations for common code · 1d7ccd53
      Johann authored
      With the sad functions, and hopefully the variance functions soon,
      moving to the vpx_dsp location, place the defines used in the
      reference C code in a common location.
      
      Change-Id: I4c8ce7778eb38a0a3ee674d2f1c488eda01cfeca
      1d7ccd53
  5. 07 May, 2015 1 commit
    • James Zern's avatar
      replace DECLARE_ALIGNED_ARRAY w/DECLARE_ALIGNED · fd3658b0
      James Zern authored
      this macro was used inconsistently and only differs in behavior from
      DECLARE_ALIGNED when an alignment attribute is unavailable. this macro
      is used with calls to assembly, while generic c-code doesn't rely on it,
      so in a c-only build without an alignment attribute the code will
      function as expected.
      
      Change-Id: Ie9d06d4028c0de17c63b3a27e6c1b0491cc4ea79
      fd3658b0
  6. 21 Apr, 2015 1 commit
    • Scott LaVarnway's avatar
      Revert "Remove mi_grid_* structures." · 8b17f7f4
      Scott LaVarnway authored
      (see I3a05cf1610679fed26e0b2eadd315a9ae91afdd6)
      
      For the test clip used, the decoder performance improved by ~2%.
      This is also an intermediate step towards adding back the
      mode_info streams.
      
      Change-Id: Idddc4a3f46e4180fbebddc156c4bbf177d5c2e0d
      8b17f7f4
  7. 07 Apr, 2015 1 commit
  8. 16 Mar, 2015 1 commit
    • Jingning Han's avatar
      Refactor column integral projection computation · 2cfddec3
      Jingning Han authored
      Move the scaling factor outside column projection. This avoids
      repeated calculation of the same scaling factor. Profiling shows
      that the percentage of vp9_int_pro_col_sse2 of overall cycles
      goes from 2.29% down to 1.88%.
      
      Change-Id: I5ac4e324ab2d7f33ba2de66dd2a12e04e04dfd66
      2cfddec3
  9. 14 Mar, 2015 1 commit
  10. 13 Mar, 2015 3 commits
  11. 11 Mar, 2015 1 commit
    • Jingning Han's avatar
      Refactor to remove GLOBAL_MOTION · 1ca4d51b
      Jingning Han authored
      Make the vp9_int_pro_motion_estimation() function return zero
      motion vector if high bit depth is turned on, instead of removing
      it from compiled codes.
      
      Change-Id: Ia48f010eb590b2d517d5678c394110b326a1a95e
      1ca4d51b
  12. 05 Mar, 2015 1 commit
  13. 04 Mar, 2015 1 commit
  14. 03 Feb, 2015 1 commit
    • Johann's avatar
      Remove unnecessary pointer check · ba186095
      Johann authored
      The original implementation had the following comment:
      // Ignore mv costing if mvsadcost is NULL
      
      However the current implementation does not allow for this.
      If x exists then nmvsadcost must not be null.
      
      This removes the only warning from -Wpointer-bool-conversion
      
      https://code.google.com/p/webm/issues/detail?id=894
      
      Change-Id: I1a2cee340d7972d41e1bbbe1ec8dfbe917667085
      ba186095
  15. 06 Dec, 2014 1 commit
  16. 02 Dec, 2014 1 commit
    • Peter de Rivaz's avatar
      Reinsert macro to fix issue 884. · 2c886953
      Peter de Rivaz authored
      Change 72056 unfolded some macro definitions,
      but lost some alternative behaviour required for
      high bitdepth encodes.
      This causes the encoder to crash, see issue 884.
      
      Change-Id: I8ce4d73c9fe0a3c10ccb86fba210fabc8b2f0ccc
      2c886953
  17. 17 Nov, 2014 1 commit
  18. 03 Nov, 2014 1 commit
    • Jingning Han's avatar
      Refactor sub-pixel motion search unit · e083f6bd
      Jingning Han authored
      This commit unfolds the legacy macro definitions used in the
      sub-pixel motion search and refactors the operational flow for
      later optimizations.
      
      Change-Id: I3e3f770cad961d03d1a6eb0b2a0186cc77eaf2b8
      e083f6bd
  19. 09 Oct, 2014 2 commits
    • Deb Mukherjee's avatar
      Rename highbitdepth functions to use highbd prefix · 1929c9b3
      Deb Mukherjee authored
      Uses highbd_ prefix convention consistently.
      
      Change-Id: I58f7f799a7ff8e32701bcd71c955bcf1cdd4581e
      1929c9b3
    • Deb Mukherjee's avatar
      Subpel search cleanups and enhancements · d78dbff0
      Deb Mukherjee authored
      - Some fixes to surface fit.
      - Returns variance function as cost rather than sad in the
        pattern search and diamond search functions. Only
        vp9_pattern_search_sad function used in bigdia search
        uses sad as integer 1-away costs.
      - Deploys SUBPEL_TREE_PRUNED_MORE for speed 4+.
      
      Results:
      derf [Speed 3]: About +0.036% in coding efficiency without any
      discernible speed loss.
      derf [Speed 4]: About 2-3% faster at -0.199% loss in coding efficiency.
      derf [Speed 5]: About 3-4% faster at -0.149% loss in coding efficiency.
      
      Change-Id: I8462f94f6adb46966ca964f2bd0400977357fd63
      d78dbff0
  20. 29 Sep, 2014 1 commit
    • Deb Mukherjee's avatar
      Adds two new subpel search methods · 4e9c0d2a
      Deb Mukherjee authored
      One is a more aggressive version of the pruned subpel tree
      search where only a single halfpel candidate is searched.
      The search candidate is based on a surface fit result.
      The other is a method to obtain the subpel position at one
      shot based on the same surface fit.
      
      The methods have not been deployed in any speed setting yet.
      
      Change-Id: I34fef3f2e34f11396c9d1ba97f4be8c4ffca62d3
      4e9c0d2a
  21. 25 Sep, 2014 1 commit
  22. 23 Sep, 2014 1 commit
    • Deb Mukherjee's avatar
      Pruned subpel search for speed 3. · c94b17f4
      Deb Mukherjee authored
      Adds code to return an integer cost list for NSTEP search. Then
      uses it for pruned subpel search in speed 3.
      
      derf: -0.06%
      Speed on mobcal 720p increaes from 10.28 fps to 10.65 fps.
      [Subject to further testing].
      
      Change-Id: Ib591382d25b2c11bcaba9d3a27a93a9d1ab27a96
      c94b17f4
  23. 12 Sep, 2014 1 commit
    • Deb Mukherjee's avatar
      Use bigdia search with pruned subpel search · 83c76118
      Deb Mukherjee authored
      Improves function to return sad of integer pels by reusing integer
      pels already visited in the smallest scale.
      Turns on BIGDIA search for speed 4. Also, turns on the
      first version of the pruned subpel search at this speed.
      
      derf: -0.32% (speed 4)
      
      Speed seems to improve by at least 5% but subject to verification.
      
      Change-Id: Iaec8eaffd61d6237ac029e6a2a1b0a88b2a35271
      83c76118
  24. 28 Aug, 2014 1 commit
    • Deb Mukherjee's avatar
      Updates vp9_pattern search to return integer sads · 04b100b2
      Deb Mukherjee authored
      Updates the vp9_pattern_search function to return integer one-away
      neighbors' sad values, for subsequent use in speeding up the
      sub-pel search. Also, removes code for the do_refine option
      which is not being used currently.
      Updates the integer and subpel functions to pass in a 5-element
      sad list for output or input.
      
      A new pruned sub-pel search algorithm is implemented that uses
      the sad returned from the integer pel search. But it is not
      deployed yet.
      
      Change-Id: Ifa9f5ad024b5b660570366d2bd900343e1891520
      04b100b2
  25. 11 Jul, 2014 1 commit
  26. 10 Jul, 2014 1 commit
    • Yunqing Wang's avatar
      Refactor vp9_diamond_search_sad function · 75cd5750
      Yunqing Wang authored
      Currently, vp9_diamond_search_sadx4() is only called when sse3 is
      enabled, which is improper since sse2 optimization of sdx4df
      functions are available. Changed to always use
      vp9_diamond_search_sadx4().
      
      Change-Id: I4b95d6b7a3c6c645783c373f0ba8d645ece24717
      75cd5750
  27. 09 Jul, 2014 2 commits
    • Yunqing Wang's avatar
      Refactor refining_search_sad code · 30117a57
      Yunqing Wang authored
      There are sse2 optimization of sdx4df functions. Instead of calling
      vp9_refining_search_sadx4 only when sse3 is enabled, call it always.
      
      Change-Id: I24f93818f7d4209d1425039e0eb099ff9ff08fe9
      30117a57
    • Yunqing Wang's avatar
      Remove repetitive code in mcomp.c · a581da21
      Yunqing Wang authored
      Deleted vp9_find_best_sub_pixel_comp_tree(), and combined it in
      vp9_find_best_sub_pixel_tree().
      
      Change-Id: Ifb25763c8b19822df5537cc1daa76ce88dc3b056
      a581da21
  28. 07 Jul, 2014 1 commit
    • Alex Converse's avatar
      Cleanup motion search speed features. · f60a1178
      Alex Converse authored
      * Replace max_step_search_steps with constant MAX_MVSEARCH_STEPS
      * Fold (reduce_first_step_size + speed > 5) into reduce_first_step_size
        replacing uses of reduce_first_step_size that don't add the speed
        check with zero.
      
      Change-Id: Iae46395dbf3eaca138bf4d18b838a9e364b5a198
      f60a1178
  29. 12 Jun, 2014 2 commits
  30. 02 Jun, 2014 1 commit
  31. 01 Jun, 2014 1 commit
  32. 23 May, 2014 1 commit
  33. 15 May, 2014 1 commit
  34. 14 May, 2014 2 commits
    • Paul Wilkins's avatar
      Silence unused parameter warnings. · 82cf1070
      Paul Wilkins authored
      The various motion search functions share a
      common function prototype. In the case of
      vp9_full_range_search() two of the parameters
      are not needed.
      
      Change-Id: I0e190af54a3b3f276409f20e8ec55912f9b0b798
      82cf1070
    • Paul Wilkins's avatar
      Silence unused parameter warnings. · 200f9aed
      Paul Wilkins authored
      Remove two unused parameters in the function
      vp9_refining_search_8p_c().
      
      Change-Id: Ic192734586291cf5400926eeb8e720e69d40835c
      200f9aed