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
fbarchard@google.com
8f506332af
ARGBBlend_NEON
...
BUG=161
TEST=planar test
Review URL: https://webrtc-codereview.appspot.com/939022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@499 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 20:49:39 +00:00
fbarchard@google.com
dd3b137f5d
ARGBBlend unaligned unittest
...
BUG=160
TEST=libyuvTest.ARGBBlend_Unaligned
Review URL: https://webrtc-codereview.appspot.com/935019
git-svn-id: http://libyuv.googlecode.com/svn/trunk@498 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 19:30:04 +00:00
fbarchard@google.com
b5491759b4
Neon optimized argb filter row for bilinear scale and Effects Interpolate.
...
BUG=none
TEST=./libyuv_unittest --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/964017
git-svn-id: http://libyuv.googlecode.com/svn/trunk@497 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 09:44:46 +00:00
fbarchard@google.com
958a0b0c19
lint cleanup
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/931013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@496 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-17 00:00:23 +00:00
fbarchard@google.com
8ef9e0dc4d
ifdef around stdint on android for x86 builds
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/930022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@495 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 19:35:17 +00:00
fbarchard@google.com
8e50e619db
ARGBScale_NEON
...
BUG=none
TEST=./libyuv_unittest --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/964016
git-svn-id: http://libyuv.googlecode.com/svn/trunk@494 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 19:32:16 +00:00
fbarchard@google.com
4a86a836fc
On Neon remove aligned SplitUVRow
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/930020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@493 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 02:51:31 +00:00
fbarchard@google.com
cb5262dbc5
scale by even amounts using Neon
...
BUG=156
TEST=./libyuv_unittest --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/930019
git-svn-id: http://libyuv.googlecode.com/svn/trunk@492 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 01:41:35 +00:00
fbarchard@google.com
f08ac6bb09
Rename row functions so they are all SomethingRow_CPU
...
BUG=133
TEST=still builds
Review URL: https://webrtc-codereview.appspot.com/939020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@491 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-15 00:21:14 +00:00
fbarchard@google.com
d985cf1f62
clamp maxy for first row of bilinear
...
BUG=153
TEST=none
Review URL: https://webrtc-codereview.appspot.com/934014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@490 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-14 08:15:55 +00:00
fbarchard@google.com
752cb9e057
Some minor fixes for yuy2, r12 register, mask on any function.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/936023
git-svn-id: http://libyuv.googlecode.com/svn/trunk@489 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-14 05:46:56 +00:00
fbarchard@google.com
3e46444727
Mirror source to continuous destination with Neon
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/937020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@488 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-14 02:03:49 +00:00
fbarchard@google.com
fdec4be353
quick fix for sub in wrong place
...
BUG=none
TEST=none
git-svn-id: http://libyuv.googlecode.com/svn/trunk@487 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 21:17:56 +00:00
fbarchard@google.com
66d16f4100
argb scale 2x upsample with specialization for 25/75%
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/938014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@486 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 20:43:25 +00:00
fbarchard@google.com
f25ab6d8d9
scale to 2x with bilinear subpixel accuracy specialized to have 1/4 and 3/4 scale factors FilterRow.
...
BUG=none
TEST=libyuvTest.I420ToI444_Any
Review URL: https://webrtc-codereview.appspot.com/965021
git-svn-id: http://libyuv.googlecode.com/svn/trunk@485 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 19:09:37 +00:00
fbarchard@google.com
55d5b48e4d
bilinear scale use fast 2 pass unless image is beyond row buffer size.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/965020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@484 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 17:31:08 +00:00