1. 10 Nov, 2017 1 commit
    • Frank Barchard's avatar
      clang-format for align_buffer_page_end and free_aligned_buffer_page_end · 3cf056f8
      Frank Barchard authored
      clang-format does nested indents for macros that dont end with ;
      example:
        align_buffer_page_end(dst_y_8, dst_y_plane_size)
            align_buffer_page_end(dst_u_8, dst_uv_plane_size)
                align_buffer_page_end(dst_v_8, dst_uv_plane_size)
                    align_buffer_page_end(dst_y_16, dst_y_plane_size * 2)
                        align_buffer_page_end(dst_u_16, dst_uv_plane_size * 2)
                            align_buffer_page_end(dst_v_16, dst_uv_plane_size * 2)
      
      use a similar allocator to the one used within libyuv in row.h which makes the caller add ;
        align_buffer_page_end(dst_y_8, dst_y_plane_size);
        align_buffer_page_end(dst_u_8, dst_uv_plane_size);
        align_buffer_page_end(dst_v_8, dst_uv_plane_size);
        align_buffer_page_end(dst_y_16, dst_y_plane_size * 2);
        align_buffer_page_end(dst_u_16, dst_uv_plane_size * 2);
        align_buffer_page_end(dst_v_16, dst_uv_plane_size * 2);
      
      Bug: libyuv:758
      Test: try bots
      Change-Id: I4a0770707e7053e094a37bbfc3c5884d5663d078
      Reviewed-on: https://chromium-review.googlesource.com/762757Reviewed-by: 's avatarPatrik Höglund <phoglund@chromium.org>
      Reviewed-by: 's avatarFrank Barchard <fbarchard@google.com>
      Commit-Queue: Frank Barchard <fbarchard@google.com>
      3cf056f8
  2. 04 Aug, 2017 1 commit
  3. 19 Jun, 2017 1 commit
  4. 08 Nov, 2016 1 commit
  5. 28 May, 2016 1 commit
  6. 27 May, 2016 1 commit
  7. 24 May, 2016 1 commit
  8. 06 May, 2016 1 commit
  9. 02 Feb, 2016 1 commit
  10. 04 Nov, 2015 2 commits
  11. 14 Oct, 2015 1 commit
  12. 13 Oct, 2015 1 commit
  13. 22 Sep, 2015 1 commit
    • Frank Barchard's avatar
      Replace random with fastrand · 16f12b58
      Frank Barchard authored
      random / rand is slow and impacts performance testing.
      Although its only called to clear a frame once, a typical profile shows
      it high in the overall profile, when doing 1000 frames for a benchmark.
      
      95.10%  libyuv_unittest  libyuv_unittest      [.] YUY2ToARGBRow_SSSE3
       2.01%  libyuv_unittest  libc-2.19.so         [.] __random_r
       1.13%  libyuv_unittest  libc-2.19.so         [.] __random
      
      Replace random is a faster version for unittests.
      
      set LIBYUV_WIDTH=1280
      set LIBYUV_HEIGHT=720
      set LIBYUV_REPEAT=999
      set LIBYUV_FLAGS=-1
      out\release\libyuv_unittest --gtest_filter=*YUY2ToARGB*  | findms
      
      Was
      libyuvTest.YUY2ToARGB_Opt (497 ms)
      
      Now
      libyuvTest.YUY2ToARGB_Opt (454 ms)
      
      R=harryjin@google.com
      BUG=none
      
      Review URL: https://codereview.chromium.org/1361813002 .
      16f12b58
  14. 09 Jun, 2015 1 commit
  15. 26 Mar, 2015 1 commit
  16. 07 Oct, 2014 1 commit
  17. 26 Dec, 2013 1 commit
  18. 09 Aug, 2013 1 commit
  19. 17 Jun, 2013 1 commit
  20. 15 Jun, 2013 1 commit
  21. 13 Jun, 2013 1 commit
  22. 10 Jun, 2013 1 commit
  23. 28 Jan, 2013 1 commit
  24. 14 Nov, 2012 1 commit
  25. 25 Oct, 2012 2 commits
  26. 24 Oct, 2012 1 commit
  27. 18 Sep, 2012 1 commit
  28. 14 Sep, 2012 1 commit
  29. 08 Aug, 2012 1 commit
  30. 21 Jun, 2012 1 commit
  31. 20 Jun, 2012 1 commit
  32. 20 Apr, 2012 1 commit
  33. 26 Jan, 2012 1 commit
  34. 19 Nov, 2011 1 commit
  35. 10 Nov, 2011 2 commits
  36. 03 Nov, 2011 1 commit
  37. 19 Oct, 2011 1 commit