| 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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv); | 264 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv); |
| 265 | 265 |
| 266 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 266 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
| 267 #define vp9_fwht4x4 vp9_fwht4x4_c | 267 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 268 | 268 |
| 269 unsigned int vp9_get_mb_ss_c(const int16_t *); | 269 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 270 unsigned int vp9_get_mb_ss_mmx(const int16_t *); | 270 unsigned int vp9_get_mb_ss_mmx(const int16_t *); |
| 271 unsigned int vp9_get_mb_ss_sse2(const int16_t *); | 271 unsigned int vp9_get_mb_ss_sse2(const int16_t *); |
| 272 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 | 272 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 |
| 273 | 273 |
| 274 void vp9_get_sse_sum_16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 275 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 276 #define vp9_get_sse_sum_16x16 vp9_get16x16var_sse2 |
| 277 |
| 274 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 278 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 275 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 279 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 276 #define vp9_get_sse_sum_8x8 vp9_get8x8var_sse2 | 280 #define vp9_get_sse_sum_8x8 vp9_get8x8var_sse2 |
| 277 | 281 |
| 278 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 282 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 279 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 283 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 280 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 284 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 281 | 285 |
| 282 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 286 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 283 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 287 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 void vp9_rtcd(void); | 909 void vp9_rtcd(void); |
| 906 | 910 |
| 907 #ifdef RTCD_C | 911 #ifdef RTCD_C |
| 908 #include "vpx_ports/x86.h" | 912 #include "vpx_ports/x86.h" |
| 909 static void setup_rtcd_internal(void) | 913 static void setup_rtcd_internal(void) |
| 910 { | 914 { |
| 911 int flags = x86_simd_caps(); | 915 int flags = x86_simd_caps(); |
| 912 | 916 |
| 913 (void)flags; | 917 (void)flags; |
| 914 | 918 |
| 915 | |
| 916 | |
| 917 | |
| 918 | |
| 919 vp9_convolve8 = vp9_convolve8_sse2; | 919 vp9_convolve8 = vp9_convolve8_sse2; |
| 920 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; | 920 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; |
| 921 | |
| 922 vp9_convolve8_avg = vp9_convolve8_avg_sse2; | 921 vp9_convolve8_avg = vp9_convolve8_avg_sse2; |
| 923 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; | 922 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; |
| 924 | |
| 925 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2; | 923 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2; |
| 926 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 924 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
| 927 | |
| 928 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; | 925 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; |
| 929 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 926 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
| 930 | |
| 931 vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; | 927 vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; |
| 932 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; | 928 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; |
| 933 | |
| 934 vp9_convolve8_vert = vp9_convolve8_vert_sse2; | 929 vp9_convolve8_vert = vp9_convolve8_vert_sse2; |
| 935 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; | 930 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; |
| 936 | |
| 937 | |
| 938 | |
| 939 | |
| 940 | |
| 941 | |
| 942 | |
| 943 | |
| 944 | |
| 945 | |
| 946 | |
| 947 vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_c; | 931 vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_c; |
| 948 if (flags & HAS_SSSE3) vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_s
sse3; | 932 if (flags & HAS_SSSE3) vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_s
sse3; |
| 949 | |
| 950 | |
| 951 vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_c; | 933 vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_c; |
| 952 if (flags & HAS_SSSE3) vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_ssse3
; | 934 if (flags & HAS_SSSE3) vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_ssse3
; |
| 953 | |
| 954 vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_c; | 935 vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_c; |
| 955 if (flags & HAS_SSSE3) vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_ssse3
; | 936 if (flags & HAS_SSSE3) vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_ssse3
; |
| 956 | |
| 957 vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_c; | 937 vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_c; |
| 958 if (flags & HAS_SSSE3) vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_s
sse3; | 938 if (flags & HAS_SSSE3) vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_s
sse3; |
| 959 | |
| 960 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c; | 939 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c; |
| 961 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s
sse3; | 940 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s
sse3; |
| 962 | |
| 963 vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_c; | 941 vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_c; |
| 964 if (flags & HAS_SSSE3) vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_ssse3
; | 942 if (flags & HAS_SSSE3) vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_ssse3
; |
| 965 | |
| 966 vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_c; | 943 vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_c; |
| 967 if (flags & HAS_SSSE3) vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_ssse3
; | 944 if (flags & HAS_SSSE3) vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_ssse3
; |
| 968 | |
| 969 vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_c; | 945 vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_c; |
| 970 if (flags & HAS_SSSE3) vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_sss
e3; | 946 if (flags & HAS_SSSE3) vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_sss
e3; |
| 971 | |
| 972 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c; | 947 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c; |
| 973 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss
e3; | 948 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss
e3; |
| 974 | |
| 975 vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_c; | 949 vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_c; |
| 976 if (flags & HAS_SSSE3) vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_ssse3; | 950 if (flags & HAS_SSSE3) vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_ssse3; |
| 977 | |
| 978 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c; | 951 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c; |
| 979 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3; | 952 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3; |
| 980 | |
| 981 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c; | 953 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c; |
| 982 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss
e3; | 954 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss
e3; |
| 983 | |
| 984 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; | 955 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; |
| 985 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss
e3; | 956 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss
e3; |
| 986 | |
| 987 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c; | 957 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c; |
| 988 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3; | 958 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3; |
| 989 | |
| 990 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; | 959 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; |
| 991 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; | 960 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; |
| 992 | |
| 993 | |
| 994 | |
| 995 | |
| 996 | |
| 997 | |
| 998 | |
| 999 | |
| 1000 | |
| 1001 | |
| 1002 | |
| 1003 | |
| 1004 | |
| 1005 | |
| 1006 | |
| 1007 | |
| 1008 | |
| 1009 vp9_diamond_search_sad = vp9_diamond_search_sad_c; | 961 vp9_diamond_search_sad = vp9_diamond_search_sad_c; |
| 1010 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; | 962 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; |
| 1011 | |
| 1012 | |
| 1013 | |
| 1014 | |
| 1015 | |
| 1016 | |
| 1017 | |
| 1018 | |
| 1019 | |
| 1020 | |
| 1021 vp9_full_search_sad = vp9_full_search_sad_c; | 963 vp9_full_search_sad = vp9_full_search_sad_c; |
| 1022 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | 964 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; |
| 1023 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | 965 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; |
| 1024 | |
| 1025 | |
| 1026 | |
| 1027 | |
| 1028 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 966 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
| 1029 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | 967 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; |
| 1030 | |
| 1031 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | 968 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
| 1032 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; | 969 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; |
| 1033 | |
| 1034 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 970 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
| 1035 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | 971 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; |
| 1036 | |
| 1037 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 972 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
| 1038 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | 973 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; |
| 1039 | |
| 1040 | |
| 1041 | |
| 1042 | |
| 1043 | |
| 1044 | |
| 1045 | |
| 1046 | |
| 1047 | |
| 1048 | |
| 1049 | |
| 1050 | |
| 1051 | |
| 1052 | |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | |
| 1057 | |
| 1058 | |
| 1059 | |
| 1060 | |
| 1061 | |
| 1062 | |
| 1063 | |
| 1064 | |
| 1065 | |
| 1066 | |
| 1067 | |
| 1068 | |
| 1069 | |
| 1070 | |
| 1071 vp9_quantize_b = vp9_quantize_b_c; | 974 vp9_quantize_b = vp9_quantize_b_c; |
| 1072 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; | 975 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; |
| 1073 | |
| 1074 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; | 976 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; |
| 1075 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; | 977 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; |
| 1076 | |
| 1077 vp9_refining_search_sad = vp9_refining_search_sad_c; | 978 vp9_refining_search_sad = vp9_refining_search_sad_c; |
| 1078 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; | 979 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; |
| 1079 | |
| 1080 | |
| 1081 | |
| 1082 vp9_sad16x16x3 = vp9_sad16x16x3_c; | 980 vp9_sad16x16x3 = vp9_sad16x16x3_c; |
| 1083 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; | 981 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; |
| 1084 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; | 982 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; |
| 1085 | |
| 1086 | |
| 1087 | |
| 1088 | |
| 1089 | |
| 1090 | |
| 1091 | |
| 1092 | |
| 1093 vp9_sad16x8x3 = vp9_sad16x8x3_c; | 983 vp9_sad16x8x3 = vp9_sad16x8x3_c; |
| 1094 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; | 984 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; |
| 1095 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; | 985 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; |
| 1096 | |
| 1097 | |
| 1098 | |
| 1099 | |
| 1100 | |
| 1101 | |
| 1102 | |
| 1103 | |
| 1104 | |
| 1105 | |
| 1106 | |
| 1107 | |
| 1108 | |
| 1109 | |
| 1110 | |
| 1111 | |
| 1112 vp9_sad4x4x3 = vp9_sad4x4x3_c; | 986 vp9_sad4x4x3 = vp9_sad4x4x3_c; |
| 1113 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; | 987 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; |
| 1114 | |
| 1115 | |
| 1116 | |
| 1117 | |
| 1118 | |
| 1119 | |
| 1120 | |
| 1121 | |
| 1122 | |
| 1123 | |
| 1124 | |
| 1125 | |
| 1126 | |
| 1127 | |
| 1128 | |
| 1129 | |
| 1130 | |
| 1131 vp9_sad8x16x3 = vp9_sad8x16x3_c; | 988 vp9_sad8x16x3 = vp9_sad8x16x3_c; |
| 1132 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; | 989 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; |
| 1133 | |
| 1134 | |
| 1135 | |
| 1136 | |
| 1137 | |
| 1138 | |
| 1139 | |
| 1140 | |
| 1141 | |
| 1142 vp9_sad8x8x3 = vp9_sad8x8x3_c; | 990 vp9_sad8x8x3 = vp9_sad8x8x3_c; |
| 1143 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; | 991 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; |
| 1144 | |
| 1145 | |
| 1146 | |
| 1147 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2; | 992 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2; |
| 1148 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v
ariance16x16_ssse3; | 993 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v
ariance16x16_ssse3; |
| 1149 | |
| 1150 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_sse2; | 994 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_sse2; |
| 1151 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v
ariance16x32_ssse3; | 995 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v
ariance16x32_ssse3; |
| 1152 | |
| 1153 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_sse2; | 996 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_sse2; |
| 1154 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va
riance16x8_ssse3; | 997 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va
riance16x8_ssse3; |
| 1155 | |
| 1156 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_sse2; | 998 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_sse2; |
| 1157 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v
ariance32x16_ssse3; | 999 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v
ariance32x16_ssse3; |
| 1158 | |
| 1159 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_sse2; | 1000 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_sse2; |
| 1160 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v
ariance32x32_ssse3; | 1001 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v
ariance32x32_ssse3; |
| 1161 | |
| 1162 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_sse2; | 1002 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_sse2; |
| 1163 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v
ariance32x64_ssse3; | 1003 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v
ariance32x64_ssse3; |
| 1164 | |
| 1165 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_sse; | 1004 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_sse; |
| 1166 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var
iance4x4_ssse3; | 1005 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var
iance4x4_ssse3; |
| 1167 | |
| 1168 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_sse; | 1006 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_sse; |
| 1169 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var
iance4x8_ssse3; | 1007 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var
iance4x8_ssse3; |
| 1170 | |
| 1171 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_sse2; | 1008 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_sse2; |
| 1172 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v
ariance64x32_ssse3; | 1009 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v
ariance64x32_ssse3; |
| 1173 | |
| 1174 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_sse2; | 1010 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_sse2; |
| 1175 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v
ariance64x64_ssse3; | 1011 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v
ariance64x64_ssse3; |
| 1176 | |
| 1177 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_sse2; | 1012 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_sse2; |
| 1178 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va
riance8x16_ssse3; | 1013 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va
riance8x16_ssse3; |
| 1179 | |
| 1180 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_sse2; | 1014 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_sse2; |
| 1181 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var
iance8x4_ssse3; | 1015 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var
iance8x4_ssse3; |
| 1182 | |
| 1183 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_sse2; | 1016 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_sse2; |
| 1184 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var
iance8x8_ssse3; | 1017 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var
iance8x8_ssse3; |
| 1185 | |
| 1186 | |
| 1187 | |
| 1188 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_sse2; | 1018 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_sse2; |
| 1189 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1
6x16_ssse3; | 1019 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1
6x16_ssse3; |
| 1190 | |
| 1191 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_sse2; | 1020 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_sse2; |
| 1192 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1
6x32_ssse3; | 1021 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1
6x32_ssse3; |
| 1193 | |
| 1194 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_sse2; | 1022 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_sse2; |
| 1195 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16
x8_ssse3; | 1023 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16
x8_ssse3; |
| 1196 | |
| 1197 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_sse2; | 1024 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_sse2; |
| 1198 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3
2x16_ssse3; | 1025 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3
2x16_ssse3; |
| 1199 | |
| 1200 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_sse2; | 1026 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_sse2; |
| 1201 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3
2x32_ssse3; | 1027 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3
2x32_ssse3; |
| 1202 | |
| 1203 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_sse2; | 1028 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_sse2; |
| 1204 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3
2x64_ssse3; | 1029 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3
2x64_ssse3; |
| 1205 | |
| 1206 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_sse; | 1030 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_sse; |
| 1207 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4
_ssse3; | 1031 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4
_ssse3; |
| 1208 | |
| 1209 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_sse; | 1032 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_sse; |
| 1210 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8
_ssse3; | 1033 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8
_ssse3; |
| 1211 | |
| 1212 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_sse2; | 1034 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_sse2; |
| 1213 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6
4x32_ssse3; | 1035 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6
4x32_ssse3; |
| 1214 | |
| 1215 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2; | 1036 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2; |
| 1216 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6
4x64_ssse3; | 1037 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6
4x64_ssse3; |
| 1217 | |
| 1218 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2; | 1038 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2; |
| 1219 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x
16_ssse3; | 1039 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x
16_ssse3; |
| 1220 | |
| 1221 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2; | 1040 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2; |
| 1222 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4
_ssse3; | 1041 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4
_ssse3; |
| 1223 | |
| 1224 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; | 1042 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; |
| 1225 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | 1043 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; |
| 1226 } | 1044 } |
| 1227 #endif | 1045 #endif |
| 1228 | 1046 |
| 1229 #ifdef __cplusplus | 1047 #ifdef __cplusplus |
| 1230 } // extern "C" | 1048 } // extern "C" |
| 1231 #endif | 1049 #endif |
| 1232 | 1050 |
| 1233 #endif | 1051 #endif |
| OLD | NEW |