Index: source/convert_argb.cc |
diff --git a/source/convert_argb.cc b/source/convert_argb.cc |
index 947d0fc642fc6b7e41d03ff0e88ad989cfb57531..da48b185985237716f4d0d188ebdbf57944239d7 100644 |
--- a/source/convert_argb.cc |
+++ b/source/convert_argb.cc |
@@ -1075,6 +1075,14 @@ int ARGB4444ToARGB(const uint8* src_argb4444, int src_stride_argb4444, |
} |
} |
#endif |
+#if defined(HAS_ARGB4444TOARGBROW_MSA) |
+ if (TestCpuFlag(kCpuHasMSA)) { |
+ ARGB4444ToARGBRow = ARGB4444ToARGBRow_Any_MSA; |
+ if (IS_ALIGNED(width, 16)) { |
+ ARGB4444ToARGBRow = ARGB4444ToARGBRow_MSA; |
+ } |
+ } |
+#endif |
for (y = 0; y < height; ++y) { |
ARGB4444ToARGBRow(src_argb4444, dst_argb, width); |