libyuv/unit_test
Frank Barchard 20bf569a04 Fix ConvertToI420() for odd crop_y
The original src_u calculation of FOURCC_I420 shifted half width if
crop_y is odd.
This CL fixs the problem and also add a test case for it.

Bug: b:115278653
Test: pass libyuv_unittest
Change-Id: Ia9732d22e64e13de26df47726ba44ad1c5a06484
Reviewed-on: https://chromium-review.googlesource.com/c/1258743
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
2018-10-03 19:14:01 +00:00
..
testdata use unix line endings 2018-06-20 23:19:59 +00:00
basictypes_test.cc Switch to C99 types 2018-01-23 19:16:05 +00:00
color_test.cc Lint cleanup after C99 change CL 2018-01-24 19:16:03 +00:00
compare_test.cc tidy applied with all cppcoreguidelines and google 2018-02-07 02:28:25 +00:00
convert_test.cc Fix ConvertToI420() for odd crop_y 2018-10-03 19:14:01 +00:00
cpu_test.cc libyuv:loongson optimize compare/row/scale/rotate files with mmi. 2018-07-20 22:53:04 +00:00
cpu_thread_test.cc MaskCpuFlags return cpuinfo so InitCpuFlags can call it 2017-05-24 22:27:03 +00:00
math_test.cc Switch to C99 types 2018-01-23 19:16:05 +00:00
planar_test.cc ByteToFloatRow_NEON to convert and scale bytes to floats 2018-02-24 00:34:07 +00:00
rotate_argb_test.cc clang-format libyuv 2016-11-07 17:37:23 -08:00
rotate_test.cc clang-format libyuv 2016-11-07 17:37:23 -08:00
scale_argb_test.cc Disable old int types by default. 2018-07-09 21:16:47 +00:00
scale_test.cc Restore the file mode for source files 2018-08-06 18:53:32 +00:00
unit_test.cc Documentation update for GYP and envionment variables 2018-09-04 19:45:41 +00:00
unit_test.h clang-tidy and clang-format applied reland 2018-02-21 23:30:38 +00:00
video_common_test.cc Add H420 and H422 to ConvertToARGB() 2018-06-26 22:52:42 +00:00