Index: source/convert_argb.cc |
diff --git a/source/convert_argb.cc b/source/convert_argb.cc |
index 760b08c1876c6d8ef7951ba844e982718dcf3695..db3b5d32bf699ec31c4f2f97c9f96da51772111b 100644 |
--- a/source/convert_argb.cc |
+++ b/source/convert_argb.cc |
@@ -646,6 +646,14 @@ static int I420AlphaToARGBMatrix(const uint8* src_y, |
} |
} |
#endif |
+#if defined(HAS_ARGBATTENUATEROW_MSA) |
+ if (TestCpuFlag(kCpuHasMSA)) { |
+ ARGBAttenuateRow = ARGBAttenuateRow_Any_MSA; |
+ if (IS_ALIGNED(width, 8)) { |
+ ARGBAttenuateRow = ARGBAttenuateRow_MSA; |
+ } |
+ } |
+#endif |
for (y = 0; y < height; ++y) { |
I422AlphaToARGBRow(src_y, src_u, src_v, src_a, dst_argb, yuvconstants, |