1. 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
  2. 06 May, 2015 1 commit
    • Johann's avatar
      Move shared SAD code to vpx_dsp · d5d92898
      Johann authored
      Create a new component, vpx_dsp, for code that can be shared
      between codecs. Move the SAD code into the component.
      
      This reduces the size of vpxenc/dec by 36k on x86_64 builds.
      
      Change-Id: I73f837ddaecac6b350bf757af0cfe19c4ab9327a
      d5d92898
  3. 27 Jan, 2015 3 commits
  4. 22 Nov, 2014 1 commit
    • James Zern's avatar
      sad_test: initialize bit_depth_ in all cases · 65d7fa71
      James Zern authored
      previously 'bit_depth_', which is later used to calculate 'mask_', would
      be left uninitialized in non-high-bitdepth builds
      
      Change-Id: Ia72035f4645baf3bb0f191504f491b934cdf1e0e
      65d7fa71
  5. 20 Nov, 2014 1 commit
    • James Zern's avatar
      sad_test: fix vp8-only build · 16d26969
      James Zern authored
      ROUND_POWER_OF_TWO() is defined in vp9 headers currently, avoid it in
      non-high-bitdepth code
      
      Change-Id: Ic28b8f95ef7964800475ee8b35be5f9cea9afab6
      16d26969
  6. 14 Nov, 2014 1 commit
  7. 12 Nov, 2014 1 commit
  8. 19 Oct, 2014 1 commit
    • levytamar82's avatar
      SAD32xh and SAD64xh for AVX2 · 7045aec0
      levytamar82 authored
      All sad function that process above 32 consecutive elements are optimized
      for AVX2:
      vp9_sad64x64
      vp9_sad64x32
      vp9_sad32x64
      vp9_sad32x32
      vp9_sad32x16
      vp9_sad64x64_avg
      vp9_sad64x32_avg
      vp9_sad32x64_avg
      vp9_sad32x32_avg
      vp9_sad32x16_avg
      The functions that appeared as a hotspot is vp9_sad32x32 and vp9_sad64x64
      vp9_sad32x32 was optimized by 68% and vp9_sad64x64 was optimized by 90%
      both of them gave and overall ~2.3% user level gain
      
      Change-Id: Iccf86b375a2b54c5fbbe685902ead0c9a561b9fd
      7045aec0
  9. 02 Sep, 2014 1 commit
    • Dmitry Kovalev's avatar
      Removing MMX SAD calculation code. · 318fc0c3
      Dmitry Kovalev authored
      Removed functions:
      * vp9_sad_16x16_mmx
      * vp9_sad_8x16_mmx
      * vp9_sad_16x8_mmx
      * vp9_sad_8x8_mmx
      * vp9_sad_4x4_mmx
      
      Change-Id: Ic5174b93b64d65d846f0c11e72cab149e9472bc3
      318fc0c3
  10. 07 Aug, 2014 1 commit
    • levytamar82's avatar
      Fix bug 806 · af10457e
      levytamar82 authored
      in the function sad32x32x4d and sad64x64x4d the source is aligned to 16 bytes
      and not to 32 bytes - the load is now unaligned.
      
      Change-Id: I922fdba56d0936b5cf72e4503519f185645a168c
      af10457e
  11. 01 Aug, 2014 1 commit
  12. 19 Jul, 2014 1 commit
  13. 16 Jul, 2014 1 commit
  14. 10 Jul, 2014 1 commit
    • James Zern's avatar
      tests: add API_REGISTER_STATE_CHECK · 29e1b1a4
      James Zern authored
      used to wrap API functions to ensure full environment consistency as
      opposed to the renamed ASM_REGISTER_STATE_CHECK which is used with
      assembly functions.
      currently checks the FPU tag word in x86/x86_64 gcc builds to ensure
      emms has been called.
      
      Change-Id: Ie241772dbf903d33d516a1add4c8c6783f2e1490
      29e1b1a4
  15. 10 Jun, 2014 1 commit
    • James Zern's avatar
      vp9_sad*x4d: disable avx2 variants · d3ff009d
      James Zern authored
      tests failing under Win32/Win64
      
      + sad_test: add missing avx2 functions (disabled)
      
      Change-Id: I8224fba2b270f6039ab1877d71e1e512f0081856
      d3ff009d
  16. 02 Jun, 2014 1 commit
  17. 01 Jun, 2014 1 commit
  18. 23 May, 2014 1 commit
  19. 15 May, 2014 1 commit
  20. 14 May, 2014 1 commit
    • Deb Mukherjee's avatar
      Remove Wextra warnings from vp9_sad.c · 7ab9a958
      Deb Mukherjee authored
      As a side-effect, the max_sad check is removed from the
      C-implementation of VP8, for consistency with VP9, and to
      ensure that the SAD tests common to VP8/VP9 pass.
      That will make the VP8 C implementation of sad a little slower
      but given that is rarely used in practice, the impact will be
      minimal.
      
      Change-Id: I7f43089fdea047fbf1862e40c21e4715c30f07ca
      7ab9a958
  21. 28 Feb, 2014 1 commit
  22. 27 Feb, 2014 2 commits
  23. 18 Jan, 2014 1 commit
  24. 06 Sep, 2013 1 commit
    • Yaowu Xu's avatar
      cleanup cpplint warnings · afffa3d9
      Yaowu Xu authored
      Suggested by James Zern to clear out cpplint warnings for all unit
      test code.
      
      Change-Id: I731a3fa4d2a257eb9ef733426ba84286fbd7ea34
      afffa3d9
  25. 06 Aug, 2013 2 commits
    • Jim Bankoski's avatar
      variance x86inc guards · 5b307886
      Jim Bankoski authored
      also fixed bug in sad calcs
      
      Change-Id: I6571fcbe37556c16ae32be66dc0fd879852aac1d
      5b307886
    • Jim Bankoski's avatar
      sad + miscellaneous updates · c9126e0b
      Jim Bankoski authored
      Enable use_x86inc as a commandline option.  Fix Bug with sse2 when
      x86inc is disabled. Adds Sad asm protection to x86inc protection
      
      Change-Id: Iee0f9dd235ea10e8ace512eb362ba9bebe8c9df6
      c9126e0b
  26. 24 Jun, 2013 1 commit
  27. 18 Jun, 2013 1 commit
  28. 14 Jun, 2013 1 commit
    • Jingning Han's avatar
      Enable sse2 version of sad8x4/4x8 · c43af9a8
      Jingning Han authored
      The encoding time for bus at CIF goes from 661s to 625s. This commit
      also enabled unit test of sad8x4/4x8 in sad_test.cc.
      
      Change-Id: If3d10ebb56bda584bdb69bcf056599d580b12cb1
      c43af9a8
  29. 13 Jun, 2013 1 commit
    • Jingning Han's avatar
      Enable sse2 version of sad8x4/4x8 · 15f50e7b
      Jingning Han authored
      The encoding time for bus at CIF goes from 661s to 625s. This commit
      also enabled unit test of sad8x4/4x8 in sad_test.cc.
      
      Change-Id: If3d10ebb56bda584bdb69bcf056599d580b12cb1
      15f50e7b
  30. 12 Jun, 2013 1 commit
  31. 30 May, 2013 2 commits
    • James Zern's avatar
      sad_test: fix msvc compile · 5e3439bb
      James Zern authored
      Fixes:
      error C2121: '#' : invalid character : possibly the result of a macro expansion
      
      Change-Id: I63d7ebba29f3a3cbb546406be39270290e9dc47d
      (cherry picked from commit a91e5b4f)
      5e3439bb
    • James Zern's avatar
      sad_test: fix msvc compile · a91e5b4f
      James Zern authored
      Fixes:
      error C2121: '#' : invalid character : possibly the result of a macro expansion
      
      Change-Id: I63d7ebba29f3a3cbb546406be39270290e9dc47d
      a91e5b4f
  32. 02 Mar, 2013 2 commits
  33. 28 Nov, 2012 1 commit
  34. 15 Nov, 2012 1 commit