Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: source/config/mac/ia32/vp9_rtcd.h

Issue 898943004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/config/linux/arm64/vp9_rtcd.h ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 20 matching lines...) Expand all
31 31
32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p);
33 unsigned int vp9_avg_4x4_sse2(const uint8_t *, int p); 33 unsigned int vp9_avg_4x4_sse2(const uint8_t *, int p);
34 RTCD_EXTERN unsigned int (*vp9_avg_4x4)(const uint8_t *, int p); 34 RTCD_EXTERN unsigned int (*vp9_avg_4x4)(const uint8_t *, int p);
35 35
36 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); 36 unsigned int vp9_avg_8x8_c(const uint8_t *, int p);
37 unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p); 37 unsigned int vp9_avg_8x8_sse2(const uint8_t *, int p);
38 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p); 38 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p);
39 39
40 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in tptr_t block_size, int64_t *ssz); 40 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in tptr_t block_size, int64_t *ssz);
41 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
41 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 42 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
42 RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz); 43 RTCD_EXTERN int64_t (*vp9_block_error)(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz);
43 44
44 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter _y, int y_step_q4, int w, int h); 45 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter _y, int y_step_q4, int w, int h);
45 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h); 46 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
46 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 47 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h);
47 void vp9_convolve8_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h); 48 void vp9_convolve8_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
48 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h); 49 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint 8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in t16_t *filter_y, int y_step_q4, int w, int h);
49 50
50 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 51 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h);
(...skipping 17 matching lines...) Expand all
68 void vp9_convolve8_horiz_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h); 69 void vp9_convolve8_horiz_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
69 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h); 70 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h);
70 71
71 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst , ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f ilter_y, int y_step_q4, int w, int h); 72 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst , ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f ilter_y, int y_step_q4, int w, int h);
72 void vp9_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 73 void vp9_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
73 void vp9_convolve8_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h); 74 void vp9_convolve8_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_ t *filter_y, int y_step_q4, int w, int h);
74 void vp9_convolve8_vert_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h); 75 void vp9_convolve8_vert_avx2(const uint8_t *src, ptrdiff_t src_stride, uint8_t * dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
75 RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h); 76 RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h);
76 77
77 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h); 78 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil ter_y, int y_step_q4, int w, int h);
78 #define vp9_convolve_avg vp9_convolve_avg_c 79 void vp9_convolve_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t * filter_y, int y_step_q4, int w, int h);
80 RTCD_EXTERN void (*vp9_convolve_avg)(const uint8_t *src, ptrdiff_t src_stride, u int8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
79 81
80 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h); 82 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi lter_y, int y_step_q4, int w, int h);
81 #define vp9_convolve_copy vp9_convolve_copy_c 83 void vp9_convolve_copy_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
84 RTCD_EXTERN void (*vp9_convolve_copy)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons t int16_t *filter_y, int y_step_q4, int w, int h);
82 85
83 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 86 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
84 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c 87 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
85 88
86 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 89 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
87 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c 90 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
88 91
89 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 92 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
90 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c 93 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
91 94
92 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 95 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
93 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c 96 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
94 97
95 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 98 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
96 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c 99 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
97 100
98 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 101 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
99 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c 102 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
100 103
101 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 104 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
102 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c 105 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
103 106
104 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 107 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
105 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c 108 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
106 109
107 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 110 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
108 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c 111 void vp9_d153_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
112 RTCD_EXTERN void (*vp9_d153_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
109 113
110 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 114 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
111 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c 115 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
112 116
113 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 117 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
114 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c 118 void vp9_d153_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
119 RTCD_EXTERN void (*vp9_d153_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
115 120
116 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 121 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
117 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c 122 void vp9_d153_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
123 RTCD_EXTERN void (*vp9_d153_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
118 124
119 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 125 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
120 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c 126 void vp9_d207_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
127 RTCD_EXTERN void (*vp9_d207_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
121 128
122 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 129 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
123 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c 130 void vp9_d207_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
131 RTCD_EXTERN void (*vp9_d207_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
124 132
125 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 133 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
126 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c 134 void vp9_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
135 RTCD_EXTERN void (*vp9_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
127 136
128 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 137 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
129 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c 138 void vp9_d207_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
139 RTCD_EXTERN void (*vp9_d207_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
130 140
131 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 141 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
132 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c 142 void vp9_d45_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
143 RTCD_EXTERN void (*vp9_d45_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
133 144
134 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 145 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
135 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c 146 void vp9_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
147 RTCD_EXTERN void (*vp9_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
136 148
137 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 149 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
138 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c 150 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
151 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
139 152
140 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 153 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
141 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c 154 void vp9_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
155 RTCD_EXTERN void (*vp9_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
142 156
143 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 157 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
144 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c 158 void vp9_d63_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
159 RTCD_EXTERN void (*vp9_d63_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
145 160
146 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 161 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
147 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c 162 void vp9_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
163 RTCD_EXTERN void (*vp9_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
148 164
149 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 165 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
150 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c 166 void vp9_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
167 RTCD_EXTERN void (*vp9_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
151 168
152 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 169 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
153 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c 170 void vp9_d63_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
171 RTCD_EXTERN void (*vp9_d63_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
154 172
155 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 173 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
156 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c 174 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
157 175
158 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 176 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
159 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c 177 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
160 178
161 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 179 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
162 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c 180 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
163 181
164 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 182 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
165 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c 183 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
166 184
167 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 185 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
168 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c 186 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
169 187
170 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 188 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
171 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c 189 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
172 190
173 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 191 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
174 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c 192 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
175 193
176 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 194 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
177 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c 195 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
178 196
179 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 197 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
180 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c 198 void vp9_dc_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
199 RTCD_EXTERN void (*vp9_dc_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
181 200
182 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 201 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
183 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c 202 void vp9_dc_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
203 RTCD_EXTERN void (*vp9_dc_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
184 204
185 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 205 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
186 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c 206 void vp9_dc_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
207 RTCD_EXTERN void (*vp9_dc_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
187 208
188 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 209 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
189 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c 210 void vp9_dc_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
211 RTCD_EXTERN void (*vp9_dc_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
190 212
191 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 213 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
192 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c 214 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
193 215
194 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 216 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
195 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c 217 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
196 218
197 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 219 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
198 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c 220 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
199 221
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 286
265 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv); 287 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv);
266 #define vp9_full_range_search vp9_full_range_search_c 288 #define vp9_full_range_search vp9_full_range_search_c
267 289
268 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 290 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
269 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 291 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
270 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 292 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
271 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, const struct mv *center_mv, struct mv *best_mv); 293 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, const struct mv *center_mv, struct mv *best_mv);
272 294
273 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); 295 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride);
274 #define vp9_fwht4x4 vp9_fwht4x4_c 296 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride);
297 RTCD_EXTERN void (*vp9_fwht4x4)(const int16_t *input, tran_low_t *output, int st ride);
275 298
276 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 299 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
300 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);
277 void vp9_get16x16var_avx2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 301 void vp9_get16x16var_avx2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
278 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 302 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
279 303
280 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum); 304 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
281 #define vp9_get8x8var vp9_get8x8var_c 305 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);
306 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
282 307
283 unsigned int vp9_get_mb_ss_c(const int16_t *); 308 unsigned int vp9_get_mb_ss_c(const int16_t *);
284 #define vp9_get_mb_ss vp9_get_mb_ss_c 309 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
310 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
285 311
286 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 312 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
287 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 313 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
314 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
288 315
289 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 316 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
290 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 317 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
318 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
291 319
292 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 320 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
293 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c 321 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
322 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
294 323
295 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 324 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
296 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c 325 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
326 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
297 327
298 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide); 328 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
299 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride); 329 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
300 void vp9_idct16x16_10_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest _stride); 330 void vp9_idct16x16_10_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest _stride);
301 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride); 331 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
302 332
303 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de); 333 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
304 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride); 334 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
305 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride); 335 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
306 336
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 428
399 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count); 429 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count);
400 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 430 void vp9_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
401 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count); 431 RTCD_EXTERN void (*vp9_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
402 432
403 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1); 433 void vp9_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8 _t *limit1, const uint8_t *thresh1);
404 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1); 434 void vp9_lpf_vertical_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui nt8_t *limit1, const uint8_t *thresh1);
405 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1); 435 RTCD_EXTERN void (*vp9_lpf_vertical_8_dual)(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1 , const uint8_t *limit1, const uint8_t *thresh1);
406 436
407 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse); 437 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
438 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
408 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 439 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
409 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 440 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
410 441
411 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 442 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
412 #define vp9_mse16x8 vp9_mse16x8_c 443 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
444 RTCD_EXTERN unsigned int (*vp9_mse16x8)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
413 445
414 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 446 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
415 #define vp9_mse8x16 vp9_mse8x16_c 447 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
448 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
416 449
417 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 450 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
418 #define vp9_mse8x8 vp9_mse8x8_c 451 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int recon_stride, unsigned int *sse);
452 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
419 453
420 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan); 454 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
421 void vp9_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 455 void vp9_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
422 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low _t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s can, const int16_t *iscan); 456 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low _t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s can, const int16_t *iscan);
423 457
424 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan); 458 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
425 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 459 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
426 460
427 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_ block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i nt16_t *iscan); 461 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_ block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const i nt16_t *iscan);
428 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan); 462 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan);
429 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int 16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan); 463 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int 16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo w_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan);
430 464
431 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c onst int16_t *iscan); 465 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c onst int16_t *iscan);
432 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c 466 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
433 467
434 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 468 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
435 #define vp9_sad16x16 vp9_sad16x16_c 469 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
470 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
436 471
437 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 472 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
438 #define vp9_sad16x16_avg vp9_sad16x16_avg_c 473 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
474 RTCD_EXTERN unsigned int (*vp9_sad16x16_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
439 475
440 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 476 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
441 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 477 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
442 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array); 478 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array);
443 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 479 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
444 480
445 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 481 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
446 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 482 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
447 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 483 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
448 484
449 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 485 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
450 #define vp9_sad16x16x8 vp9_sad16x16x8_c 486 #define vp9_sad16x16x8 vp9_sad16x16x8_c
451 487
452 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 488 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
453 #define vp9_sad16x32 vp9_sad16x32_c 489 unsigned int vp9_sad16x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
490 RTCD_EXTERN unsigned int (*vp9_sad16x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
454 491
455 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 492 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
456 #define vp9_sad16x32_avg vp9_sad16x32_avg_c 493 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
494 RTCD_EXTERN unsigned int (*vp9_sad16x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
457 495
458 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 496 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
459 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 497 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
460 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 498 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
461 499
462 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 500 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
463 #define vp9_sad16x8 vp9_sad16x8_c 501 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
502 RTCD_EXTERN unsigned int (*vp9_sad16x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride);
464 503
465 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 504 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
466 #define vp9_sad16x8_avg vp9_sad16x8_avg_c 505 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
506 RTCD_EXTERN unsigned int (*vp9_sad16x8_avg)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
467 507
468 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 508 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
469 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 509 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
470 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 510 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
471 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 511 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
472 512
473 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 513 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
474 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 514 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
475 RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 515 RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
476 516
477 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 517 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
478 #define vp9_sad16x8x8 vp9_sad16x8x8_c 518 #define vp9_sad16x8x8 vp9_sad16x8x8_c
479 519
480 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 520 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
521 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
481 unsigned int vp9_sad32x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 522 unsigned int vp9_sad32x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
482 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 523 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
483 524
484 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 525 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
526 unsigned int vp9_sad32x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
485 unsigned int vp9_sad32x16_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 527 unsigned int vp9_sad32x16_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
486 RTCD_EXTERN unsigned int (*vp9_sad32x16_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 528 RTCD_EXTERN unsigned int (*vp9_sad32x16_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
487 529
488 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 530 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
489 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 531 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
490 RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 532 RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
491 533
492 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 534 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
535 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
493 unsigned int vp9_sad32x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 536 unsigned int vp9_sad32x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
494 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 537 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
495 538
496 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 539 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
540 unsigned int vp9_sad32x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
497 unsigned int vp9_sad32x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 541 unsigned int vp9_sad32x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
498 RTCD_EXTERN unsigned int (*vp9_sad32x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 542 RTCD_EXTERN unsigned int (*vp9_sad32x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
499 543
500 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 544 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
501 #define vp9_sad32x32x3 vp9_sad32x32x3_c 545 #define vp9_sad32x32x3 vp9_sad32x32x3_c
502 546
503 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 547 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
504 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 548 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
505 void vp9_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 549 void vp9_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
506 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 550 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
507 551
508 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 552 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
509 #define vp9_sad32x32x8 vp9_sad32x32x8_c 553 #define vp9_sad32x32x8 vp9_sad32x32x8_c
510 554
511 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 555 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
556 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
512 unsigned int vp9_sad32x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 557 unsigned int vp9_sad32x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
513 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 558 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
514 559
515 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 560 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
561 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
516 unsigned int vp9_sad32x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 562 unsigned int vp9_sad32x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
517 RTCD_EXTERN unsigned int (*vp9_sad32x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 563 RTCD_EXTERN unsigned int (*vp9_sad32x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
518 564
519 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 565 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
520 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 566 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
521 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 567 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
522 568
523 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 569 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
524 #define vp9_sad4x4 vp9_sad4x4_c 570 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
571 RTCD_EXTERN unsigned int (*vp9_sad4x4)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
525 572
526 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 573 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
527 #define vp9_sad4x4_avg vp9_sad4x4_avg_c 574 unsigned int vp9_sad4x4_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
575 RTCD_EXTERN unsigned int (*vp9_sad4x4_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
528 576
529 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 577 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
530 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 578 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
531 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 579 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
532 580
533 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 581 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
534 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 582 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
535 RTCD_EXTERN void (*vp9_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 583 RTCD_EXTERN void (*vp9_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
536 584
537 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array); 585 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
538 #define vp9_sad4x4x8 vp9_sad4x4x8_c 586 #define vp9_sad4x4x8 vp9_sad4x4x8_c
539 587
540 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 588 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
541 #define vp9_sad4x8 vp9_sad4x8_c 589 unsigned int vp9_sad4x8_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
590 RTCD_EXTERN unsigned int (*vp9_sad4x8)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
542 591
543 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 592 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
544 #define vp9_sad4x8_avg vp9_sad4x8_avg_c 593 unsigned int vp9_sad4x8_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
594 RTCD_EXTERN unsigned int (*vp9_sad4x8_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
545 595
546 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 596 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
547 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 597 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
548 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 598 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
549 599
550 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 600 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
551 #define vp9_sad4x8x8 vp9_sad4x8x8_c 601 #define vp9_sad4x8x8 vp9_sad4x8x8_c
552 602
553 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 603 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
604 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
554 unsigned int vp9_sad64x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 605 unsigned int vp9_sad64x32_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
555 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 606 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
556 607
557 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 608 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
609 unsigned int vp9_sad64x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
558 unsigned int vp9_sad64x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 610 unsigned int vp9_sad64x32_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
559 RTCD_EXTERN unsigned int (*vp9_sad64x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 611 RTCD_EXTERN unsigned int (*vp9_sad64x32_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
560 612
561 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 613 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
562 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 614 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
563 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 615 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
564 616
565 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 617 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
618 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
566 unsigned int vp9_sad64x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 619 unsigned int vp9_sad64x64_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
567 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 620 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
568 621
569 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 622 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
623 unsigned int vp9_sad64x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
570 unsigned int vp9_sad64x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 624 unsigned int vp9_sad64x64_avg_avx2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
571 RTCD_EXTERN unsigned int (*vp9_sad64x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 625 RTCD_EXTERN unsigned int (*vp9_sad64x64_avg)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
572 626
573 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 627 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
574 #define vp9_sad64x64x3 vp9_sad64x64x3_c 628 #define vp9_sad64x64x3 vp9_sad64x64x3_c
575 629
576 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 630 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
577 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 631 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
578 void vp9_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 632 void vp9_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
579 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 633 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
580 634
581 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 635 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
582 #define vp9_sad64x64x8 vp9_sad64x64x8_c 636 #define vp9_sad64x64x8 vp9_sad64x64x8_c
583 637
584 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride); 638 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
585 #define vp9_sad8x16 vp9_sad8x16_c 639 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
640 RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride);
586 641
587 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 642 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
588 #define vp9_sad8x16_avg vp9_sad8x16_avg_c 643 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
644 RTCD_EXTERN unsigned int (*vp9_sad8x16_avg)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
589 645
590 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 646 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
591 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 647 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
592 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 648 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
593 649
594 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 650 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
595 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 651 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
596 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 652 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
597 653
598 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 654 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
599 #define vp9_sad8x16x8 vp9_sad8x16x8_c 655 #define vp9_sad8x16x8 vp9_sad8x16x8_c
600 656
601 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 657 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
602 #define vp9_sad8x4 vp9_sad8x4_c 658 unsigned int vp9_sad8x4_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
659 RTCD_EXTERN unsigned int (*vp9_sad8x4)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
603 660
604 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 661 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
605 #define vp9_sad8x4_avg vp9_sad8x4_avg_c 662 unsigned int vp9_sad8x4_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
663 RTCD_EXTERN unsigned int (*vp9_sad8x4_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
606 664
607 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 665 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
608 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 666 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
609 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 667 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
610 668
611 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 669 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
612 #define vp9_sad8x4x8 vp9_sad8x4x8_c 670 #define vp9_sad8x4x8 vp9_sad8x4x8_c
613 671
614 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 672 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
615 #define vp9_sad8x8 vp9_sad8x8_c 673 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
674 RTCD_EXTERN unsigned int (*vp9_sad8x8)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
616 675
617 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 676 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
618 #define vp9_sad8x8_avg vp9_sad8x8_avg_c 677 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
678 RTCD_EXTERN unsigned int (*vp9_sad8x8_avg)(const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
619 679
620 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 680 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
621 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 681 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
622 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 682 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
623 683
624 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 684 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
625 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 685 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
626 RTCD_EXTERN void (*vp9_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 686 RTCD_EXTERN void (*vp9_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
627 687
628 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array); 688 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
629 #define vp9_sad8x8x8 vp9_sad8x8x8_c 689 #define vp9_sad8x8x8 vp9_sad8x8x8_c
630 690
631 unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 691 unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
632 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c 692 unsigned int vp9_sub_pixel_avg_variance16x16_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
693 unsigned int vp9_sub_pixel_avg_variance16x16_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
694 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x16)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
633 695
634 unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 696 unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
635 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c 697 unsigned int vp9_sub_pixel_avg_variance16x32_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
698 unsigned int vp9_sub_pixel_avg_variance16x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
699 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x32)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
636 700
637 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 701 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
638 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c 702 unsigned int vp9_sub_pixel_avg_variance16x8_sse2(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred);
703 unsigned int vp9_sub_pixel_avg_variance16x8_ssse3(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
704 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x8)(const uint8_t *src_pt r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref _stride, unsigned int *sse, const uint8_t *second_pred);
639 705
640 unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 706 unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
641 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c 707 unsigned int vp9_sub_pixel_avg_variance32x16_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
708 unsigned int vp9_sub_pixel_avg_variance32x16_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
709 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x16)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
642 710
643 unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 711 unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
712 unsigned int vp9_sub_pixel_avg_variance32x32_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
713 unsigned int vp9_sub_pixel_avg_variance32x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
644 unsigned int vp9_sub_pixel_avg_variance32x32_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 714 unsigned int vp9_sub_pixel_avg_variance32x32_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
645 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x32)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred); 715 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x32)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
646 716
647 unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 717 unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
648 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c 718 unsigned int vp9_sub_pixel_avg_variance32x64_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
719 unsigned int vp9_sub_pixel_avg_variance32x64_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
720 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x64)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
649 721
650 unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred); 722 unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred);
651 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c 723 unsigned int vp9_sub_pixel_avg_variance4x4_sse(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
724 unsigned int vp9_sub_pixel_avg_variance4x4_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred);
725 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x4)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_ stride, unsigned int *sse, const uint8_t *second_pred);
652 726
653 unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred); 727 unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred);
654 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c 728 unsigned int vp9_sub_pixel_avg_variance4x8_sse(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
729 unsigned int vp9_sub_pixel_avg_variance4x8_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred);
730 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x8)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_s tride, unsigned int *sse, const uint8_t *second_pred);
655 731
656 unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 732 unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
657 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c 733 unsigned int vp9_sub_pixel_avg_variance64x32_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
734 unsigned int vp9_sub_pixel_avg_variance64x32_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
735 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x32)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
658 736
659 unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred); 737 unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
738 unsigned int vp9_sub_pixel_avg_variance64x64_sse2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
739 unsigned int vp9_sub_pixel_avg_variance64x64_ssse3(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
660 unsigned int vp9_sub_pixel_avg_variance64x64_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); 740 unsigned int vp9_sub_pixel_avg_variance64x64_avx2(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
661 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x64)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred); 741 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x64)(const uint8_t *src_p tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re f_stride, unsigned int *sse, const uint8_t *second_pred);
662 742
663 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 743 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
664 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c 744 unsigned int vp9_sub_pixel_avg_variance8x16_sse2(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred);
745 unsigned int vp9_sub_pixel_avg_variance8x16_ssse3(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
746 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x16)(const uint8_t *src_pt r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref _stride, unsigned int *sse, const uint8_t *second_pred);
665 747
666 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred); 748 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred);
667 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c 749 unsigned int vp9_sub_pixel_avg_variance8x4_sse2(const uint8_t *src_ptr, int sour ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse, const uint8_t *second_pred);
750 unsigned int vp9_sub_pixel_avg_variance8x4_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred);
751 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x4)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_s tride, unsigned int *sse, const uint8_t *second_pred);
668 752
669 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred); 753 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred);
670 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c 754 unsigned int vp9_sub_pixel_avg_variance8x8_sse2(const uint8_t *src_ptr, int sour ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un signed int *sse, const uint8_t *second_pred);
755 unsigned int vp9_sub_pixel_avg_variance8x8_ssse3(const uint8_t *src_ptr, int sou rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u nsigned int *sse, const uint8_t *second_pred);
756 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x8)(const uint8_t *src_ptr , int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_ stride, unsigned int *sse, const uint8_t *second_pred);
671 757
672 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 758 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
673 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c 759 unsigned int vp9_sub_pixel_variance16x16_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
760 unsigned int vp9_sub_pixel_variance16x16_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
761 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
674 762
675 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 763 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
676 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c 764 unsigned int vp9_sub_pixel_variance16x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
765 unsigned int vp9_sub_pixel_variance16x32_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
766 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
677 767
678 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 768 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
679 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c 769 unsigned int vp9_sub_pixel_variance16x8_sse2(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
770 unsigned int vp9_sub_pixel_variance16x8_ssse3(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
771 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x8)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, unsigned int *sse);
680 772
681 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 773 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
682 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c 774 unsigned int vp9_sub_pixel_variance32x16_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
775 unsigned int vp9_sub_pixel_variance32x16_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
776 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
683 777
684 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 778 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
779 unsigned int vp9_sub_pixel_variance32x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
780 unsigned int vp9_sub_pixel_variance32x32_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
685 unsigned int vp9_sub_pixel_variance32x32_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 781 unsigned int vp9_sub_pixel_variance32x32_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
686 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 782 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
687 783
688 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 784 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
689 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c 785 unsigned int vp9_sub_pixel_variance32x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
786 unsigned int vp9_sub_pixel_variance32x64_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
787 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
690 788
691 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 789 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
692 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c 790 unsigned int vp9_sub_pixel_variance4x4_sse(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
791 unsigned int vp9_sub_pixel_variance4x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
792 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x4)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse);
693 793
694 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 794 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse);
695 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c 795 unsigned int vp9_sub_pixel_variance4x8_sse(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
796 unsigned int vp9_sub_pixel_variance4x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
797 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_strid e, unsigned int *sse);
696 798
697 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 799 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
698 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c 800 unsigned int vp9_sub_pixel_variance64x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
801 unsigned int vp9_sub_pixel_variance64x32_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
802 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
699 803
700 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 804 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
805 unsigned int vp9_sub_pixel_variance64x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
806 unsigned int vp9_sub_pixel_variance64x64_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns igned int *sse);
701 unsigned int vp9_sub_pixel_variance64x64_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse); 807 unsigned int vp9_sub_pixel_variance64x64_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
702 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse); 808 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
703 809
704 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 810 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
705 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c 811 unsigned int vp9_sub_pixel_variance8x16_sse2(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
812 unsigned int vp9_sub_pixel_variance8x16_ssse3(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
813 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x16)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, unsigned int *sse);
706 814
707 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 815 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse);
708 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c 816 unsigned int vp9_sub_pixel_variance8x4_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
817 unsigned int vp9_sub_pixel_variance8x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
818 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x4)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_strid e, unsigned int *sse);
709 819
710 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 820 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
711 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c 821 unsigned int vp9_sub_pixel_variance8x8_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
822 unsigned int vp9_sub_pixel_variance8x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
823 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse);
712 824
713 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride); 825 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride);
714 #define vp9_subtract_block vp9_subtract_block_c 826 void vp9_subtract_block_sse2(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr , ptrdiff_t pred_stride);
827 RTCD_EXTERN void (*vp9_subtract_block)(int rows, int cols, int16_t *diff_ptr, pt rdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride);
715 828
716 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count); 829 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count);
717 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_ t *frame2, unsigned int block_width, unsigned int block_height, int strength, in t filter_weight, unsigned int *accumulator, uint16_t *count); 830 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_ t *frame2, unsigned int block_width, unsigned int block_height, int strength, in t filter_weight, unsigned int *accumulator, uint16_t *count);
718 RTCD_EXTERN void (*vp9_temporal_filter_apply)(uint8_t *frame1, unsigned int stri de, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int st rength, int filter_weight, unsigned int *accumulator, uint16_t *count); 831 RTCD_EXTERN void (*vp9_temporal_filter_apply)(uint8_t *frame1, unsigned int stri de, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int st rength, int filter_weight, unsigned int *accumulator, uint16_t *count);
719 832
720 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 833 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
721 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c 834 void vp9_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
835 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
722 836
723 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 837 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
724 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c 838 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
725 839
726 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 840 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
727 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c 841 void vp9_tm_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
842 RTCD_EXTERN void (*vp9_tm_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
728 843
729 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 844 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
730 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c 845 void vp9_tm_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
846 RTCD_EXTERN void (*vp9_tm_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
731 847
732 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 848 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
733 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c 849 void vp9_v_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
850 RTCD_EXTERN void (*vp9_v_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
734 851
735 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 852 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
736 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c 853 void vp9_v_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
854 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
737 855
738 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 856 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
739 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c 857 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
858 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
740 859
741 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 860 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
742 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c 861 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
862 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
743 863
744 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 864 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
865 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
745 unsigned int vp9_variance16x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 866 unsigned int vp9_variance16x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
746 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 867 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
747 868
748 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 869 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
749 #define vp9_variance16x32 vp9_variance16x32_c 870 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
871 RTCD_EXTERN unsigned int (*vp9_variance16x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
750 872
751 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 873 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
752 #define vp9_variance16x8 vp9_variance16x8_c 874 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
875 RTCD_EXTERN unsigned int (*vp9_variance16x8)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
753 876
754 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 877 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
878 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
755 unsigned int vp9_variance32x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 879 unsigned int vp9_variance32x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
756 RTCD_EXTERN unsigned int (*vp9_variance32x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 880 RTCD_EXTERN unsigned int (*vp9_variance32x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
757 881
758 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 882 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
883 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
759 unsigned int vp9_variance32x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 884 unsigned int vp9_variance32x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
760 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 885 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
761 886
762 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 887 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
763 #define vp9_variance32x64 vp9_variance32x64_c 888 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
889 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
764 890
765 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 891 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
766 #define vp9_variance4x4 vp9_variance4x4_c 892 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
893 RTCD_EXTERN unsigned int (*vp9_variance4x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
767 894
768 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 895 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
769 #define vp9_variance4x8 vp9_variance4x8_c 896 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
897 RTCD_EXTERN unsigned int (*vp9_variance4x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
770 898
771 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 899 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
900 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
772 unsigned int vp9_variance64x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 901 unsigned int vp9_variance64x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
773 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 902 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
774 903
775 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 904 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
905 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
776 unsigned int vp9_variance64x64_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 906 unsigned int vp9_variance64x64_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
777 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 907 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
778 908
779 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 909 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
780 #define vp9_variance8x16 vp9_variance8x16_c 910 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
911 RTCD_EXTERN unsigned int (*vp9_variance8x16)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
781 912
782 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 913 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
783 #define vp9_variance8x4 vp9_variance8x4_c 914 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);
915 RTCD_EXTERN unsigned int (*vp9_variance8x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
784 916
785 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 917 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
786 #define vp9_variance8x8 vp9_variance8x8_c 918 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);
919 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
787 920
788 void vp9_rtcd(void); 921 void vp9_rtcd(void);
789 922
790 #ifdef RTCD_C 923 #ifdef RTCD_C
791 #include "vpx_ports/x86.h" 924 #include "vpx_ports/x86.h"
792 static void setup_rtcd_internal(void) 925 static void setup_rtcd_internal(void)
793 { 926 {
794 int flags = x86_simd_caps(); 927 int flags = x86_simd_caps();
795 928
796 (void)flags; 929 (void)flags;
797 930
798 vp9_avg_4x4 = vp9_avg_4x4_c; 931 vp9_avg_4x4 = vp9_avg_4x4_c;
799 if (flags & HAS_SSE2) vp9_avg_4x4 = vp9_avg_4x4_sse2; 932 if (flags & HAS_SSE2) vp9_avg_4x4 = vp9_avg_4x4_sse2;
800 vp9_avg_8x8 = vp9_avg_8x8_c; 933 vp9_avg_8x8 = vp9_avg_8x8_c;
801 if (flags & HAS_SSE2) vp9_avg_8x8 = vp9_avg_8x8_sse2; 934 if (flags & HAS_SSE2) vp9_avg_8x8 = vp9_avg_8x8_sse2;
802 vp9_block_error = vp9_block_error_c; 935 vp9_block_error = vp9_block_error_c;
936 if (flags & HAS_SSE2) vp9_block_error = vp9_block_error_sse2;
803 if (flags & HAS_AVX2) vp9_block_error = vp9_block_error_avx2; 937 if (flags & HAS_AVX2) vp9_block_error = vp9_block_error_avx2;
804 vp9_convolve8 = vp9_convolve8_c; 938 vp9_convolve8 = vp9_convolve8_c;
805 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; 939 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2;
806 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; 940 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
807 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2; 941 if (flags & HAS_AVX2) vp9_convolve8 = vp9_convolve8_avx2;
808 vp9_convolve8_avg = vp9_convolve8_avg_c; 942 vp9_convolve8_avg = vp9_convolve8_avg_c;
809 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; 943 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2;
810 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; 944 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
811 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; 945 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
812 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ; 946 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ;
813 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3; 947 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3;
814 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; 948 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
815 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; 949 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
816 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ; 950 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ;
817 vp9_convolve8_horiz = vp9_convolve8_horiz_c; 951 vp9_convolve8_horiz = vp9_convolve8_horiz_c;
818 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; 952 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
819 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; 953 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
820 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2; 954 if (flags & HAS_AVX2) vp9_convolve8_horiz = vp9_convolve8_horiz_avx2;
821 vp9_convolve8_vert = vp9_convolve8_vert_c; 955 vp9_convolve8_vert = vp9_convolve8_vert_c;
822 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; 956 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2;
823 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; 957 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
824 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2; 958 if (flags & HAS_AVX2) vp9_convolve8_vert = vp9_convolve8_vert_avx2;
959 vp9_convolve_avg = vp9_convolve_avg_c;
960 if (flags & HAS_SSE2) vp9_convolve_avg = vp9_convolve_avg_sse2;
961 vp9_convolve_copy = vp9_convolve_copy_c;
962 if (flags & HAS_SSE2) vp9_convolve_copy = vp9_convolve_copy_sse2;
963 vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_c;
964 if (flags & HAS_SSSE3) vp9_d153_predictor_16x16 = vp9_d153_predictor_16x16_s sse3;
965 vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_c;
966 if (flags & HAS_SSSE3) vp9_d153_predictor_4x4 = vp9_d153_predictor_4x4_ssse3 ;
967 vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_c;
968 if (flags & HAS_SSSE3) vp9_d153_predictor_8x8 = vp9_d153_predictor_8x8_ssse3 ;
969 vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_c;
970 if (flags & HAS_SSSE3) vp9_d207_predictor_16x16 = vp9_d207_predictor_16x16_s sse3;
971 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c;
972 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s sse3;
973 vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_c;
974 if (flags & HAS_SSSE3) vp9_d207_predictor_4x4 = vp9_d207_predictor_4x4_ssse3 ;
975 vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_c;
976 if (flags & HAS_SSSE3) vp9_d207_predictor_8x8 = vp9_d207_predictor_8x8_ssse3 ;
977 vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_c;
978 if (flags & HAS_SSSE3) vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_sss e3;
979 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c;
980 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss e3;
981 vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_c;
982 if (flags & HAS_SSSE3) vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_ssse3;
983 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c;
984 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3;
985 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c;
986 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss e3;
987 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c;
988 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss e3;
989 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c;
990 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3;
991 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c;
992 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3;
993 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c;
994 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2;
995 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c;
996 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2;
997 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c;
998 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse;
999 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c;
1000 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse;
825 vp9_denoiser_filter = vp9_denoiser_filter_c; 1001 vp9_denoiser_filter = vp9_denoiser_filter_c;
826 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2; 1002 if (flags & HAS_SSE2) vp9_denoiser_filter = vp9_denoiser_filter_sse2;
827 vp9_fdct16x16 = vp9_fdct16x16_c; 1003 vp9_fdct16x16 = vp9_fdct16x16_c;
828 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; 1004 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
829 vp9_fdct16x16_1 = vp9_fdct16x16_1_c; 1005 vp9_fdct16x16_1 = vp9_fdct16x16_1_c;
830 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2; 1006 if (flags & HAS_SSE2) vp9_fdct16x16_1 = vp9_fdct16x16_1_sse2;
831 vp9_fdct32x32 = vp9_fdct32x32_c; 1007 vp9_fdct32x32 = vp9_fdct32x32_c;
832 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; 1008 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
833 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2; 1009 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2;
834 vp9_fdct32x32_1 = vp9_fdct32x32_1_c; 1010 vp9_fdct32x32_1 = vp9_fdct32x32_1_c;
(...skipping 14 matching lines...) Expand all
849 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; 1025 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3;
850 vp9_fht16x16 = vp9_fht16x16_c; 1026 vp9_fht16x16 = vp9_fht16x16_c;
851 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; 1027 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2;
852 vp9_fht4x4 = vp9_fht4x4_c; 1028 vp9_fht4x4 = vp9_fht4x4_c;
853 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; 1029 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2;
854 vp9_fht8x8 = vp9_fht8x8_c; 1030 vp9_fht8x8 = vp9_fht8x8_c;
855 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 1031 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
856 vp9_full_search_sad = vp9_full_search_sad_c; 1032 vp9_full_search_sad = vp9_full_search_sad_c;
857 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 1033 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
858 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 1034 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
1035 vp9_fwht4x4 = vp9_fwht4x4_c;
1036 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx;
859 vp9_get16x16var = vp9_get16x16var_c; 1037 vp9_get16x16var = vp9_get16x16var_c;
1038 if (flags & HAS_SSE2) vp9_get16x16var = vp9_get16x16var_sse2;
860 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2; 1039 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2;
1040 vp9_get8x8var = vp9_get8x8var_c;
1041 if (flags & HAS_SSE2) vp9_get8x8var = vp9_get8x8var_sse2;
1042 vp9_get_mb_ss = vp9_get_mb_ss_c;
1043 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
1044 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c;
1045 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3;
1046 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c;
1047 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3;
1048 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c;
1049 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3;
1050 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c;
1051 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3;
861 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 1052 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
862 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; 1053 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
863 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; 1054 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
864 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; 1055 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
865 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2; 1056 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
866 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; 1057 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
867 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 1058 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
868 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; 1059 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
869 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; 1060 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
870 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2; 1061 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2; 1096 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2;
906 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 1097 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
907 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx; 1098 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx;
908 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 1099 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
909 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ; 1100 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ;
910 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 1101 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
911 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; 1102 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2;
912 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 1103 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
913 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ; 1104 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ;
914 vp9_mse16x16 = vp9_mse16x16_c; 1105 vp9_mse16x16 = vp9_mse16x16_c;
1106 if (flags & HAS_SSE2) vp9_mse16x16 = vp9_mse16x16_sse2;
915 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2; 1107 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2;
1108 vp9_mse16x8 = vp9_mse16x8_c;
1109 if (flags & HAS_SSE2) vp9_mse16x8 = vp9_mse16x8_sse2;
1110 vp9_mse8x16 = vp9_mse8x16_c;
1111 if (flags & HAS_SSE2) vp9_mse8x16 = vp9_mse8x16_sse2;
1112 vp9_mse8x8 = vp9_mse8x8_c;
1113 if (flags & HAS_SSE2) vp9_mse8x8 = vp9_mse8x8_sse2;
916 vp9_quantize_b = vp9_quantize_b_c; 1114 vp9_quantize_b = vp9_quantize_b_c;
917 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; 1115 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2;
918 vp9_quantize_fp = vp9_quantize_fp_c; 1116 vp9_quantize_fp = vp9_quantize_fp_c;
919 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; 1117 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2;
1118 vp9_sad16x16 = vp9_sad16x16_c;
1119 if (flags & HAS_SSE2) vp9_sad16x16 = vp9_sad16x16_sse2;
1120 vp9_sad16x16_avg = vp9_sad16x16_avg_c;
1121 if (flags & HAS_SSE2) vp9_sad16x16_avg = vp9_sad16x16_avg_sse2;
920 vp9_sad16x16x3 = vp9_sad16x16x3_c; 1122 vp9_sad16x16x3 = vp9_sad16x16x3_c;
921 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 1123 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
922 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 1124 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
923 vp9_sad16x16x4d = vp9_sad16x16x4d_c; 1125 vp9_sad16x16x4d = vp9_sad16x16x4d_c;
924 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2; 1126 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
1127 vp9_sad16x32 = vp9_sad16x32_c;
1128 if (flags & HAS_SSE2) vp9_sad16x32 = vp9_sad16x32_sse2;
1129 vp9_sad16x32_avg = vp9_sad16x32_avg_c;
1130 if (flags & HAS_SSE2) vp9_sad16x32_avg = vp9_sad16x32_avg_sse2;
925 vp9_sad16x32x4d = vp9_sad16x32x4d_c; 1131 vp9_sad16x32x4d = vp9_sad16x32x4d_c;
926 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2; 1132 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
1133 vp9_sad16x8 = vp9_sad16x8_c;
1134 if (flags & HAS_SSE2) vp9_sad16x8 = vp9_sad16x8_sse2;
1135 vp9_sad16x8_avg = vp9_sad16x8_avg_c;
1136 if (flags & HAS_SSE2) vp9_sad16x8_avg = vp9_sad16x8_avg_sse2;
927 vp9_sad16x8x3 = vp9_sad16x8x3_c; 1137 vp9_sad16x8x3 = vp9_sad16x8x3_c;
928 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 1138 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
929 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 1139 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
930 vp9_sad16x8x4d = vp9_sad16x8x4d_c; 1140 vp9_sad16x8x4d = vp9_sad16x8x4d_c;
931 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; 1141 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
932 vp9_sad32x16 = vp9_sad32x16_c; 1142 vp9_sad32x16 = vp9_sad32x16_c;
1143 if (flags & HAS_SSE2) vp9_sad32x16 = vp9_sad32x16_sse2;
933 if (flags & HAS_AVX2) vp9_sad32x16 = vp9_sad32x16_avx2; 1144 if (flags & HAS_AVX2) vp9_sad32x16 = vp9_sad32x16_avx2;
934 vp9_sad32x16_avg = vp9_sad32x16_avg_c; 1145 vp9_sad32x16_avg = vp9_sad32x16_avg_c;
1146 if (flags & HAS_SSE2) vp9_sad32x16_avg = vp9_sad32x16_avg_sse2;
935 if (flags & HAS_AVX2) vp9_sad32x16_avg = vp9_sad32x16_avg_avx2; 1147 if (flags & HAS_AVX2) vp9_sad32x16_avg = vp9_sad32x16_avg_avx2;
936 vp9_sad32x16x4d = vp9_sad32x16x4d_c; 1148 vp9_sad32x16x4d = vp9_sad32x16x4d_c;
937 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; 1149 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
938 vp9_sad32x32 = vp9_sad32x32_c; 1150 vp9_sad32x32 = vp9_sad32x32_c;
1151 if (flags & HAS_SSE2) vp9_sad32x32 = vp9_sad32x32_sse2;
939 if (flags & HAS_AVX2) vp9_sad32x32 = vp9_sad32x32_avx2; 1152 if (flags & HAS_AVX2) vp9_sad32x32 = vp9_sad32x32_avx2;
940 vp9_sad32x32_avg = vp9_sad32x32_avg_c; 1153 vp9_sad32x32_avg = vp9_sad32x32_avg_c;
1154 if (flags & HAS_SSE2) vp9_sad32x32_avg = vp9_sad32x32_avg_sse2;
941 if (flags & HAS_AVX2) vp9_sad32x32_avg = vp9_sad32x32_avg_avx2; 1155 if (flags & HAS_AVX2) vp9_sad32x32_avg = vp9_sad32x32_avg_avx2;
942 vp9_sad32x32x4d = vp9_sad32x32x4d_c; 1156 vp9_sad32x32x4d = vp9_sad32x32x4d_c;
943 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; 1157 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
944 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2; 1158 if (flags & HAS_AVX2) vp9_sad32x32x4d = vp9_sad32x32x4d_avx2;
945 vp9_sad32x64 = vp9_sad32x64_c; 1159 vp9_sad32x64 = vp9_sad32x64_c;
1160 if (flags & HAS_SSE2) vp9_sad32x64 = vp9_sad32x64_sse2;
946 if (flags & HAS_AVX2) vp9_sad32x64 = vp9_sad32x64_avx2; 1161 if (flags & HAS_AVX2) vp9_sad32x64 = vp9_sad32x64_avx2;
947 vp9_sad32x64_avg = vp9_sad32x64_avg_c; 1162 vp9_sad32x64_avg = vp9_sad32x64_avg_c;
1163 if (flags & HAS_SSE2) vp9_sad32x64_avg = vp9_sad32x64_avg_sse2;
948 if (flags & HAS_AVX2) vp9_sad32x64_avg = vp9_sad32x64_avg_avx2; 1164 if (flags & HAS_AVX2) vp9_sad32x64_avg = vp9_sad32x64_avg_avx2;
949 vp9_sad32x64x4d = vp9_sad32x64x4d_c; 1165 vp9_sad32x64x4d = vp9_sad32x64x4d_c;
950 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; 1166 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
1167 vp9_sad4x4 = vp9_sad4x4_c;
1168 if (flags & HAS_SSE) vp9_sad4x4 = vp9_sad4x4_sse;
1169 vp9_sad4x4_avg = vp9_sad4x4_avg_c;
1170 if (flags & HAS_SSE) vp9_sad4x4_avg = vp9_sad4x4_avg_sse;
951 vp9_sad4x4x3 = vp9_sad4x4x3_c; 1171 vp9_sad4x4x3 = vp9_sad4x4x3_c;
952 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 1172 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
953 vp9_sad4x4x4d = vp9_sad4x4x4d_c; 1173 vp9_sad4x4x4d = vp9_sad4x4x4d_c;
954 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; 1174 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
1175 vp9_sad4x8 = vp9_sad4x8_c;
1176 if (flags & HAS_SSE) vp9_sad4x8 = vp9_sad4x8_sse;
1177 vp9_sad4x8_avg = vp9_sad4x8_avg_c;
1178 if (flags & HAS_SSE) vp9_sad4x8_avg = vp9_sad4x8_avg_sse;
955 vp9_sad4x8x4d = vp9_sad4x8x4d_c; 1179 vp9_sad4x8x4d = vp9_sad4x8x4d_c;
956 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; 1180 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
957 vp9_sad64x32 = vp9_sad64x32_c; 1181 vp9_sad64x32 = vp9_sad64x32_c;
1182 if (flags & HAS_SSE2) vp9_sad64x32 = vp9_sad64x32_sse2;
958 if (flags & HAS_AVX2) vp9_sad64x32 = vp9_sad64x32_avx2; 1183 if (flags & HAS_AVX2) vp9_sad64x32 = vp9_sad64x32_avx2;
959 vp9_sad64x32_avg = vp9_sad64x32_avg_c; 1184 vp9_sad64x32_avg = vp9_sad64x32_avg_c;
1185 if (flags & HAS_SSE2) vp9_sad64x32_avg = vp9_sad64x32_avg_sse2;
960 if (flags & HAS_AVX2) vp9_sad64x32_avg = vp9_sad64x32_avg_avx2; 1186 if (flags & HAS_AVX2) vp9_sad64x32_avg = vp9_sad64x32_avg_avx2;
961 vp9_sad64x32x4d = vp9_sad64x32x4d_c; 1187 vp9_sad64x32x4d = vp9_sad64x32x4d_c;
962 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; 1188 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
963 vp9_sad64x64 = vp9_sad64x64_c; 1189 vp9_sad64x64 = vp9_sad64x64_c;
1190 if (flags & HAS_SSE2) vp9_sad64x64 = vp9_sad64x64_sse2;
964 if (flags & HAS_AVX2) vp9_sad64x64 = vp9_sad64x64_avx2; 1191 if (flags & HAS_AVX2) vp9_sad64x64 = vp9_sad64x64_avx2;
965 vp9_sad64x64_avg = vp9_sad64x64_avg_c; 1192 vp9_sad64x64_avg = vp9_sad64x64_avg_c;
1193 if (flags & HAS_SSE2) vp9_sad64x64_avg = vp9_sad64x64_avg_sse2;
966 if (flags & HAS_AVX2) vp9_sad64x64_avg = vp9_sad64x64_avg_avx2; 1194 if (flags & HAS_AVX2) vp9_sad64x64_avg = vp9_sad64x64_avg_avx2;
967 vp9_sad64x64x4d = vp9_sad64x64x4d_c; 1195 vp9_sad64x64x4d = vp9_sad64x64x4d_c;
968 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; 1196 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
969 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2; 1197 if (flags & HAS_AVX2) vp9_sad64x64x4d = vp9_sad64x64x4d_avx2;
1198 vp9_sad8x16 = vp9_sad8x16_c;
1199 if (flags & HAS_SSE2) vp9_sad8x16 = vp9_sad8x16_sse2;
1200 vp9_sad8x16_avg = vp9_sad8x16_avg_c;
1201 if (flags & HAS_SSE2) vp9_sad8x16_avg = vp9_sad8x16_avg_sse2;
970 vp9_sad8x16x3 = vp9_sad8x16x3_c; 1202 vp9_sad8x16x3 = vp9_sad8x16x3_c;
971 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; 1203 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
972 vp9_sad8x16x4d = vp9_sad8x16x4d_c; 1204 vp9_sad8x16x4d = vp9_sad8x16x4d_c;
973 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; 1205 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
1206 vp9_sad8x4 = vp9_sad8x4_c;
1207 if (flags & HAS_SSE2) vp9_sad8x4 = vp9_sad8x4_sse2;
1208 vp9_sad8x4_avg = vp9_sad8x4_avg_c;
1209 if (flags & HAS_SSE2) vp9_sad8x4_avg = vp9_sad8x4_avg_sse2;
974 vp9_sad8x4x4d = vp9_sad8x4x4d_c; 1210 vp9_sad8x4x4d = vp9_sad8x4x4d_c;
975 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; 1211 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
1212 vp9_sad8x8 = vp9_sad8x8_c;
1213 if (flags & HAS_SSE2) vp9_sad8x8 = vp9_sad8x8_sse2;
1214 vp9_sad8x8_avg = vp9_sad8x8_avg_c;
1215 if (flags & HAS_SSE2) vp9_sad8x8_avg = vp9_sad8x8_avg_sse2;
976 vp9_sad8x8x3 = vp9_sad8x8x3_c; 1216 vp9_sad8x8x3 = vp9_sad8x8x3_c;
977 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; 1217 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
978 vp9_sad8x8x4d = vp9_sad8x8x4d_c; 1218 vp9_sad8x8x4d = vp9_sad8x8x4d_c;
979 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; 1219 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
1220 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_c;
1221 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_va riance16x16_sse2;
1222 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v ariance16x16_ssse3;
1223 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_c;
1224 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_va riance16x32_sse2;
1225 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v ariance16x32_ssse3;
1226 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_c;
1227 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_var iance16x8_sse2;
1228 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va riance16x8_ssse3;
1229 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_c;
1230 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_va riance32x16_sse2;
1231 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v ariance32x16_ssse3;
980 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c; 1232 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c;
1233 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_sse2;
1234 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v ariance32x32_ssse3;
981 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_avx2; 1235 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va riance32x32_avx2;
1236 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_c;
1237 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_va riance32x64_sse2;
1238 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v ariance32x64_ssse3;
1239 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_c;
1240 if (flags & HAS_SSE) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_varia nce4x4_sse;
1241 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var iance4x4_ssse3;
1242 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_c;
1243 if (flags & HAS_SSE) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_varia nce4x8_sse;
1244 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var iance4x8_ssse3;
1245 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_c;
1246 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_va riance64x32_sse2;
1247 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v ariance64x32_ssse3;
982 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c; 1248 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c;
1249 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_sse2;
1250 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v ariance64x64_ssse3;
983 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_avx2; 1251 if (flags & HAS_AVX2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va riance64x64_avx2;
1252 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_c;
1253 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_var iance8x16_sse2;
1254 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va riance8x16_ssse3;
1255 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_c;
1256 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_vari ance8x4_sse2;
1257 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var iance8x4_ssse3;
1258 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_c;
1259 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_vari ance8x8_sse2;
1260 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var iance8x8_ssse3;
1261 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c;
1262 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16 x16_sse2;
1263 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1 6x16_ssse3;
1264 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_c;
1265 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16 x32_sse2;
1266 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1 6x32_ssse3;
1267 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_c;
1268 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x 8_sse2;
1269 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16 x8_ssse3;
1270 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_c;
1271 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32 x16_sse2;
1272 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3 2x16_ssse3;
984 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; 1273 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c;
1274 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_sse2;
1275 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3 2x32_ssse3;
985 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_avx2; 1276 if (flags & HAS_AVX2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_avx2;
1277 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_c;
1278 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32 x64_sse2;
1279 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3 2x64_ssse3;
1280 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_c;
1281 if (flags & HAS_SSE) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_s se;
1282 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4 _ssse3;
1283 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_c;
1284 if (flags & HAS_SSE) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_s se;
1285 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8 _ssse3;
1286 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_c;
1287 if (flags & HAS_SSE2) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64 x32_sse2;
1288 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6 4x32_ssse3;
986 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; 1289 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c;
1290 if (flags & HAS_SSE2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_sse2;
1291 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6 4x64_ssse3;
987 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_avx2; 1292 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64 x64_avx2;
1293 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_c;
1294 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x1 6_sse2;
1295 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x 16_ssse3;
1296 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_c;
1297 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_ sse2;
1298 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4 _ssse3;
1299 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c;
1300 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_ sse2;
1301 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3;
1302 vp9_subtract_block = vp9_subtract_block_c;
1303 if (flags & HAS_SSE2) vp9_subtract_block = vp9_subtract_block_sse2;
988 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; 1304 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
989 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2; 1305 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
1306 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c;
1307 if (flags & HAS_SSE2) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_sse2;
1308 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c;
1309 if (flags & HAS_SSE) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_sse;
1310 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c;
1311 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2;
1312 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c;
1313 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2;
1314 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c;
1315 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2;
1316 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c;
1317 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse;
1318 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c;
1319 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse;
990 vp9_variance16x16 = vp9_variance16x16_c; 1320 vp9_variance16x16 = vp9_variance16x16_c;
1321 if (flags & HAS_SSE2) vp9_variance16x16 = vp9_variance16x16_sse2;
991 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2; 1322 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2;
1323 vp9_variance16x32 = vp9_variance16x32_c;
1324 if (flags & HAS_SSE2) vp9_variance16x32 = vp9_variance16x32_sse2;
1325 vp9_variance16x8 = vp9_variance16x8_c;
1326 if (flags & HAS_SSE2) vp9_variance16x8 = vp9_variance16x8_sse2;
992 vp9_variance32x16 = vp9_variance32x16_c; 1327 vp9_variance32x16 = vp9_variance32x16_c;
1328 if (flags & HAS_SSE2) vp9_variance32x16 = vp9_variance32x16_sse2;
993 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2; 1329 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2;
994 vp9_variance32x32 = vp9_variance32x32_c; 1330 vp9_variance32x32 = vp9_variance32x32_c;
1331 if (flags & HAS_SSE2) vp9_variance32x32 = vp9_variance32x32_sse2;
995 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2; 1332 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2;
1333 vp9_variance32x64 = vp9_variance32x64_c;
1334 if (flags & HAS_SSE2) vp9_variance32x64 = vp9_variance32x64_sse2;
1335 vp9_variance4x4 = vp9_variance4x4_c;
1336 if (flags & HAS_SSE2) vp9_variance4x4 = vp9_variance4x4_sse2;
1337 vp9_variance4x8 = vp9_variance4x8_c;
1338 if (flags & HAS_SSE2) vp9_variance4x8 = vp9_variance4x8_sse2;
996 vp9_variance64x32 = vp9_variance64x32_c; 1339 vp9_variance64x32 = vp9_variance64x32_c;
1340 if (flags & HAS_SSE2) vp9_variance64x32 = vp9_variance64x32_sse2;
997 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2; 1341 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2;
998 vp9_variance64x64 = vp9_variance64x64_c; 1342 vp9_variance64x64 = vp9_variance64x64_c;
1343 if (flags & HAS_SSE2) vp9_variance64x64 = vp9_variance64x64_sse2;
999 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2; 1344 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2;
1345 vp9_variance8x16 = vp9_variance8x16_c;
1346 if (flags & HAS_SSE2) vp9_variance8x16 = vp9_variance8x16_sse2;
1347 vp9_variance8x4 = vp9_variance8x4_c;
1348 if (flags & HAS_SSE2) vp9_variance8x4 = vp9_variance8x4_sse2;
1349 vp9_variance8x8 = vp9_variance8x8_c;
1350 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2;
1000 } 1351 }
1001 #endif 1352 #endif
1002 1353
1003 #ifdef __cplusplus 1354 #ifdef __cplusplus
1004 } // extern "C" 1355 } // extern "C"
1005 #endif 1356 #endif
1006 1357
1007 #endif 1358 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm64/vp9_rtcd.h ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698