libyuv/unit_test
George Steed 3a0ad00ed3 Use separate intermediate RGBA buffers in planar function tests
The existing tests reuse the intermediate buffers between the reference
and optimized implementations. In particular the existing tests appear
to pass even if the optimized implementation is completely empty, so
long as it does not modify the desintation buffers since these are
already filled with correct values from the reference code.

To avoid this, allocate separate buffers for optimized and reference
implementations to store intermediate data between function calls.

Additionally remove unused buffers from HalfMergeUVPlane_Opt tests.

Change-Id: I7e9ea21fc193e7be21cc24e2be0d7a122e068f6e
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6074941
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
2024-12-05 11:47:17 +00:00
..
testdata [AArch64] getauxval(AT_HWCAP{,2}) feature detection, attempt #2 2024-04-25 21:26:31 +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_argb_test.cc Remove unneeded #ifdef HAVE_JPEG code 2024-05-09 23:02:18 +00:00
convert_test.cc Fix -Wmissing-prototypes warnings 2024-08-12 19:08:24 +00:00
cpu_test.cc CpuId test FSMR - Fast Short Rep Movsb 2024-11-18 17:56:45 +00:00
cpu_thread_test.cc Fix -Wmissing-prototypes warnings 2024-08-12 19:08:24 +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 Use separate intermediate RGBA buffers in planar function tests 2024-12-05 11:47:17 +00:00
rotate_argb_test.cc Fix -Wmissing-prototypes warnings 2024-08-12 19:08:24 +00:00
rotate_test.cc Transpose 4x4 for SSE2 and AVX2 2023-03-03 17:46:23 +00:00
scale_argb_test.cc Fix for ARGB scaling down by 4x horizontally but not vertically 2024-09-24 18:00:47 +00:00
scale_plane_test.cc Fix -Wmissing-prototypes warnings 2024-08-12 19:08:24 +00:00
scale_rgb_test.cc Enable 256x144 scale tests for libyuv 2022-07-13 11:08:29 +00:00
scale_test.cc Fix the test case 2024-10-09 08:26:10 +00:00
scale_uv_test.cc cpuid for arm/mips/riscv initialize buffer 2023-04-27 22:46:27 +00:00
unit_test.cc Fix -Wmissing-prototypes warnings 2024-08-12 19:08:24 +00:00
unit_test.h Validate memory right after malloc 2024-08-21 00:07:37 +00:00
video_common_test.cc Add support for AR64 format 2021-03-13 20:55:21 +00:00