libyuv/unit_test
Sergio Garcia Murillo a77d615e10 Add tentative I422Rotate.
When doing 90 or 270 degrees rotation we need to do a rotate&scale of the UV planes, as there are no helper optimized functions to do this, we use the Y plane as temporal memory and perform each of the transforms independently:

First U plane is rotated, putting the result in the Y plane. After the rotation, the output has double the samples horizontally and half the samples vertically, so it is scaled into the final U plane. Same process is done with the V plane.

Last the Y plane that can be just rotated without scaling.

It would be great to have an optimized version for this, but maybe this is helpfull for triggering the discussions.

Bug: libyuv:926
Change-Id: I188af103c4d0e3f9522021b4bf2b63c9d5de8b93
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3568424
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
2022-04-06 23:49:35 +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 BIT_EXACT for unattenuate and attenuate. 2021-10-15 19:46:02 +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 Fix RotatePlane by 90 on Neon when source width is not a multiple of 8 2022-02-23 19:16:53 +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 RGBScale function using 3 steps: RGB24ToARGB, ARGBScale, ARGBToRGB24 2022-03-19 01:44:06 +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