libyuv/unit_test
Frank Barchard 58cb534962 Fix memory overwrite in YUY2ToNV12 odd wdiths
When width was odd Y channel wrote an extra pixel.
This change splits the Y from UV into a temporary
buffer and memcpy's to the destination.  Performance
is slower.

Was
YUY2ToNV12_Any (307 ms)
YUY2ToNV12_Unaligned (213 ms)
TestYUY2ToNV12 (181 ms)
YUY2ToNV12_Opt (177 ms)
YUY2ToNV12_Invert (177 ms)

Npw
YUY2ToNV12_Any (300 ms)
YUY2ToNV12_Unaligned (226 ms)
YUY2ToNV12_Invert (206 ms)
TestYUY2ToNV12 (184 ms)
YUY2ToNV12_Opt (181 ms)
TBR=harryjin@google.com
BUG=libyuv:545

Review URL: https://codereview.chromium.org/1593833002 .
2016-01-19 11:28:09 -08:00
..
testdata Detect asimd as same as Neon for Arm features. Used on Juno aarch64 linux. 2014-09-22 18:30:17 +00:00
basictypes_test.cc break up unittests into categories 2015-10-13 16:01:07 -07:00
color_test.cc add command line cpu info to allow android neon test 2015-11-03 17:01:48 -08:00
compare_test.cc add command line cpu info to allow android neon test 2015-11-03 17:01:48 -08:00
convert_test.cc Fix memory overwrite in YUY2ToNV12 odd wdiths 2016-01-19 11:28:09 -08:00
cpu_test.cc add command line cpu info to allow android neon test 2015-11-03 17:01:48 -08:00
math_test.cc break up unittests into categories 2015-10-13 16:01:07 -07:00
planar_test.cc Disable I420Blend_Any test that uses C 2016-01-11 18:23:04 -08:00
rotate_argb_test.cc Rename rotate tests to include _Opt and disable _Odd tests 2016-01-11 17:30:27 -08:00
rotate_test.cc Disable I420Blend_Any test that uses C 2016-01-11 18:23:04 -08:00
scale_argb_test.cc scale with conversion using 2 steps with unittest 2015-11-13 11:25:56 -08:00
scale_test.cc change scale down by 4 to use rounding. 2015-12-15 21:25:18 -08:00
unit_test.cc remove unused var in a test 2015-12-10 18:39:36 -08:00
unit_test.h unittest fix for cpu flags. 2015-11-03 19:06:19 -08:00
version_test.cc break up unittests into categories 2015-10-13 16:01:07 -07:00
video_common_test.cc break up unittests into categories 2015-10-13 16:01:07 -07:00