Index: source/planar_functions.cc |
diff --git a/source/planar_functions.cc b/source/planar_functions.cc |
index a764f8da4721973fabc3b15df67aec786c9dc4e2..71f39b3bb88e6bf7a53d32e8526285f8d67e991a 100644 |
--- a/source/planar_functions.cc |
+++ b/source/planar_functions.cc |
@@ -402,6 +402,14 @@ void MirrorPlane(const uint8* src_y, int src_stride_y, |
MirrorRow = MirrorRow_DSPR2; |
} |
#endif |
+#if defined(HAS_MIRRORROW_MSA) |
+ if (TestCpuFlag(kCpuHasMSA)) { |
+ MirrorRow = MirrorRow_Any_MSA; |
+ if (IS_ALIGNED(width, 64)) { |
+ MirrorRow = MirrorRow_MSA; |
+ } |
+} |
+#endif |
// Mirror plane |
for (y = 0; y < height; ++y) { |