libyuv/unit_test
Frank Barchard 715150b5aa Add UYVYToY function
This function reads 2 byte values and writes the 2nd byte to the destination.
It turns out this is useful for P010ToNV12 as well, so adding the planar function allows a high level to call this.
And adds UYVY support for something YUY2 already had.  Which is writing the 1st byte.

Bug: b/233233302, b/233634772
Change-Id: I10a9454cb4f5b2c4ac5532fa86feddf78284d8b8
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3659055
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: richard winterton <rrwinterton@gmail.com>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
2022-05-24 01:42:31 +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 I422Rotate update to remove name space for ios build warning 2022-04-07 21:06:44 +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 RAWToJ400 faster version for ARM 2022-03-18 07:22:36 +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 UYVYToY function 2022-05-24 01:42:31 +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 BIT_EXACT for unattenuate and attenuate. 2021-10-15 19:46:02 +00:00
scale_rgb_test.cc Reduce RGBScale benchmark to 4 tests when --copt=-DDISABLE_SLOW_TESTS is specified 2022-04-12 18:17:28 +00:00
scale_test.cc Remove MMI support 2022-01-26 08:41:33 +00:00
scale_uv_test.cc BIT_EXACT for unattenuate and attenuate. 2021-10-15 19:46:02 +00:00
unit_test.cc Remove MMI support 2022-01-26 08:41:33 +00:00
unit_test.h ubsan friendly unaligned tests 2021-10-18 18:03:28 +00:00
video_common_test.cc Add support for AR64 format 2021-03-13 20:55:21 +00:00