fbarchard@google.com
573a883dd6
Subtract 2 images.
...
BUG=179
TEST=planar unittest
Review URL: https://webrtc-codereview.appspot.com/1073004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@551 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-24 23:08:12 +00:00
fbarchard@google.com
8c4e5e284c
Specialize SSE2 filter
...
BUG=177
TEST=unittest scale*
Review URL: https://webrtc-codereview.appspot.com/1069005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@550 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-23 02:05:12 +00:00
fbarchard@google.com
8811289be7
Interpolate ported to SSE2
...
BUG=177
TEST=out\release\libyuv_unittest --gtest_filter=*
Review URL: https://webrtc-codereview.appspot.com/1060006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@549 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-22 19:16:07 +00:00
fbarchard@google.com
70b4928158
SSE2 bilinear fix for posix.
...
BUG=177
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1061004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@548 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-22 07:49:40 +00:00
fbarchard@google.com
0f00506af7
DEPS rolls chromium dependencies to r177738 which is LKGR.
...
BUG=178
TEST=ninja builds still work on x32 bit.
Review URL: https://webrtc-codereview.appspot.com/1066004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@547 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-22 00:53:46 +00:00
kjellander@google.com
8c18932287
Updating trybot root location in codereview.settings.
...
This is needed due to changes in the way the trybots checkout the source code before applying the uploaded patch for a try job.
BUG=none
TEST=local master and submitted tryjob + verifying update step succeeded. Tryjob submitted to live try master with patch applying properly for all bots.
Review URL: https://webrtc-codereview.appspot.com/1059004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@546 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-21 08:56:52 +00:00
fbarchard@google.com
5b0f7e1132
Neon port of ARGBAdd and ARGBMultiply
...
BUG=175
TEST=out\release\libyuv_unittest --gtest_filter=*Add*
Review URL: https://webrtc-codereview.appspot.com/1051005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@545 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-21 08:42:59 +00:00
fbarchard@google.com
29aa2145b7
quick lint fix for any
...
BUG=none
TEST=lint row_any.cc passes
Review URL: https://webrtc-codereview.appspot.com/1046006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@544 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-18 23:43:01 +00:00
fbarchard@google.com
83e1b17cc0
Add 2 ARGB Images together and store to destination
...
BUG=175
TEST=Add unittest
Review URL: https://webrtc-codereview.appspot.com/1049004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@543 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-18 23:03:56 +00:00
fbarchard@google.com
8fa7634994
Blend style multiple
...
BUG=175
TEST=Multiply unittest
Review URL: https://webrtc-codereview.appspot.com/1048004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@542 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-18 02:25:04 +00:00
fbarchard@google.com
8ec6033478
ARGBMultiply 2 images together
...
BUG=175
TEST=Out\release\libyuv_unittest --gtest_filter=*Mult*
Review URL: https://webrtc-codereview.appspot.com/1043004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@541 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-17 20:18:08 +00:00
fbarchard@google.com
a9c9242a55
Roll chromium deps and share 444 and 422 code for ARGBToI422_Any
...
BUG=148
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1033007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@540 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-16 09:48:29 +00:00
fbarchard@google.com
41e972ec31
ARGBToI444_SSSE3 UV function ported. Thanks to changjun.yang@intel.com
...
BUG=148
TESTED=out\release\libyuv_unittest --gtest_filter=*ARGBToI* | grep ms
Review URL: https://webrtc-codereview.appspot.com/1019011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@539 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-16 05:54:56 +00:00
fbarchard@google.com
ba45bbff34
CopyPlane check for contiguous memory and treat image as width * height, 1 image.
...
BUG=176
TEST=I420ToI420
Review URL: https://webrtc-codereview.appspot.com/1021014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@538 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-16 02:03:22 +00:00
fbarchard@google.com
b3c1a3fe79
ARGB Multiply
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1028010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@537 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-12 00:00:59 +00:00
fbarchard@google.com
9780dd4e81
Remove V210. Quality of this code is insufficient for libyuv. Unable to make V210 pass valgrind. Would require effort to add missing support and optimization.
...
BUG=91
TEST=valgrind
Review URL: https://webrtc-codereview.appspot.com/1021009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@536 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-11 23:42:00 +00:00
fbarchard@google.com
734787584d
I420ToV210 unittest enable
...
BUG=91
TEST=valgrind on unittests
Review URL: https://webrtc-codereview.appspot.com/1029009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@535 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-11 19:41:40 +00:00
fbarchard@google.com
a05815b9e4
Update version number to 534
...
BUG=none
TEST=unittests check version
Review URL: https://webrtc-codereview.appspot.com/1031004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@534 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-10 21:07:14 +00:00
kjellander@google.com
72f428db14
Memory tool wrapper script for libyuv
...
This is a renamed copy of the r3354 wrapper script existing for WebRTC located
in trunk/tools/valgrind-webrtc/ of WebRTC (with suppressions cleaned).
Using the libyuv_tests.[sh,bat] script, it is possible to run the libyuv
unit tests under memory tools like Valgrind memcheck, Thread Sanitizer and
Address Sanitizer.
Adding this directory to libyuv makes it possible to handle suppressions
entirely in libyuv, instead of depending on manually setting up the WebRTC
wrapper script on the buildbots.
Having this directory in libyuv is identical to the current buildbot setup in
terms of execution, but will make the buildbot code cleaner.
It also makes it convenient for libyuv developers to run memory tests.
Examples:
memcheck: tools/valgrind-libyuv/libyuv_tests.sh -t
out/Debug/libyuv_unittest
tsan: tools/valgrind-libyuv/libyuv_tests.sh --tool=tsan -t
out/Debug/libyuv_unittest
asan: tools/valgrind-libyuv/libyuv_tests.sh --tool=asan -t
out/Debug/libyuv_unittest
BUG=none
TEST=Ran the command lines listed above.
Review URL: https://webrtc-codereview.appspot.com/1023009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@533 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-10 12:23:23 +00:00
kjellander@google.com
7c9186f568
Removing accidental change in r529
...
git-svn-id: http://libyuv.googlecode.com/svn/trunk@530 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-10 10:25:34 +00:00
kjellander@google.com
da4080de69
Adding tools directory to source control
...
git-svn-id: http://libyuv.googlecode.com/svn/trunk@529 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-10 10:23:39 +00:00
fbarchard@google.com
ceee491c24
move READWORD and WRITEWORD into row_common along with row functions that use them
...
BUG=171
TEST=still builds
Review URL: https://webrtc-codereview.appspot.com/1021008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@528 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-09 05:30:08 +00:00
fbarchard@google.com
aa64b6b14c
movbe instruction detect
...
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
2013-01-08 18:43:49 +00:00
fbarchard@google.com
bae8b852d8
Roll DEPS for Chromium Ninja build breakage
...
BUG=173
TEST=ninja -C out\Release
Review URL: https://webrtc-codereview.appspot.com/1027004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@526 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 19:38:16 +00:00
fbarchard@google.com
54ce26fca4
Move WRITEWORD to row.h
...
BUG=171
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1025004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@525 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 09:44:45 +00:00
fbarchard@google.com
3ae19cb834
Make 565 use big endian consistent read/write word for s390.
...
BUG=171
TESTED=unittests on x86 not impacted.
Review URL: https://webrtc-codereview.appspot.com/1022006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@524 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 06:50:53 +00:00
fbarchard@google.com
be560615bb
Name fix in Android make file for scaler
...
BUG=172
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1020006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@523 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 06:50:22 +00:00
fbarchard@google.com
d0780dde6e
More fourcc testing
...
BUG=170
TEST=libyuvTest.TestFourCC and TestCanonicalFourCC
Review URL: https://webrtc-codereview.appspot.com/991006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@522 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-18 18:33:16 +00:00
fbarchard@google.com
442b0ad0ac
Call CanonicalCode in convert functions and add unittest for function.
...
BUG=none
TEST=video_common_test added
Review URL: https://webrtc-codereview.appspot.com/1001007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@521 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-18 17:23:15 +00:00
fbarchard@google.com
f491a094c7
mips noexec stack for security safety
...
BUG=168
TESTED=untested
Review URL: https://webrtc-codereview.appspot.com/994006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@520 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-14 00:08:35 +00:00
fbarchard@google.com
308eb0c344
Do not allows the other elfs to run on the chimney stack
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/990004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@519 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-13 18:44:41 +00:00
fbarchard@google.com
591b7f232b
Mark stack as not executable. Although its tempting to generate code and execute it as an optimization, security says this is a bad thing.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/989005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@518 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-12 23:23:15 +00:00
fbarchard@google.com
fa5d5fb491
Use zip to replicate argb values out to 16 bits
...
BUG=186
TEST=Shade
Review URL: https://webrtc-codereview.appspot.com/986004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@517 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-12 22:56:43 +00:00
fbarchard@google.com
578c88a9f7
ARGBShade Neon bug fix on alpha.
...
BUG=168
TESTED=./libyuv_unittest --gtest_filter=*Shade
Review URL: https://webrtc-codereview.appspot.com/985004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@516 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-12 19:27:29 +00:00
fbarchard@google.com
1b40d8caa2
disable shade_neon
...
BUG=168
TEST=TestShade
Review URL: https://webrtc-codereview.appspot.com/971021
git-svn-id: http://libyuv.googlecode.com/svn/trunk@515 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-12 01:49:52 +00:00
fbarchard@google.com
834b748d10
Remove ifdefs around each function for Neon and Mips since entire file requires SIMD.
...
BUG=none
TEST=lint and try bots
Review URL: https://webrtc-codereview.appspot.com/981004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@514 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-11 17:59:26 +00:00
fbarchard@google.com
b91b53481c
ifdef to wrap mips
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/974012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@513 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-11 17:27:33 +00:00
fbarchard@google.com
62154e53a2
Color Matrix for Neon
...
BUG=176
TESTED=*Matrix*
Review URL: https://webrtc-codereview.appspot.com/966033
git-svn-id: http://libyuv.googlecode.com/svn/trunk@512 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-04 01:05:28 +00:00
fbarchard@google.com
c247625d7f
Sepia NEON
...
BUG=167
TEST=*Sepia
Review URL: https://webrtc-codereview.appspot.com/968014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@511 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-04 00:08:35 +00:00
fbarchard@google.com
82375d6de2
Neon version of Gray
...
BUG=176
TEST=./libyuv_unittest --gtest_filter=**Gray*
Review URL: https://webrtc-codereview.appspot.com/929039
git-svn-id: http://libyuv.googlecode.com/svn/trunk@510 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-03 23:33:00 +00:00
fbarchard@google.com
b94b139e86
Shade ported to Neon
...
BUG=167
TESTED=planar test Shade*
Review URL: https://webrtc-codereview.appspot.com/969014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@509 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-03 20:36:40 +00:00
fbarchard@google.com
ef60ab0db4
Quantize for Neon
...
BUG=167
TEST=./libyuv_unittest --gtest_filter=*Quantize
Review URL: https://webrtc-codereview.appspot.com/972010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@508 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-03 08:15:31 +00:00
fbarchard@google.com
f3a411834e
lint fixes
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/964024
git-svn-id: http://libyuv.googlecode.com/svn/trunk@507 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-28 20:49:18 +00:00
fbarchard@google.com
1d160cb99f
Attenuate AGRB pixels NEON optimized
...
BUG=164
TEST=./libyuv_unittest --gtest_filter=*Atten*
Review URL: https://webrtc-codereview.appspot.com/937031
git-svn-id: http://libyuv.googlecode.com/svn/trunk@506 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-28 20:02:55 +00:00
fbarchard@google.com
326a521aba
unittest to scale to 1280x720 from whatever current LIBYUV_WIDTH and LIBYUV_HEIGHT are
...
BUG=none
TEST=libyuv_unittest --gtest_filter=*ScaleTo1280*
Review URL: https://webrtc-codereview.appspot.com/969011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@505 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-28 02:23:34 +00:00
fbarchard@google.com
d1cb453c6c
Unittest each scaling filter separately for benchmarking purposes.
...
BUG=155
TEST=*Scale*
Review URL: https://webrtc-codereview.appspot.com/935022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@504 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-26 23:09:45 +00:00
fbarchard@google.com
2580ccf64d
Scale benchmark just the OPT and run C version once.
...
BUG=none
TEST=scale_test
Review URL: https://webrtc-codereview.appspot.com/929028
git-svn-id: http://libyuv.googlecode.com/svn/trunk@503 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-26 22:39:30 +00:00
fbarchard@google.com
95d845bd5b
benchmark only the opt version of rotate.
...
BUG=155
TEST=sudo LIBYUV_REPEAT=1000 nice --5 ./libyuv_unittest --gtest_filter=*Rotate*
Review URL: https://webrtc-codereview.appspot.com/939029
git-svn-id: http://libyuv.googlecode.com/svn/trunk@502 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-26 19:10:35 +00:00
fbarchard@google.com
d6b94fde24
ARGBBlend_Neon take 2 - use 8 bit math to do q reg operations.
...
BUG=161
TEST=planar test
Review URL: https://webrtc-codereview.appspot.com/971004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@501 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-21 16:49:50 +00:00
fbarchard@google.com
579113950c
check for interpolation of 0 and do a memcpy to avoid touching the row + 1 which may be one past the end of the buffer.
...
BUG=153
TEST=valgrind
Review URL: https://webrtc-codereview.appspot.com/930026
git-svn-id: http://libyuv.googlecode.com/svn/trunk@500 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 22:22:33 +00:00