Index: include/libyuv/row.h |
diff --git a/include/libyuv/row.h b/include/libyuv/row.h |
index 6f1ff861587a1f1d42d1e909fc6c5716e436a00f..382f8ffb948b6ca431aa47f78b0c33973ca6e8b0 100644 |
--- a/include/libyuv/row.h |
+++ b/include/libyuv/row.h |
@@ -355,10 +355,10 @@ extern "C" { |
#endif |
// The following are available on Mips platforms: |
-#if !defined(LIBYUV_DISABLE_dspr2) && defined(__dspr2__) && \ |
- (_dspr2_SIM == _dspr2_SIM_ABI32) && (__dspr2_isa_rev < 6) |
-#define HAS_COPYROW_dspr2 |
-#if defined(__dspr2_dsp) && (__dspr2_dsp_rev >= 2) |
+#if !defined(LIBYUV_DISABLE_DSPR2) && defined(__mips__) && \ |
+ (_MIPS_SIM == _MIPS_SIM_ABI32) && (__mips_isa_rev < 6) |
+#define HAS_COPYROW_MIPS |
+#if defined(__mips_dsp) && (__mips_dsp_rev >= 2) |
#define HAS_I422TOARGBROW_DSPR2 |
#define HAS_INTERPOLATEROW_DSPR2 |
#define HAS_MIRRORROW_DSPR2 |
@@ -384,7 +384,7 @@ extern "C" { |
#endif |
#endif |
-#if !defined(LIBYUV_DISABLE_MSA) && defined(__dspr2_msa) |
+#if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) |
#define HAS_ARGBMIRRORROW_MSA |
#define HAS_I422TOUYVYROW_MSA |
#define HAS_I422TOYUY2ROW_MSA |
@@ -1410,7 +1410,7 @@ void CopyRow_SSE2(const uint8* src, uint8* dst, int count); |
void CopyRow_AVX(const uint8* src, uint8* dst, int count); |
void CopyRow_ERMS(const uint8* src, uint8* dst, int count); |
void CopyRow_NEON(const uint8* src, uint8* dst, int count); |
-void CopyRow_dspr2(const uint8* src, uint8* dst, int count); |
+void CopyRow_MIPS(const uint8* src, uint8* dst, int count); |
void CopyRow_C(const uint8* src, uint8* dst, int count); |
void CopyRow_Any_SSE2(const uint8* src, uint8* dst, int count); |
void CopyRow_Any_AVX(const uint8* src, uint8* dst, int count); |