fbarchard@google.com
5f8858665b
Box filter start from 0,0. Fixes crash that overreads horizontally.
...
BUG=185
TEST=scale_test
Review URL: https://webrtc-codereview.appspot.com/1094009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@571 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-12 19:05:40 +00:00
fbarchard@google.com
a00da62e52
Add I422Copy and I444Copy
...
BUG=none
TEST=I422ToI422 and I444ToI444
Review URL: https://webrtc-codereview.appspot.com/1103009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@570 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-11 22:00:24 +00:00
fbarchard@google.com
b444bae883
ARGBToI400 and ARGBToI411 using AVX2. YUY2ToI420 and UVYVToI420 use AVX2. CopyPlane use rep movsb for AVX2. CopyPlane2 use rep movsb for AVX2 and CopyPlane if strides match AVX2, which will do a single rep movsb for entire image if stride == width. MergeUV for I420ToNV12.
...
BUG=181
TESTED=unittests pass
Review URL: https://webrtc-codereview.appspot.com/1103007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@569 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-11 20:30:41 +00:00
fbarchard@google.com
c9562334d7
SplitUV 3 operand AVX2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1105005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@568 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-10 03:42:51 +00:00
fbarchard@google.com
208280598e
Remove vmovdqa from UV code
...
BUG=181
TESTED=c:\intelsde\sde -hsw -- out\release\libyuv_unittest.exe --gtest_filter=*ARGBToI420*
Review URL: https://webrtc-codereview.appspot.com/1091010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@567 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-08 23:27:22 +00:00
fbarchard@google.com
551d2b297e
AVX2 version of ARGBToI420
...
BUG=181
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/1090005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@566 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-08 20:57:52 +00:00
fbarchard@google.com
8e26eada77
Fix for mutated registers on AVX2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1090007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@565 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-08 02:29:21 +00:00
fbarchard@google.com
7d387f155a
Roll chromium dep to r181357
...
BUG=none
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1090006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@564 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-07 21:02:40 +00:00
fbarchard@google.com
61466be698
Enable bilinear instead of box filter if size of destination is greater than source / 2.
...
BUG=185
TEST=unittest still passes
Review URL: https://webrtc-codereview.appspot.com/1103005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@563 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 19:01:47 +00:00
fbarchard@google.com
f5f6fd2aa7
fix spaces on asm statements
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1101006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@562 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 18:23:09 +00:00
fbarchard@google.com
28e2a9daa0
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
...
BUG=184
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1091007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@561 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 05:49:24 +00:00
fbarchard@google.com
512bec91ed
Disable Neon multiply 2 images
...
BUG=177
TEST=android try bots
Review URL: https://webrtc-codereview.appspot.com/1101005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@560 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 05:46:15 +00:00
fbarchard@google.com
af137b61fa
Interpolate for SSE2 with specialization for 1/4, 1/2, 3/4 and 1
...
BUG=177
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1102004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@559 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-05 22:42:56 +00:00
fbarchard@google.com
50d7bf4a8b
if types are already defined, dont define them again.
...
BUG=180
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1098004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@558 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-05 02:17:18 +00:00
fbarchard@google.com
762c050b65
ARGBToI444_SSSE3 port to gcc
...
BUG=148
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1091004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@557 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-04 18:47:21 +00:00
fbarchard@google.com
92352b7081
mips optimized copy for all functions using CopyRows.
...
BUG=176
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1074010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@556 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 19:43:29 +00:00
fbarchard@google.com
d7c7bfac57
Fix lint error in mjpeg and remove unnecessary includes.
...
BUG=none
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1078005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@555 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 05:08:14 +00:00
fbarchard@google.com
c861bfbb0e
memcpy removed from any
...
BUG=176
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1063009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@554 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 00:13:59 +00:00
fbarchard@google.com
cde587092f
Replace two spaces with one after .
...
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
2013-01-28 00:02:35 +00:00
fbarchard@google.com
9e4e12352a
Avoid memcpy.
...
BUG=176
TEST=NONE
Review URL: https://webrtc-codereview.appspot.com/1081004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@552 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-26 07:29:08 +00:00
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