| OLD | NEW |
| 1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
| 3 | 3 |
| 4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
| 6 #else | 6 #else |
| 7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 /* | 10 /* |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 #define vp9_variance8x16 vp9_variance8x16_sse2 | 927 #define vp9_variance8x16 vp9_variance8x16_sse2 |
| 928 | 928 |
| 929 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 929 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 930 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 930 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 931 #define vp9_variance8x4 vp9_variance8x4_sse2 | 931 #define vp9_variance8x4 vp9_variance8x4_sse2 |
| 932 | 932 |
| 933 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 933 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 934 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 934 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 935 #define vp9_variance8x8 vp9_variance8x8_sse2 | 935 #define vp9_variance8x8 vp9_variance8x8_sse2 |
| 936 | 936 |
| 937 int vp9_vector_sad_c(int16_t const *ref, int16_t const *src, const int width); | 937 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
| 938 int vp9_vector_sad_sse2(int16_t const *ref, int16_t const *src, const int width)
; | 938 int vp9_vector_var_sse2(int16_t const *ref, int16_t const *src, const int bwl); |
| 939 #define vp9_vector_sad vp9_vector_sad_sse2 | 939 #define vp9_vector_var vp9_vector_var_sse2 |
| 940 | 940 |
| 941 void vp9_rtcd(void); | 941 void vp9_rtcd(void); |
| 942 | 942 |
| 943 #ifdef RTCD_C | 943 #ifdef RTCD_C |
| 944 #include "vpx_ports/x86.h" | 944 #include "vpx_ports/x86.h" |
| 945 static void setup_rtcd_internal(void) | 945 static void setup_rtcd_internal(void) |
| 946 { | 946 { |
| 947 int flags = x86_simd_caps(); | 947 int flags = x86_simd_caps(); |
| 948 | 948 |
| 949 (void)flags; | 949 (void)flags; |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 vp9_variance64x64 = vp9_variance64x64_sse2; | 1139 vp9_variance64x64 = vp9_variance64x64_sse2; |
| 1140 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2; | 1140 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2; |
| 1141 } | 1141 } |
| 1142 #endif | 1142 #endif |
| 1143 | 1143 |
| 1144 #ifdef __cplusplus | 1144 #ifdef __cplusplus |
| 1145 } // extern "C" | 1145 } // extern "C" |
| 1146 #endif | 1146 #endif |
| 1147 | 1147 |
| 1148 #endif | 1148 #endif |
| OLD | NEW |