MIPS: dspr2: Optimization of some simple point-sampling functions

Change-Id: I6a4ab29bd0cc5a2951a8882cf9997032dc38bd79
This commit is contained in:
Djordje Pesut
2014-08-12 11:47:36 +02:00
parent 98c54107df
commit b61c9ceca8
8 changed files with 153 additions and 4 deletions

View File

@ -64,6 +64,9 @@ extern "C" {
#define WEBP_USE_MIPS32
#if (__mips_isa_rev >= 2)
#define WEBP_USE_MIPS32_R2
#if defined(__mips_dspr2) || (__mips_dsp_rev >= 2)
#define WEBP_USE_MIPS_DSP_R2
#endif
#endif
#endif
@ -73,7 +76,8 @@ typedef enum {
kAVX,
kAVX2,
kNEON,
kMIPS32
kMIPS32,
kMIPSdspR2
} CPUFeature;
// returns true if the CPU supports the feature.
typedef int (*VP8CPUInfo)(CPUFeature feature);