libyuv/unit_test
Frank Barchard 3abd6f36b6 Casting for scale functions
- MT2T support for source strides added, but only works for positive values.
- Reduced casting in row_common - one cast per assignment.
- scaling functions use intptr_t for intermediate calculations, then cast strides to ptrdiff_t

Bug: libyuv:948, b/257266635, b/262468594
Change-Id: I0409a0ce916b777da2a01c0ab0b56dccefed3b33
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/4102203
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: Justin Green <greenjustin@google.com>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Ernest Hua <ernesthua@google.com>
2022-12-15 22:34:22 +00:00
..
testdata Add unittest TestLinuxMipsMsaMmi. 2020-04-16 19:51:27 +00:00
basictypes_test.cc Switch to C99 types 2018-01-23 19:16:05 +00:00
color_test.cc YUY2ToNV12 using YUY2ToY and YUY2ToNVUV 2022-09-30 22:41:21 +00:00
compare_test.cc fix compare row test for avx2 which does 64 bytes per loop 2021-04-06 22:37:25 +00:00
convert_test.cc Casting for scale functions 2022-12-15 22:34:22 +00:00
cpu_test.cc DetilePlane and unittest for NEON 2022-01-31 20:05:55 +00:00
cpu_thread_test.cc clamp C functions use compare 2020-07-16 22:03:34 +00:00
math_test.cc Disable tests via macro that refer to row.h 2019-08-20 18:44:36 +00:00
planar_test.cc Add Detile_16 planar function for 10 bit MT2T format 2022-11-17 02:47:57 +00:00
rotate_argb_test.cc use width + 1 for odd width tests 2021-04-09 20:17:55 +00:00
rotate_test.cc Add tentative I422Rotate. 2022-04-06 23:49:35 +00:00
scale_argb_test.cc Enable 256x144 scale tests for libyuv 2022-07-13 11:08:29 +00:00
scale_rgb_test.cc Enable 256x144 scale tests for libyuv 2022-07-13 11:08:29 +00:00
scale_test.cc Enable 256x144 scale tests for libyuv 2022-07-13 11:08:29 +00:00
scale_uv_test.cc Enable 256x144 scale tests for libyuv 2022-07-13 11:08:29 +00:00
unit_test.cc Remove MMI support 2022-01-26 08:41:33 +00:00
unit_test.h Remove include resource.h for Fuchsia build 2022-09-19 19:30:35 +00:00
video_common_test.cc Add support for AR64 format 2021-03-13 20:55:21 +00:00