Index: source/scale_common.cc |
diff --git a/source/scale_common.cc b/source/scale_common.cc |
index 30ff18c50750b06e9e3488fd8c38a5218ee429db..d3992df2e6a9f5bd97fb34c72f65e50446f7ff1c 100644 |
--- a/source/scale_common.cc |
+++ b/source/scale_common.cc |
@@ -922,13 +922,13 @@ void ScalePlaneVertical(int src_height, |
} |
} |
#endif |
-#if defined(HAS_INTERPOLATEROW_MIPS_DSPR2) |
- if (TestCpuFlag(kCpuHasMIPS_DSPR2) && |
+#if defined(HAS_INTERPOLATEROW_DSPR2) |
+ if (TestCpuFlag(kCpuHasDSPR2) && |
IS_ALIGNED(src_argb, 4) && IS_ALIGNED(src_stride, 4) && |
IS_ALIGNED(dst_argb, 4) && IS_ALIGNED(dst_stride, 4)) { |
- InterpolateRow = InterpolateRow_Any_MIPS_DSPR2; |
+ InterpolateRow = InterpolateRow_Any_DSPR2; |
if (IS_ALIGNED(dst_width_bytes, 4)) { |
- InterpolateRow = InterpolateRow_MIPS_DSPR2; |
+ InterpolateRow = InterpolateRow_DSPR2; |
} |
} |
#endif |
@@ -996,13 +996,13 @@ void ScalePlaneVertical_16(int src_height, |
} |
} |
#endif |
-#if defined(HAS_INTERPOLATEROW_16_MIPS_DSPR2) |
- if (TestCpuFlag(kCpuHasMIPS_DSPR2) && |
+#if defined(HAS_INTERPOLATEROW_16_DSPR2) |
+ if (TestCpuFlag(kCpuHasDSPR2) && |
IS_ALIGNED(src_argb, 4) && IS_ALIGNED(src_stride, 4) && |
IS_ALIGNED(dst_argb, 4) && IS_ALIGNED(dst_stride, 4)) { |
- InterpolateRow = InterpolateRow_Any_16_MIPS_DSPR2; |
+ InterpolateRow = InterpolateRow_Any_16_DSPR2; |
if (IS_ALIGNED(dst_width_bytes, 4)) { |
- InterpolateRow = InterpolateRow_16_MIPS_DSPR2; |
+ InterpolateRow = InterpolateRow_16_DSPR2; |
} |
} |
#endif |