1. 20 Aug, 2019 1 commit
  2. 07 Aug, 2019 1 commit
  3. 26 Jul, 2019 1 commit
  4. 18 Jul, 2019 1 commit
  5. 02 Jul, 2019 1 commit
  6. 01 Jul, 2019 1 commit
  7. 29 May, 2019 1 commit
  8. 14 May, 2019 1 commit
  9. 12 Apr, 2019 1 commit
  10. 05 Mar, 2019 1 commit
  11. 25 Oct, 2018 1 commit
  12. 24 Oct, 2018 1 commit
  13. 10 Oct, 2018 1 commit
    • Frank Barchard's avatar
      NV21ToRAW and NV12ToRAW functions added · 97b3990d
      Frank Barchard authored
      RAW is a big endian style RGB buffer with R first in memory, then G and B.
      Convert NV21 and NV12 to RAW format.
      
      Performance on SkylakeX for 720p with AVX2
      I420ToRAW_Opt (388 ms)
      H420ToRAW_Opt (371 ms)
      NV12ToRAW_Opt (341 ms)
      NV21ToRAW_Opt (339 ms)
      
      SSSE3
      I420ToRAW_Opt (507 ms)
      H420ToRAW_Opt (481 ms)
      NV12ToRAW_Opt (498 ms)
      NV21ToRAW_Opt (493 ms)
      
      C
      I420ToRAW_Opt (2287 ms)
      H420ToRAW_Opt (2246 ms)
      NV12ToRAW_Opt (2191 ms)
      NV21ToRAW_Opt (2204 ms)
      
      Performance on Pixel 2 for 720p
      out/Release/bin/run_libyuv_unittest -v -t 7200 --gtest_filter=*NV??ToR*Opt --libyuv_repeat=1000 --libyuv_width=1280 --libyuv_height=720
      LibYUVConvertTest.NV12ToRGB24_Opt (1739 ms)
      LibYUVConvertTest.NV21ToRGB24_Opt (1734 ms)
      LibYUVConvertTest.NV12ToRAW_Opt (1719 ms)
      LibYUVConvertTest.NV21ToRAW_Opt (1691 ms)
      LibYUVConvertTest.NV12ToRGB565_Opt (2152 ms)
      
      Bug: libyuv:778, b:117522975
      Test: add new NV21ToRAW and NV12ToRAW tests
      Change-Id: Ieabb68a2c6d8c26743e609c5696c81bb14fb253f
      Reviewed-on: https://chromium-review.googlesource.com/c/1272615
      Commit-Queue: Frank Barchard <fbarchard@chromium.org>
      Reviewed-by: 's avatarFrank Barchard <fbarchard@chromium.org>
      Reviewed-by: 's avatarMirko Bonadei <mbonadei@chromium.org>
      97b3990d
  14. 03 Oct, 2018 1 commit
  15. 04 Sep, 2018 1 commit
  16. 10 Aug, 2018 1 commit
  17. 06 Aug, 2018 1 commit
  18. 20 Jul, 2018 1 commit
  19. 09 Jul, 2018 1 commit
  20. 26 Jun, 2018 1 commit
  21. 20 Jun, 2018 1 commit
  22. 01 Jun, 2018 1 commit
  23. 19 Apr, 2018 1 commit
    • Robert Bares's avatar
      Allow negative height when ConvertToI420/ARGB is called with NV12/NV21 · a8aa921c
      Robert Bares authored
      ConvertToI420 and ConvertToARGB support the use of a negative height
      parameter to flip the image vertically. When converting from NV12 or
      NV21 this parameter was misinterpreted, resulting in invalid output.
      This CL introduces the use of abs_src_height to correctly calculate
      the location of the source UV plane.
      
      The sign of crop_height is not used, to reduce confusion ConvertToI420
      and ConvertToARGB no longer accept negative crop height.
      
      Unit tests for Android420ToI420 are updated to fix miscalculation of
      src_stride_uv, fix incorrect pixel strides, and to test inversion.
      New unit tests are included to test inversion for ConvertToARGB,
      ConvertToI420, Android420ToARGB, and Android420ToABGR.
      For consistency the test NV12Crop is renamed ConvertToI420_NV12_Crop.
      
      Bug: libyuv:446
      Test: out/Release/libyuv_unittest --gtest_filter=*.ConvertTo*:*.Android420To*
      Change-Id: Idc98e62671cb30272cfa7e24fafbc8b73712f7c6
      Reviewed-on: https://chromium-review.googlesource.com/994074
      Commit-Queue: Frank Barchard <fbarchard@chromium.org>
      Reviewed-by: 's avatarFrank Barchard <fbarchard@chromium.org>
      a8aa921c
  24. 26 Mar, 2018 1 commit
  25. 20 Mar, 2018 1 commit
  26. 10 Mar, 2018 1 commit
  27. 08 Mar, 2018 1 commit
  28. 02 Mar, 2018 1 commit
  29. 27 Feb, 2018 1 commit
  30. 24 Feb, 2018 1 commit
  31. 22 Feb, 2018 1 commit
  32. 21 Feb, 2018 3 commits
  33. 16 Feb, 2018 1 commit
  34. 15 Feb, 2018 2 commits
  35. 12 Feb, 2018 1 commit
    • Frank Barchard's avatar
      Tidy applied with all safe checks on all arm, mips and intel, 32 and 64 bit · 8a00c2bb
      Frank Barchard authored
      Using clang-tidy 7.
      warnings=-*,mpi-*,objc-*,llvm-*,hicpp-*,-hicpp-use-noexcept,llvm-*,-hicpp-deprecated-headers,-hicpp-use-auto,bugprone-*,cert-*,google-*,-google-readability-casting,misc-*,,-misc-unused-parameters,-misc-macro-parentheses,cppcoreguidelines-*,-cppcoreguidelines-pro-type-member-init,readability-*,-readability-non-const-parameter,-readability-implicit-bool-conversion,fuchsia-*,-fuchsia-multiple-inheritance,-android-cloexec-*
      
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D__ARM_NEON__ -D__arm__   -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D__mips_msa               -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D__aarch64__              -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D_MSC_VER=1600 -D_M_IX86  -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D_MSC_VER=1600 -D_M_X64   -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D__i386__                 -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      ~/bin/clang-tidy -fix-errors -format-style=file -checks=$warnings $* -- -Iinclude -D__x86_64__               -D__clang__ -D__clang_major__=6 -DHAVE_JPEG
      
      Bug: libyuv:750
      Test: builds and runs and passes more tidy tests
      Change-Id: Ieb0f026c5b5a1d2daf8aca18b9290927fdaaa55c
      Reviewed-on: https://chromium-review.googlesource.com/907853Reviewed-by: 's avatarWeiyong Yao <braveyao@chromium.org>
      8a00c2bb
  36. 09 Feb, 2018 1 commit
  37. 08 Feb, 2018 1 commit