- 20 Jul, 2018 1 commit
-
-
lixia zhang authored
Currently, libyuv supports MIPS SIMD Arch(MSA), but libyuv does not supports MultiMedia Instruction(MMI)(such as loongson3a platform). In order to improve performance of libyuv on loongson3a platform, this provides optimize 98 functions with mmi. BUG=libyuv:804 Change-Id: I8947626009efad769b3103a867363ece25d79629 Reviewed-on: https://chromium-review.googlesource.com/1122064 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by:
Frank Barchard <fbarchard@chromium.org>
-
- 26 Mar, 2018 1 commit
-
-
Jay Civelli authored
Adds a method that forces the CPU flags. Useful when using libyuv inside a sandboxed process which may not have access to the file system. Bug: libyuv:787 Change-Id: I01f71e39a7301085d9de388eba930b4cac0fd7be Reviewed-on: https://chromium-review.googlesource.com/972338 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by:
Frank Barchard <fbarchard@chromium.org>
-
- 10 Mar, 2018 1 commit
-
-
Frank Barchard authored
Change unittest flags to decimal so they can be used for --libyuv_cpu_info= Add environment variables to disable AVX 512 bits. Bug: libyuv:784 Test: LibYUVBaseTest.TestCpuHas Change-Id: Iea6704368fbe9f6d3395933da7993fb2a3453225 Reviewed-on: https://chromium-review.googlesource.com/957704Reviewed-by:
richard winterton <rrwinterton@gmail.com>
-
- 14 Dec, 2017 1 commit
-
-
Frank Barchard authored
Bug: libyuv:765 Test: build for mips still passes Change-Id: I99105ad3951d2210c0793e3b9241c178442fdc37 Reviewed-on: https://chromium-review.googlesource.com/826404Reviewed-by:
Weiyong Yao <braveyao@chromium.org> Commit-Queue: Frank Barchard <fbarchard@chromium.org>
-
- 07 Dec, 2017 1 commit
-
-
Frank Barchard authored
Bug: libyuv:751 Test: LibYUVConvertTest.H010ToARGB_Opt Change-Id: I668d3f3810e59a4fb6611503aae1c8edc7d596e7 Reviewed-on: https://chromium-review.googlesource.com/815015 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by:
richard winterton <rrwinterton@gmail.com>
-
- 09 Nov, 2017 1 commit
-
-
Frank Barchard authored
Bug: libyuv:756 Test: CFLAGS="-m32 -static -std=gnu89 -mno-sse -O2" CXXFLAGS="-m32 -x c -static -std=gnu99 -mno-sse -O2" make -f linux.mk libyuv.a Change-Id: Ic362f93e01ccbb0bea14f361a58585e79297e7d2 Reviewed-on: https://chromium-review.googlesource.com/759423Reviewed-by:
Frank Barchard <fbarchard@google.com> Reviewed-by:
Patrik Höglund <phoglund@chromium.org> Commit-Queue: Frank Barchard <fbarchard@google.com>
-
- 07 Nov, 2017 1 commit
-
-
Frank Barchard authored
Key instruction sets added for each microarchitecture: AVX512BW, AVX512VL, AVX512DQ - skylake server or later AVX512_VBMI, AVX512_IFMA - cannon lake or later AVX512_BITALG, AVX512_VBMI2, AVX512_VPOPCNTDQ, AVX512_VNNI, GFNI, VAES, VPCLMULQDQ - ice lake or later Bug: libyuv:752 Test: ~/intelsde/sde -icl -- out/Release/libyuv_unittest --gtest_filter=*Cpu* Change-Id: I9ee28904c90009d66721b9f805a440c5fc2da122 Reviewed-on: https://chromium-review.googlesource.com/755617Reviewed-by:
Frank Barchard <fbarchard@google.com> Reviewed-by:
richard winterton <rrwinterton@gmail.com>
-
- 25 May, 2017 1 commit
-
-
Frank Barchard authored
The CpuId function is a wrapper for the intrinsic, or implemented with inline if unavailable. It had been using uint32, but the intrinsics use int, so it was causing casting and lint warnings. This change makes the internal implementation use int. Casting was also done for xgetbv, and the cast is simply removed, and is not causing a build error. MipCpuCaps was doing strlen to check for white space after the instruction set. Arm also does this but with a hard coded offset. This was causing a cast from size_t to int, which produced a lint warning. The change removes the white space detect. In theory the code could be used to detect SSE vs SSE2, and it would need to check SSE is followed by a space or end of line. But this code is only used on Arm and Mips, where there there is one form of SIMD detected. e.g. MSA for mips. If a new instruction set is added with a similar name, the write space check could be reintroduced. But its more likely the code can be rewritten to use a better form of detection by then. Or remove detection and require the instructions BUG=libyuv:641 TEST=try bots build on all platforms without error and lint is clean Change-Id: I9f55f8e57bba0f78571bdddbe63b945dea3e8809 Reviewed-on: https://chromium-review.googlesource.com/514524 Commit-Queue: Frank Barchard <fbarchard@google.com> Reviewed-by:
Cheng Wang <wangcheng@google.com> Reviewed-by:
Wan-Teh Chang <wtc@chromium.org>
-
- 27 Jan, 2017 1 commit
-
-
Frank Barchard authored
Add MSA detect to unittest. Change macro to disable DSPR2 code to LIBYUV_DISABLE_DSPR2 BUG=libyuv:634 TEST=try bots Change-Id: I9e0aa2452204fc529bb6f9e6fd93c4e1c379bba6 Reviewed-on: https://chromium-review.googlesource.com/433463Reviewed-by:
Henrik Kjellander <kjellander@chromium.org> Commit-Queue: Frank Barchard <fbarchard@google.com>
-
- 08 Nov, 2016 1 commit
-
-
Frank Barchard authored
BUG=libyuv:654 R=kjellander@chromium.org Review URL: https://codereview.chromium.org/2469353005 .
-
- 14 Oct, 2016 1 commit
-
-
Frank Barchard authored
R=wangcheng@google.com, hubbe@chromium.org BUG=libyuv:560 Review URL: https://codereview.chromium.org/2418763006 .
-
- 12 Oct, 2016 1 commit
-
-
Frank Barchard authored
R=kjellander@chromium.org BUG=libyuv:649 Review URL: https://codereview.chromium.org/2414763002 .
-
- 27 May, 2016 1 commit
-
-
Frank Barchard authored
add SIMD_ALIGNED to unittest header. BUG=libyuv:594 TESTED=local build passes with row.h removed from tests. R=harryjin@google.com Review URL: https://codereview.chromium.org/2001373002 .
-
- 05 Feb, 2016 1 commit
-
-
Frank Barchard authored
When attempting to normalize function names to end in Row_SIMD it was made harder with MIPS_DSPR2 naming convention. Other CPUs do not include the vendor. This should be named consistently. Removed the DISABLE_MIPS in favour of DISABLE_ASM for consistency with other processors. TBR=harryjin@google.com BUG=libyuv:562 Review URL: https://codereview.chromium.org/1677633002 .
-
- 04 Nov, 2015 2 commits
-
-
Frank Barchard authored
in order to compare C and Neon code, a new command line flag is added. historically environment variables controlled cpu features, but on android apk it is easier to pass a command line option to disable cpu optimizations. R=harryjin@google.com BUG=libyuv:516 Review URL: https://codereview.chromium.org/1407193009 .
-
Frank Barchard authored
DSP code is not actually used, only DSPR2. Remove the detect. TBR=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1405043008 .
-
- 26 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=libyuv:514 Review URL: https://codereview.chromium.org/1413463004 .
-
- 13 Oct, 2015 1 commit
-
-
Frank Barchard authored
R=harryjin@google.com BUG=none Review URL: https://codereview.chromium.org/1399523004 .
-
- 22 Sep, 2014 1 commit
-
-
fbarchard@google.com authored
BUG=361 TESTED=.\libyuv_unittest --gtest_filter=libyuvTest.TestLinuxNeon R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/31439004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1088 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 08 Sep, 2014 1 commit
-
-
fbarchard@google.com authored
BUG=none TESTED=try bots R=bcornell@google.com Review URL: https://webrtc-codereview.appspot.com/22299004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1076 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 04 Sep, 2014 1 commit
-
-
fbarchard@google.com authored
BUG=none TESTED=out\release_x64\libyuv_unittest --gtest_filter=libyuvTest.TestCompilerHasAVX2 R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/24439004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@1074 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 07 Mar, 2014 1 commit
-
-
fbarchard@google.com authored
BUG=315 TESTED=untested R=nfullagar@chromium.org, wuwang@google.com Review URL: https://webrtc-codereview.appspot.com/9589005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@981 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 21 Oct, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=276 TEST=Cpu unittest R=nfullagar@google.com, ryanpetrie@google.com Review URL: https://webrtc-codereview.appspot.com/2401004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@817 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 16 Sep, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=265 TEST=cpuid and Polynomial unittest R=changjun.yang@intel.com Review URL: https://webrtc-codereview.appspot.com/2217004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@790 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 28 Mar, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/1265004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@625 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 26 Mar, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/1255004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@623 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 28 Jan, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=lint Review URL: https://webrtc-codereview.appspot.com/1063010 git-svn-id: http://libyuv.googlecode.com/svn/trunk@553 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 08 Jan, 2013 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=cpu unittest Review URL: https://webrtc-codereview.appspot.com/1027005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@527 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 14 Oct, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=126 TEST=rotate_test and cpu_test updated Review URL: https://webrtc-codereview.appspot.com/879005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@416 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 11 Oct, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=convert_test Review URL: https://webrtc-codereview.appspot.com/857014 git-svn-id: http://libyuv.googlecode.com/svn/trunk@408 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 27 Sep, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=99 TEST=shared lib builds without impact and unittests link against import lib. Review URL: https://webrtc-codereview.appspot.com/844005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@379 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 25 Sep, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=98 TEST=none Review URL: https://webrtc-codereview.appspot.com/839004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@373 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 18 Sep, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=91 TEST=try Review URL: https://webrtc-codereview.appspot.com/813004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@362 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 08 Aug, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=63 TEST=none Review URL: https://webrtc-codereview.appspot.com/730004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@314 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 31 May, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=30 TESTED=libyuvTest.TestVersion Review URL: https://webrtc-codereview.appspot.com/619007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@274 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 30 May, 2012 3 commits
-
-
fbarchard@google.com authored
For cpu's with Neon, set arm as well. Make unittest allow testdata unaccessable but try proc/cpuinfo BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/610005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@273 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
fbarchard@google.com authored
Change cpu id constants to hex to indicate they are flags. Reserve values for future flags. make unittest print in hex. Add environment variables to disable sse42 and avx. BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/608006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@272 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
fbarchard@google.com authored
BUG=none TEST=libyuvTest.TestCpuHas Review URL: https://webrtc-codereview.appspot.com/607006 git-svn-id: http://libyuv.googlecode.com/svn/trunk@271 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 09 May, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/577004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@260 16f28f9a-4ce2-e073-06de-1de4eb20be90
-
- 08 May, 2012 1 commit
-
-
fbarchard@google.com authored
BUG=none TEST=libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*Cpu* Review URL: https://webrtc-codereview.appspot.com/566007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@259 16f28f9a-4ce2-e073-06de-1de4eb20be90
-