aboutsummaryrefslogtreecommitdiff
path: root/source/rotate.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2020-05-04 12:32:28 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-04 22:32:14 +0000
commit7a61759f78e37113221cfe7c40c522aa505280af (patch)
tree6890e589788e8ec6c743544e9a3c3ccc5377fc8b /source/rotate.cc
parentd9681c53b3af633ab3c64655fcb9625e364b8f9c (diff)
downloadlibyuv-7a61759f78e37113221cfe7c40c522aa505280af.tar.gz
NV12Mirror and MirrorUVPlane functions added
HalfMergeUV AVX2 version Skylake Xeon performance for 1280x720 NV12Mirror_Any (109 ms) NV12Mirror_Unaligned (113 ms) NV12Mirror_Invert (107 ms) NV12Mirror_Opt (108 ms) NV12Mirror_NullY (19 ms) Slightly faster than comparable I420Mirror I420Mirror_Any (113 ms) I420Mirror_Unaligned (110 ms) I420Mirror_Invert (109 ms) I420Mirror_Opt (110 ms) BUG=libyuv:840, libyuv:858 Change-Id: I686b1b778383bfa10ecd1655e986bdc99e76d132 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2176066 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: richard winterton <rrwinterton@gmail.com>
Diffstat (limited to 'source/rotate.cc')
-rw-r--r--source/rotate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rotate.cc b/source/rotate.cc
index 0954882d..32904e47 100644
--- a/source/rotate.cc
+++ b/source/rotate.cc
@@ -347,7 +347,7 @@ void RotateUV180(const uint8_t* src,
void (*MirrorSplitUVRow)(const uint8_t* src, uint8_t* dst_u, uint8_t* dst_v,
int width) = MirrorSplitUVRow_C;
#if defined(HAS_MIRRORSPLITUVROW_NEON)
- if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 8)) {
+ if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(width, 16)) {
MirrorSplitUVRow = MirrorSplitUVRow_NEON;
}
#endif