libyuv/unit_test
Frank Barchard ae55e41851 use rounding in scaledown by 2
When scaling down by 2 the formula should round consistently.
(a+b+c+d+2)/4
The C version did but the SSE2 version was doing 2 averages.
avg(avg(a,b),avg(c,d))
This change uses a sum, then rounds.

R=dhrosa@google.com, harryjin@google.com
BUG=libyuv:447,libyuv:527

Review URL: https://codereview.chromium.org/1513183004 .
2015-12-14 17:25:36 -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 remove unused var in a test 2015-12-10 18:39:36 -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 use rounding in scaledown by 2 2015-12-14 17:25:36 -08:00
rotate_argb_test.cc add command line cpu info to allow android neon test 2015-11-03 17:01:48 -08:00
rotate_test.cc add command line cpu info to allow android neon test 2015-11-03 17:01:48 -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 add command line cpu info to allow android neon test 2015-11-03 17:01:48 -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