diff options
author | Frank Barchard <fbarchard@google.com> | 2022-02-23 00:46:55 -0800 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-02-23 19:16:53 +0000 |
commit | e77531f6f149340428d8a1076d0a1473bdec8c09 (patch) | |
tree | 2745e956c547d6fc20b30c17651740f51f2ff366 /unit_test/planar_test.cc | |
parent | 3b8c86d23a2dfca026c42fa6d93ea89c6c5beda4 (diff) | |
download | libyuv-e77531f6f149340428d8a1076d0a1473bdec8c09.tar.gz |
Fix RotatePlane by 90 on Neon when source width is not a multiple of 8
Bug: b/220888716, b/218875554, b/220205245
Change-Id: I17e118ac9b9a7013386a5f0ad27a2dd249474ae5
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3483576
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'unit_test/planar_test.cc')
-rw-r--r-- | unit_test/planar_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unit_test/planar_test.cc b/unit_test/planar_test.cc index 11825987..1e61e5c7 100644 --- a/unit_test/planar_test.cc +++ b/unit_test/planar_test.cc @@ -1503,15 +1503,15 @@ TEST_F(LibYUVPlanarTest, TestDetilePlane) { // Disable all optimizations. MaskCpuFlags(disable_cpu_flags_); for (j = 0; j < benchmark_iterations_; j++) { - DetilePlane(orig_y, orig_width, dst_c, benchmark_width_, - benchmark_width_, benchmark_height_, 16); + DetilePlane(orig_y, orig_width, dst_c, benchmark_width_, benchmark_width_, + benchmark_height_, 16); } // Enable optimizations. MaskCpuFlags(benchmark_cpu_info_); for (j = 0; j < benchmark_iterations_; j++) { - DetilePlane(orig_y, orig_width, dst_opt, benchmark_width_, - benchmark_width_, benchmark_height_, 16); + DetilePlane(orig_y, orig_width, dst_opt, benchmark_width_, benchmark_width_, + benchmark_height_, 16); } for (i = 0; i < y_plane_size; ++i) { |