mips msa webp configuration

Change-Id: I886164d6d3d560b1249603d47391fddf20b5a3d4
This commit is contained in:
Parag Salasakar
2016-05-27 15:39:27 +05:30
committed by James Zern
parent 0b8ae8520f
commit e11da081f9
4 changed files with 44 additions and 3 deletions

View File

@ -170,9 +170,10 @@ static int armCPUInfo(CPUFeature feature) {
#endif
}
VP8CPUInfo VP8GetCPUInfo = armCPUInfo;
#elif defined(WEBP_USE_MIPS32) || defined(WEBP_USE_MIPS_DSP_R2)
#elif defined(WEBP_USE_MIPS32) || defined(WEBP_USE_MIPS_DSP_R2) || \
defined(WEBP_USE_MSA)
static int mipsCPUInfo(CPUFeature feature) {
if ((feature == kMIPS32) || (feature == kMIPSdspR2)) {
if ((feature == kMIPS32) || (feature == kMIPSdspR2) || (feature == kMSA)) {
return 1;
} else {
return 0;