OLD | NEW |
1 #ifndef VPX_DSP_RTCD_H_ | 1 #ifndef VPX_DSP_RTCD_H_ |
2 #define VPX_DSP_RTCD_H_ | 2 #define VPX_DSP_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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 unsigned int vpx_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 878 unsigned int vpx_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
879 #define vpx_variance8x4 vpx_variance8x4_sse2 | 879 #define vpx_variance8x4 vpx_variance8x4_sse2 |
880 | 880 |
881 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 881 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
882 unsigned int vpx_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 882 unsigned int vpx_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
883 unsigned int vpx_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 883 unsigned int vpx_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
884 #define vpx_variance8x8 vpx_variance8x8_sse2 | 884 #define vpx_variance8x8 vpx_variance8x8_sse2 |
885 | 885 |
886 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 886 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
887 uint32_t vpx_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, int so
urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 887 uint32_t vpx_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, int so
urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
888 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_mmx | 888 uint32_t vpx_variance_halfpixvar16x16_h_sse2(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
| 889 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_sse2 |
889 | 890 |
890 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 891 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
891 uint32_t vpx_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 892 uint32_t vpx_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
892 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_mmx | 893 uint32_t vpx_variance_halfpixvar16x16_hv_sse2(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
| 894 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_sse2 |
893 | 895 |
894 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 896 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
895 uint32_t vpx_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int so
urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 897 uint32_t vpx_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int so
urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
896 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_mmx | 898 uint32_t vpx_variance_halfpixvar16x16_v_sse2(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
| 899 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_sse2 |
897 | 900 |
898 void vpx_dsp_rtcd(void); | 901 void vpx_dsp_rtcd(void); |
899 | 902 |
900 #ifdef RTCD_C | 903 #ifdef RTCD_C |
901 #include "vpx_ports/x86.h" | 904 #include "vpx_ports/x86.h" |
902 static void setup_rtcd_internal(void) | 905 static void setup_rtcd_internal(void) |
903 { | 906 { |
904 int flags = x86_simd_caps(); | 907 int flags = x86_simd_caps(); |
905 | 908 |
906 (void)flags; | 909 (void)flags; |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 vpx_variance64x64 = vpx_variance64x64_sse2; | 1096 vpx_variance64x64 = vpx_variance64x64_sse2; |
1094 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; | 1097 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; |
1095 } | 1098 } |
1096 #endif | 1099 #endif |
1097 | 1100 |
1098 #ifdef __cplusplus | 1101 #ifdef __cplusplus |
1099 } // extern "C" | 1102 } // extern "C" |
1100 #endif | 1103 #endif |
1101 | 1104 |
1102 #endif | 1105 #endif |
OLD | NEW |