1. 03 Mar, 2017 5 commits
  2. 01 Mar, 2017 1 commit
    • Frank Barchard's avatar
      Fix missing return in MipsCpuCaps. · 91ee9b72
      Frank Barchard authored
      Previously if MipsCpuCaps were called with something other than
      dspr2 or msa, the file was closed but still used.
      
      This change assumed the function is only called internally twice:
      once for msa and once for dspr2.  If msa is not being detected,
      the function assumed dspr2 was being tested and returns dspr2 was
      true.
      
      BUG=libyuv:687
      TEST=try bots
      
      Change-Id: I80b328eb5ffc7baf5f1ee5a79c16d75c45ff26cc
      Reviewed-on: https://chromium-review.googlesource.com/447831Reviewed-by: 's avatarFrank Barchard <fbarchard@google.com>
      Commit-Queue: Frank Barchard <fbarchard@google.com>
      91ee9b72
  3. 28 Feb, 2017 1 commit
  4. 27 Feb, 2017 1 commit
  5. 23 Feb, 2017 1 commit
    • Manojkumar Bhosale's avatar
      Add MSA optimized Interpolate/MergeUV/Misc functions · 45b176d1
      Manojkumar Bhosale authored
      BUG=libyuv:634
      
      Change-Id: If8d60bd57f01fe95bc2fd26196466574195cc126
      
      Performance Gain (vs C auto-vectorized)
      InterpolateRow_MSA      - ~3.3x
      InterpolateRow_Any_MSA  - ~2.5x
      ARGBSetRow_MSA          - ~1.0x
      ARGBSetRow_Any_MSA      - ~1.0x
      ARGBToRGB24Row_MSA      - ~1.9x
      ARGBToRGB24Row_Any_MSA  - ~1.6x
      MergeUVRow_MSA          - ~1.6x
      MergeUVRow_Any_MSA      - ~1.2x
      
      Performance Gain (vs C non-vectorized)
      InterpolateRow_MSA      - ~11.3x
      InterpolateRow_Any_MSA  - ~ 7.9x
      ARGBSetRow_MSA          - ~ 6.2x
      ARGBSetRow_Any_MSA      - ~ 4.0x
      ARGBToRGB24Row_MSA      - ~ 9.9x
      ARGBToRGB24Row_Any_MSA  - ~ 8.4x
      MergeUVRow_MSA          - ~12.7x
      MergeUVRow_Any_MSA      - ~ 8.0x
      
      Change-Id: If8d60bd57f01fe95bc2fd26196466574195cc126
      Reviewed-on: https://chromium-review.googlesource.com/445817Reviewed-by: 's avatarFrank Barchard <fbarchard@google.com>
      Commit-Queue: Frank Barchard <fbarchard@google.com>
      45b176d1
  6. 22 Feb, 2017 1 commit
  7. 21 Feb, 2017 2 commits
  8. 15 Feb, 2017 1 commit
  9. 14 Feb, 2017 4 commits
  10. 11 Feb, 2017 2 commits
  11. 07 Feb, 2017 1 commit
  12. 06 Feb, 2017 3 commits
  13. 04 Feb, 2017 1 commit
  14. 03 Feb, 2017 1 commit
    • Henrik Kjellander's avatar
      Use DEPS for all dependencies + add PRESUBMIT.py · f49fde79
      Henrik Kjellander authored
      This changes libyuv to use the DEPS file for pulling
      down all dependencies (thus no Chromium checkout is needed any more).
      
      Add tools_libyuv directory to contain libyuv-specific tools
      (needed to avoid name collision with the now DEPSed tools/ directory
      of Chromium, which is needed by the toolchain).
      Add tools_libyuv/autoroller/roll_deps.py script to automatically
      roll all entries in the DEPS file (copied from WebRTC).
      
      third_party/ is now DEPSed as well, including the gtest configuration
      headers that used to live inside the libyuv repo.
      
      Add PRESUBMIT.py with a few simple checks + execution of PyLint and
      Python unit tests. For PyLint a pylintrc file was also added.
      
      Valgrind in tools_libyuv/valgrind was updated to make PRESUBMIT.py pass
      and remove old tsan suppressions (not used).
      
      Removed util/android/test_runner.py since it's no longer needed.
      
      Buildbot changes in https://chromium-review.googlesource.com/436464 
      are needed for the Memcheck bot to go green.
      
      BUG=libyuv:676
      NOTRY=True
      
      Change-Id: Ib86fea2905a1656bba2933703ce5a59d29d8db6b
      Reviewed-on: https://chromium-review.googlesource.com/436264
      Commit-Queue: Henrik Kjellander <kjellander@chromium.org>
      Reviewed-by: 's avatarFrank Barchard <fbarchard@google.com>
      f49fde79
  15. 02 Feb, 2017 2 commits
  16. 01 Feb, 2017 2 commits
    • Henrik Kjellander's avatar
      Revert "Roll chromium_revision 941118827f..316b880c55" · 74441e41
      Henrik Kjellander authored
      This reverts commit 03510421.
      Failures on Windows bots are consistent after landing this.
      
      TBR=fbarchard@google.com
      NOTRY=True
      
      Change-Id: Ie249aafde2204297aa2d86ecb1dec6e109685493
      Reviewed-on: https://chromium-review.googlesource.com/435261
      Commit-Queue: Henrik Kjellander <kjellander@chromium.org>
      Reviewed-by: 's avatarHenrik Kjellander <kjellander@chromium.org>
      74441e41
    • Manojkumar Bhosale's avatar
      Add MSA optimized ARGB/ABGR/BGRA/RGBA To Y/UV row functions · 54ce8f23
      Manojkumar Bhosale authored
      R=fbarchard@google.com
      BUG=libyuv:634
      
      Performance Gain (vs C auto-vectorized)
      ARGBToYJRow_MSA       - ~3.2x
      ARGBToYJRow_Any_MSA   - ~2.7x
      BGRAToYRow_MSA        - ~3.2x
      BGRAToYRow_Any_MSA    - ~2.7x
      ABGRToYRow_MSA        - ~3.2x
      ABGRToYRow_Any_MSA    - ~2.6x
      RGBAToYRow_MSA        - ~3.1x
      RGBAToYRow_Any_MSA    - ~2.7x
      ARGBToUVJRow_MSA      - ~5.5x
      ARGBToUVJRow_Any_MSA  - ~4.5x
      BGRAToUVRow_MSA       - ~2.1x
      BGRAToUVRow_Any_MSA   - ~2.0x
      ABGRToUVRow_MSA       - ~2.1x
      ABGRToUVRow_Any_MSA   - ~1.9x
      RGBAToUVRow_MSA       - ~2.2x
      RGBAToUVRow_Any_MSA   - ~1.9x
      
      Performance Gain (vs C non-vectorized)
      ARGBToYJRow_MSA       - ~10.9x
      ARGBToYJRow_Any_MSA   -  ~9.2x
      BGRAToYRow_MSA        - ~10.9x
      BGRAToYRow_Any_MSA    -  ~9.3x
      ABGRToYRow_MSA        - ~11.0x
      ABGRToYRow_Any_MSA    -  ~9.3x
      RGBAToYRow_MSA        - ~10.9x
      RGBAToYRow_Any_MSA    -  ~9.1x
      ARGBToUVJRow_MSA      - ~12.4x
      ARGBToUVJRow_Any_MSA  - ~10.5x
      BGRAToUVRow_MSA       -  ~4.7x
      BGRAToUVRow_Any_MSA   -  ~4.4x
      ABGRToUVRow_MSA       -  ~4.7x
      ABGRToUVRow_Any_MSA   -  ~4.5x
      RGBAToUVRow_MSA       -  ~4.8x
      RGBAToUVRow_Any_MSA   -  ~4.4x
      
      Review-Url: https://codereview.chromium.org/2641153003 .
      54ce8f23
  17. 31 Jan, 2017 1 commit
  18. 30 Jan, 2017 1 commit
  19. 27 Jan, 2017 1 commit
  20. 26 Jan, 2017 2 commits
  21. 24 Jan, 2017 1 commit
  22. 20 Jan, 2017 3 commits
  23. 18 Jan, 2017 1 commit
    • Manojkumar Bhosale's avatar
      Add MSA optimized NV12/21 To RGB row functions · 09b8c971
      Manojkumar Bhosale authored
      R=fbarchard@google.com
      BUG=libyuv:634
      
      Performance Gain (vs C auto-vectorized)
      NV12ToARGBRow_MSA       - ~1.5x
      NV12ToARGBRow_Any_MSA   - ~1.4x
      NV12ToRGB565Row_MSA     - ~1.4x
      NV12ToRGB565Row_Any_MSA - ~1.4x
      NV21ToARGBRow_MSA       - ~1.5x
      NV21ToARGBRow_Any_MSA   - ~1.5x
      SobelRow_MSA            - ~4.3x
      SobelRow_Any_MSA        - ~3.4x
      SobelToPlaneRow_MSA     - ~8.0x
      SobelToPlaneRow_Any_MSA - ~4.7x
      SobelXYRow_MSA          - ~3.0x
      SobelXYRow_Any_MSA      - ~2.5x
      
      Performance Gain (vs C non-vectorized)
      NV12ToARGBRow_MSA       - ~6.5x
      NV12ToARGBRow_Any_MSA   - ~6.5x
      NV12ToRGB565Row_MSA     - ~6.2x
      NV12ToRGB565Row_Any_MSA - ~6.1x
      NV21ToARGBRow_MSA       - ~6.5x
      NV21ToARGBRow_Any_MSA   - ~6.5x
      SobelRow_MSA            - ~14.5x
      SobelRow_Any_MSA        - ~11.3x
      SobelToPlaneRow_MSA     - ~34.2x
      SobelToPlaneRow_Any_MSA - ~19.4x
      SobelXYRow_MSA          - ~11.1x
      SobelXYRow_Any_MSA      - ~9.1x
      
      Review-Url: https://codereview.chromium.org/2636483002 .
      09b8c971
  24. 13 Jan, 2017 1 commit
    • Frank Barchard's avatar
      add Intel Code Analyst markers · a7c87e19
      Frank Barchard authored
      add macros to enable/disable code analyst around blocks of code.
      
      Normally these macros should not be used, but if performance
      details are wanted for intel code, enable them around the code
      and then run via the iaca tool, available on the intel website.
      
      BUG=libyuv:670
      TEST=~/iaca-lin64/bin/iaca.sh -64 out/Release/libyuv_unittest
      R=wangcheng@google.com
      
      Review-Url: https://codereview.chromium.org/2626193002 .
      a7c87e19