aboutsummaryrefslogtreecommitdiff
path: root/source/rotate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/rotate.cc')
-rw-r--r--source/rotate.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/rotate.cc b/source/rotate.cc
index 6797ff02..8d3978c7 100644
--- a/source/rotate.cc
+++ b/source/rotate.cc
@@ -214,6 +214,11 @@ void RotatePlane180(const uint8_t* src,
CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON;
}
#endif
+#if defined(HAS_COPYROW_RVV)
+ if (TestCpuFlag(kCpuHasRVV)) {
+ CopyRow = CopyRow_RVV;
+ }
+#endif
// Odd height will harmlessly mirror the middle row twice.
for (y = 0; y < half_height; ++y) {