Chromium Code Reviews| Index: include/libyuv/row.h |
| diff --git a/include/libyuv/row.h b/include/libyuv/row.h |
| index 013a7e53e326ecabb13b365d1dca8430b8952976..b093a2edb4a26b0dabda57764cc040e814e36af0 100644 |
| --- a/include/libyuv/row.h |
| +++ b/include/libyuv/row.h |
| @@ -362,8 +362,8 @@ extern "C" { |
| // The following are available on Mips platforms: |
| #if !defined(LIBYUV_DISABLE_MIPS) && 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_COPYROW_MIPS |
|
fbarchard1
2016/09/17 01:01:30
HAS_COPYROW_MIPS is mips but not dspr2 code. put
manojkumar.bhosale
2016/09/19 08:07:21
Done.
|
| #define HAS_I422TOARGBROW_DSPR2 |
| #define HAS_INTERPOLATEROW_DSPR2 |
| #define HAS_MIRRORROW_DSPR2 |
| @@ -372,6 +372,10 @@ extern "C" { |
| #endif |
| #endif |
| +#if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa) |
| +#define HAS_MIRRORROW_MSA |
| +#endif |
| + |
| #if defined(_MSC_VER) && !defined(__CLR_VER) && !defined(__clang__) |
| #if defined(VISUALC_HAS_AVX2) |
| #define SIMD_ALIGNED(var) __declspec(align(32)) var |
| @@ -809,11 +813,13 @@ void MirrorRow_AVX2(const uint8* src, uint8* dst, int width); |
| void MirrorRow_SSSE3(const uint8* src, uint8* dst, int width); |
| void MirrorRow_NEON(const uint8* src, uint8* dst, int width); |
| void MirrorRow_DSPR2(const uint8* src, uint8* dst, int width); |
| +void MirrorRow_MSA(const uint8* src, uint8* dst, int width); |
| void MirrorRow_C(const uint8* src, uint8* dst, int width); |
| void MirrorRow_Any_AVX2(const uint8* src, uint8* dst, int width); |
| void MirrorRow_Any_SSSE3(const uint8* src, uint8* dst, int width); |
| void MirrorRow_Any_SSE2(const uint8* src, uint8* dst, int width); |
| void MirrorRow_Any_NEON(const uint8* src, uint8* dst, int width); |
| +void MirrorRow_Any_MSA(const uint8* src, uint8* dst, int width); |
| void MirrorUVRow_SSSE3(const uint8* src_uv, uint8* dst_u, uint8* dst_v, |
| int width); |