Index: source/libvpx/vpx_dsp/x86/sad_avx2.c |
diff --git a/source/libvpx/vp9/encoder/x86/vp9_sad_intrin_avx2.c b/source/libvpx/vpx_dsp/x86/sad_avx2.c |
similarity index 96% |
rename from source/libvpx/vp9/encoder/x86/vp9_sad_intrin_avx2.c |
rename to source/libvpx/vpx_dsp/x86/sad_avx2.c |
index 113193070e143a3d4c06d31f0b20cb41629f795c..78536a472189ec2a48430dc51883280b83b1287c 100644 |
--- a/source/libvpx/vp9/encoder/x86/vp9_sad_intrin_avx2.c |
+++ b/source/libvpx/vpx_dsp/x86/sad_avx2.c |
@@ -11,7 +11,7 @@ |
#include "vpx_ports/mem.h" |
#define FSAD64_H(h) \ |
-unsigned int vp9_sad64x##h##_avx2(const uint8_t *src_ptr, \ |
+unsigned int vpx_sad64x##h##_avx2(const uint8_t *src_ptr, \ |
int src_stride, \ |
const uint8_t *ref_ptr, \ |
int ref_stride) { \ |
@@ -40,7 +40,7 @@ unsigned int vp9_sad64x##h##_avx2(const uint8_t *src_ptr, \ |
} |
#define FSAD32_H(h) \ |
-unsigned int vp9_sad32x##h##_avx2(const uint8_t *src_ptr, \ |
+unsigned int vpx_sad32x##h##_avx2(const uint8_t *src_ptr, \ |
int src_stride, \ |
const uint8_t *ref_ptr, \ |
int ref_stride) { \ |
@@ -89,7 +89,7 @@ FSAD32; |
#undef FSAD32_H |
#define FSADAVG64_H(h) \ |
-unsigned int vp9_sad64x##h##_avg_avx2(const uint8_t *src_ptr, \ |
+unsigned int vpx_sad64x##h##_avg_avx2(const uint8_t *src_ptr, \ |
int src_stride, \ |
const uint8_t *ref_ptr, \ |
int ref_stride, \ |
@@ -124,7 +124,7 @@ unsigned int vp9_sad64x##h##_avg_avx2(const uint8_t *src_ptr, \ |
} |
#define FSADAVG32_H(h) \ |
-unsigned int vp9_sad32x##h##_avg_avx2(const uint8_t *src_ptr, \ |
+unsigned int vpx_sad32x##h##_avg_avx2(const uint8_t *src_ptr, \ |
int src_stride, \ |
const uint8_t *ref_ptr, \ |
int ref_stride, \ |