| Index: source/scale_argb.cc
|
| diff --git a/source/scale_argb.cc b/source/scale_argb.cc
|
| index 17f51ae9bf810f107dd450674a2c918318b00ac2..b2a139677bf8cda82ab8b145900b8fb66ac8e404 100644
|
| --- a/source/scale_argb.cc
|
| +++ b/source/scale_argb.cc
|
| @@ -474,6 +474,14 @@ static void ScaleYUVToARGBBilinearUp(int src_width, int src_height,
|
| I422ToARGBRow = I422ToARGBRow_DSPR2;
|
| }
|
| #endif
|
| +#if defined(HAS_I422TOARGBROW_MSA)
|
| + if (TestCpuFlag(kCpuHasMSA)) {
|
| + I422ToARGBRow = I422ToARGBRow_Any_MSA;
|
| + if (IS_ALIGNED(src_width, 8)) {
|
| + I422ToARGBRow = I422ToARGBRow_MSA;
|
| + }
|
| + }
|
| +#endif
|
|
|
| void (*InterpolateRow)(uint8* dst_argb, const uint8* src_argb,
|
| ptrdiff_t src_stride, int dst_width, int source_y_fraction) =
|
|
|