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

Side by Side Diff: third_party/libvpx_new/source/config/linux/ia32/vpx_dsp_rtcd.h

Issue 1734613003: Move libvpx_new to libvpx (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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
OLDNEW
(Empty)
1 #ifndef VPX_DSP_RTCD_H_
2 #define VPX_DSP_RTCD_H_
3
4 #ifdef RTCD_C
5 #define RTCD_EXTERN
6 #else
7 #define RTCD_EXTERN extern
8 #endif
9
10 /*
11 * DSP
12 */
13
14 #include "vpx/vpx_integer.h"
15 #include "vpx_dsp/vpx_dsp_common.h"
16
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 unsigned int vpx_avg_4x4_c(const uint8_t *, int p);
23 unsigned int vpx_avg_4x4_sse2(const uint8_t *, int p);
24 RTCD_EXTERN unsigned int (*vpx_avg_4x4)(const uint8_t *, int p);
25
26 unsigned int vpx_avg_8x8_c(const uint8_t *, int p);
27 unsigned int vpx_avg_8x8_sse2(const uint8_t *, int p);
28 RTCD_EXTERN unsigned int (*vpx_avg_8x8)(const uint8_t *, int p);
29
30 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
31 #define vpx_comp_avg_pred vpx_comp_avg_pred_c
32
33 void vpx_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);
34 void vpx_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);
35 void vpx_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);
36 void vpx_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);
37 RTCD_EXTERN void (*vpx_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);
38
39 void vpx_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);
40 void vpx_convolve8_avg_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);
41 void vpx_convolve8_avg_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);
42 RTCD_EXTERN void (*vpx_convolve8_avg)(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);
43
44 void vpx_convolve8_avg_horiz_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 *filter_y, int y_step_q4, int w, int h);
45 void vpx_convolve8_avg_horiz_sse2(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);
46 void vpx_convolve8_avg_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uin t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i nt16_t *filter_y, int y_step_q4, int w, int h);
47 RTCD_EXTERN void (*vpx_convolve8_avg_horiz)(const uint8_t *src, ptrdiff_t src_st ride, 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);
48
49 void vpx_convolve8_avg_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 *filter_y, int y_step_q4, int w, int h);
50 void vpx_convolve8_avg_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 int 16_t *filter_y, int y_step_q4, int w, int h);
51 void vpx_convolve8_avg_vert_ssse3(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);
52 RTCD_EXTERN void (*vpx_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str ide, 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);
53
54 void vpx_convolve8_horiz_c(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);
55 void vpx_convolve8_horiz_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);
56 void vpx_convolve8_horiz_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);
57 void vpx_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);
58 RTCD_EXTERN void (*vpx_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);
59
60 void vpx_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);
61 void vpx_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);
62 void vpx_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);
63 void vpx_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);
64 RTCD_EXTERN void (*vpx_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);
65
66 void vpx_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);
67 void vpx_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);
68 RTCD_EXTERN void (*vpx_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);
69
70 void vpx_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);
71 void vpx_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);
72 RTCD_EXTERN void (*vpx_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);
73
74 void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
75 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
76
77 void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
78 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
79
80 void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
81 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
82
83 void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
84 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
85
86 void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
87 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
88
89 void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
90 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
91
92 void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
93 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
94
95 void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
96 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
97
98 void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
99 void vpx_d153_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
100 RTCD_EXTERN void (*vpx_d153_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
101
102 void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
103 void vpx_d153_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
104 RTCD_EXTERN void (*vpx_d153_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
105
106 void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
107 void vpx_d153_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
108 RTCD_EXTERN void (*vpx_d153_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
109
110 void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
111 void vpx_d153_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
112 RTCD_EXTERN void (*vpx_d153_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
113
114 void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
115 void vpx_d207_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
116 RTCD_EXTERN void (*vpx_d207_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
117
118 void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
119 void vpx_d207_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
120 RTCD_EXTERN void (*vpx_d207_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
121
122 void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
123 void vpx_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
124 RTCD_EXTERN void (*vpx_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
125
126 void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
127 void vpx_d207_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
128 RTCD_EXTERN void (*vpx_d207_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
129
130 void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
131 #define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c
132
133 void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
134 #define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c
135
136 void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
137 #define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c
138
139 void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
140 #define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c
141
142 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
143 void vpx_d45_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
144 RTCD_EXTERN void (*vpx_d45_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
145
146 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
147 void vpx_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
148 RTCD_EXTERN void (*vpx_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
149
150 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
151 void vpx_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
152 RTCD_EXTERN void (*vpx_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
153
154 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
155 void vpx_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
156 RTCD_EXTERN void (*vpx_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
157
158 void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
159 #define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c
160
161 void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
162 #define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c
163
164 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
165 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
166
167 void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
168 #define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c
169
170 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
171 void vpx_d63_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
172 RTCD_EXTERN void (*vpx_d63_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
173
174 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
175 void vpx_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
176 RTCD_EXTERN void (*vpx_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
177
178 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
179 void vpx_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
180 RTCD_EXTERN void (*vpx_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
181
182 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
183 void vpx_d63_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
184 RTCD_EXTERN void (*vpx_d63_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
185
186 void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
187 #define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c
188
189 void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
190 #define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c
191
192 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
193 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
194
195 void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
196 #define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c
197
198 void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
199 #define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c
200
201 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
202 void vpx_dc_128_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
203 RTCD_EXTERN void (*vpx_dc_128_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
204
205 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
206 void vpx_dc_128_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
207 RTCD_EXTERN void (*vpx_dc_128_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
208
209 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
210 void vpx_dc_128_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
211 RTCD_EXTERN void (*vpx_dc_128_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
212
213 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
214 void vpx_dc_128_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
215 RTCD_EXTERN void (*vpx_dc_128_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
216
217 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
218 void vpx_dc_left_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const ui nt8_t *above, const uint8_t *left);
219 RTCD_EXTERN void (*vpx_dc_left_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride , const uint8_t *above, const uint8_t *left);
220
221 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
222 void vpx_dc_left_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const ui nt8_t *above, const uint8_t *left);
223 RTCD_EXTERN void (*vpx_dc_left_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride , const uint8_t *above, const uint8_t *left);
224
225 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
226 void vpx_dc_left_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
227 RTCD_EXTERN void (*vpx_dc_left_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
228
229 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
230 void vpx_dc_left_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
231 RTCD_EXTERN void (*vpx_dc_left_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
232
233 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
234 void vpx_dc_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
235 RTCD_EXTERN void (*vpx_dc_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
236
237 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
238 void vpx_dc_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
239 RTCD_EXTERN void (*vpx_dc_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
240
241 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
242 void vpx_dc_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
243 RTCD_EXTERN void (*vpx_dc_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
244
245 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
246 void vpx_dc_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
247 RTCD_EXTERN void (*vpx_dc_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
248
249 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
250 void vpx_dc_top_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
251 RTCD_EXTERN void (*vpx_dc_top_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
252
253 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
254 void vpx_dc_top_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
255 RTCD_EXTERN void (*vpx_dc_top_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
256
257 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
258 void vpx_dc_top_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
259 RTCD_EXTERN void (*vpx_dc_top_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
260
261 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
262 void vpx_dc_top_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
263 RTCD_EXTERN void (*vpx_dc_top_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
264
265 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
266 void vpx_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride);
267 RTCD_EXTERN void (*vpx_fdct16x16)(const int16_t *input, tran_low_t *output, int stride);
268
269 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
270 void vpx_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride);
271 RTCD_EXTERN void (*vpx_fdct16x16_1)(const int16_t *input, tran_low_t *output, in t stride);
272
273 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
274 void vpx_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride);
275 void vpx_fdct32x32_avx2(const int16_t *input, tran_low_t *output, int stride);
276 RTCD_EXTERN void (*vpx_fdct32x32)(const int16_t *input, tran_low_t *output, int stride);
277
278 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
279 void vpx_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride);
280 RTCD_EXTERN void (*vpx_fdct32x32_1)(const int16_t *input, tran_low_t *output, in t stride);
281
282 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
283 void vpx_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride) ;
284 void vpx_fdct32x32_rd_avx2(const int16_t *input, tran_low_t *output, int stride) ;
285 RTCD_EXTERN void (*vpx_fdct32x32_rd)(const int16_t *input, tran_low_t *output, i nt stride);
286
287 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
288 void vpx_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
289 RTCD_EXTERN void (*vpx_fdct4x4)(const int16_t *input, tran_low_t *output, int st ride);
290
291 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
292 void vpx_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride);
293 RTCD_EXTERN void (*vpx_fdct4x4_1)(const int16_t *input, tran_low_t *output, int stride);
294
295 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
296 void vpx_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride);
297 RTCD_EXTERN void (*vpx_fdct8x8)(const int16_t *input, tran_low_t *output, int st ride);
298
299 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
300 void vpx_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride);
301 RTCD_EXTERN void (*vpx_fdct8x8_1)(const int16_t *input, tran_low_t *output, int stride);
302
303 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
304 void vpx_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
305 void vpx_get16x16var_avx2(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 (*vpx_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
307
308 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
309 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
310
311 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
312 void vpx_get8x8var_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
313 void vpx_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
314 RTCD_EXTERN void (*vpx_get8x8var)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
315
316 unsigned int vpx_get_mb_ss_c(const int16_t *);
317 unsigned int vpx_get_mb_ss_mmx(const int16_t *);
318 unsigned int vpx_get_mb_ss_sse2(const int16_t *);
319 RTCD_EXTERN unsigned int (*vpx_get_mb_ss)(const int16_t *);
320
321 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
322 void vpx_h_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
323 RTCD_EXTERN void (*vpx_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
324
325 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
326 void vpx_h_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
327 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
328
329 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
330 void vpx_h_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
331 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
332
333 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
334 void vpx_h_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
335 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
336
337 void vpx_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coef f);
338 void vpx_hadamard_16x16_sse2(int16_t const *src_diff, int src_stride, int16_t *c oeff);
339 RTCD_EXTERN void (*vpx_hadamard_16x16)(int16_t const *src_diff, int src_stride, int16_t *coeff);
340
341 void vpx_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff) ;
342 void vpx_hadamard_8x8_sse2(int16_t const *src_diff, int src_stride, int16_t *coe ff);
343 RTCD_EXTERN void (*vpx_hadamard_8x8)(int16_t const *src_diff, int src_stride, in t16_t *coeff);
344
345 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
346 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
347
348 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
349 void vpx_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
350 RTCD_EXTERN void (*vpx_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
351
352 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
353 void vpx_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
354 RTCD_EXTERN void (*vpx_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
355
356 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
357 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest _stride);
358 RTCD_EXTERN void (*vpx_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest , int dest_stride);
359
360 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s tride);
361 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des t_stride);
362 RTCD_EXTERN void (*vpx_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des t, int dest_stride);
363
364 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
365 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des t_stride);
366 RTCD_EXTERN void (*vpx_idct32x32_135_add)(const tran_low_t *input, uint8_t *dest , int dest_stride);
367
368 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
369 void vpx_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
370 RTCD_EXTERN void (*vpx_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
371
372 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
373 void vpx_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
374 RTCD_EXTERN void (*vpx_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest, int dest_stride);
375
376 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
377 void vpx_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
378 RTCD_EXTERN void (*vpx_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i nt dest_stride);
379
380 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
381 void vpx_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide);
382 RTCD_EXTERN void (*vpx_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride);
383
384 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
385 void vpx_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
386 RTCD_EXTERN void (*vpx_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i nt dest_stride);
387
388 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
389 void vpx_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide);
390 RTCD_EXTERN void (*vpx_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in t dest_stride);
391
392 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
393 void vpx_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
394 RTCD_EXTERN void (*vpx_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i nt dest_stride);
395
396 int16_t vpx_int_pro_col_c(uint8_t const *ref, const int width);
397 int16_t vpx_int_pro_col_sse2(uint8_t const *ref, const int width);
398 RTCD_EXTERN int16_t (*vpx_int_pro_col)(uint8_t const *ref, const int width);
399
400 void vpx_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride, const int height);
401 void vpx_int_pro_row_sse2(int16_t *hbuf, uint8_t const *ref, const int ref_strid e, const int height);
402 RTCD_EXTERN void (*vpx_int_pro_row)(int16_t *hbuf, uint8_t const *ref, const int ref_stride, const int height);
403
404 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
405 void vpx_iwht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
406 RTCD_EXTERN void (*vpx_iwht4x4_16_add)(const tran_low_t *input, uint8_t *dest, i nt dest_stride);
407
408 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
409 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
410
411 void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
412 void vpx_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co nst uint8_t *limit, const uint8_t *thresh, int count);
413 void vpx_lpf_horizontal_16_avx2(uint8_t *s, int pitch, const uint8_t *blimit, co nst uint8_t *limit, const uint8_t *thresh, int count);
414 RTCD_EXTERN void (*vpx_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t * blimit, const uint8_t *limit, const uint8_t *thresh, int count);
415
416 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
417 void vpx_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons t uint8_t *limit, const uint8_t *thresh, int count);
418 RTCD_EXTERN void (*vpx_lpf_horizontal_4)(uint8_t *s, int pitch, const uint8_t *b limit, const uint8_t *limit, const uint8_t *thresh, int count);
419
420 void vpx_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin t8_t *limit1, const uint8_t *thresh1);
421 void vpx_lpf_horizontal_4_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit 0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
422 RTCD_EXTERN void (*vpx_lpf_horizontal_4_dual)(uint8_t *s, int pitch, const uint8 _t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimi t1, const uint8_t *limit1, const uint8_t *thresh1);
423
424 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
425 void vpx_lpf_horizontal_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, con st uint8_t *limit, const uint8_t *thresh, int count);
426 RTCD_EXTERN void (*vpx_lpf_horizontal_8)(uint8_t *s, int pitch, const uint8_t *b limit, const uint8_t *limit, const uint8_t *thresh, int count);
427
428 void vpx_lpf_horizontal_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin t8_t *limit1, const uint8_t *thresh1);
429 void vpx_lpf_horizontal_8_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit 0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
430 RTCD_EXTERN void (*vpx_lpf_horizontal_8_dual)(uint8_t *s, int pitch, const uint8 _t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimi t1, const uint8_t *limit1, const uint8_t *thresh1);
431
432 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u int8_t *limit, const uint8_t *thresh);
433 void vpx_lpf_vertical_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, cons t uint8_t *limit, const uint8_t *thresh);
434 RTCD_EXTERN void (*vpx_lpf_vertical_16)(uint8_t *s, int pitch, const uint8_t *bl imit, const uint8_t *limit, const uint8_t *thresh);
435
436 void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, co nst uint8_t *limit, const uint8_t *thresh);
437 void vpx_lpf_vertical_16_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
438 RTCD_EXTERN void (*vpx_lpf_vertical_16_dual)(uint8_t *s, int pitch, const uint8_ t *blimit, const uint8_t *limit, const uint8_t *thresh);
439
440 void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count);
441 void vpx_lpf_vertical_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
442 RTCD_EXTERN void (*vpx_lpf_vertical_4)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
443
444 void vpx_lpf_vertical_4_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);
445 void vpx_lpf_vertical_4_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);
446 RTCD_EXTERN void (*vpx_lpf_vertical_4_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);
447
448 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui nt8_t *limit, const uint8_t *thresh, int count);
449 void vpx_lpf_vertical_8_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
450 RTCD_EXTERN void (*vpx_lpf_vertical_8)(uint8_t *s, int pitch, const uint8_t *bli mit, const uint8_t *limit, const uint8_t *thresh, int count);
451
452 void vpx_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);
453 void vpx_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);
454 RTCD_EXTERN void (*vpx_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);
455
456 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max);
457 void vpx_minmax_8x8_sse2(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
458 RTCD_EXTERN void (*vpx_minmax_8x8)(const uint8_t *s, int p, const uint8_t *d, in t dp, int *min, int *max);
459
460 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
461 unsigned int vpx_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
462 unsigned int vpx_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
463 unsigned int vpx_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
464 RTCD_EXTERN unsigned int (*vpx_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
465
466 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
467 unsigned int vpx_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
468 RTCD_EXTERN unsigned int (*vpx_mse16x8)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
469
470 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
471 unsigned int vpx_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
472 RTCD_EXTERN unsigned int (*vpx_mse8x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
473
474 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
475 unsigned int vpx_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int recon_stride, unsigned int *sse);
476 RTCD_EXTERN unsigned int (*vpx_mse8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
477
478 void vpx_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);
479 void vpx_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);
480 RTCD_EXTERN void (*vpx_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);
481
482 void vpx_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);
483 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
484
485 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
486 unsigned int vpx_sad16x16_mmx(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride);
487 unsigned int vpx_sad16x16_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
488 RTCD_EXTERN unsigned int (*vpx_sad16x16)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
489
490 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
491 unsigned int vpx_sad16x16_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
492 RTCD_EXTERN unsigned int (*vpx_sad16x16_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
493
494 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
495 void vpx_sad16x16x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
496 void vpx_sad16x16x3_ssse3(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
497 RTCD_EXTERN void (*vpx_sad16x16x3)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
498
499 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
500 void vpx_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
501 RTCD_EXTERN void (*vpx_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
502
503 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
504 void vpx_sad16x16x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
505 RTCD_EXTERN void (*vpx_sad16x16x8)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
506
507 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
508 unsigned int vpx_sad16x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
509 RTCD_EXTERN unsigned int (*vpx_sad16x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
510
511 unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
512 unsigned int vpx_sad16x32_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
513 RTCD_EXTERN unsigned int (*vpx_sad16x32_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
514
515 void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
516 void vpx_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
517 RTCD_EXTERN void (*vpx_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
518
519 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
520 unsigned int vpx_sad16x8_mmx(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
521 unsigned int vpx_sad16x8_sse2(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride);
522 RTCD_EXTERN unsigned int (*vpx_sad16x8)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
523
524 unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
525 unsigned int vpx_sad16x8_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
526 RTCD_EXTERN unsigned int (*vpx_sad16x8_avg)(const uint8_t *src_ptr, int src_stri de, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
527
528 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
529 void vpx_sad16x8x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t *r ef_ptr, int ref_stride, uint32_t *sad_array);
530 void vpx_sad16x8x3_ssse3(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
531 RTCD_EXTERN void (*vpx_sad16x8x3)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
532
533 void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co nst ref_ptr[], int ref_stride, uint32_t *sad_array);
534 void vpx_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
535 RTCD_EXTERN void (*vpx_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
536
537 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
538 void vpx_sad16x8x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
539 RTCD_EXTERN void (*vpx_sad16x8x8)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
540
541 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
542 unsigned int vpx_sad32x16_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
543 unsigned int vpx_sad32x16_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
544 RTCD_EXTERN unsigned int (*vpx_sad32x16)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
545
546 unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
547 unsigned int vpx_sad32x16_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
548 unsigned int vpx_sad32x16_avg_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
549 RTCD_EXTERN unsigned int (*vpx_sad32x16_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
550
551 void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
552 void vpx_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
553 RTCD_EXTERN void (*vpx_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
554
555 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
556 unsigned int vpx_sad32x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
557 unsigned int vpx_sad32x32_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
558 RTCD_EXTERN unsigned int (*vpx_sad32x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
559
560 unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
561 unsigned int vpx_sad32x32_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
562 unsigned int vpx_sad32x32_avg_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
563 RTCD_EXTERN unsigned int (*vpx_sad32x32_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
564
565 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
566 #define vpx_sad32x32x3 vpx_sad32x32x3_c
567
568 void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
569 void vpx_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
570 void vpx_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
571 RTCD_EXTERN void (*vpx_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
572
573 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
574 #define vpx_sad32x32x8 vpx_sad32x32x8_c
575
576 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
577 unsigned int vpx_sad32x64_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
578 unsigned int vpx_sad32x64_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
579 RTCD_EXTERN unsigned int (*vpx_sad32x64)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
580
581 unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
582 unsigned int vpx_sad32x64_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
583 unsigned int vpx_sad32x64_avg_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
584 RTCD_EXTERN unsigned int (*vpx_sad32x64_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
585
586 void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
587 void vpx_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
588 RTCD_EXTERN void (*vpx_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
589
590 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
591 unsigned int vpx_sad4x4_mmx(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
592 unsigned int vpx_sad4x4_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
593 RTCD_EXTERN unsigned int (*vpx_sad4x4)(const uint8_t *src_ptr, int src_stride, c onst uint8_t *ref_ptr, int ref_stride);
594
595 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
596 unsigned int vpx_sad4x4_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
597 RTCD_EXTERN unsigned int (*vpx_sad4x4_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
598
599 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
600 void vpx_sad4x4x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
601 RTCD_EXTERN void (*vpx_sad4x4x3)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
602
603 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
604 void vpx_sad4x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
605 RTCD_EXTERN void (*vpx_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
606
607 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
608 void vpx_sad4x4x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
609 RTCD_EXTERN void (*vpx_sad4x4x8)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
610
611 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
612 unsigned int vpx_sad4x8_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
613 RTCD_EXTERN unsigned int (*vpx_sad4x8)(const uint8_t *src_ptr, int src_stride, c onst uint8_t *ref_ptr, int ref_stride);
614
615 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
616 unsigned int vpx_sad4x8_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
617 RTCD_EXTERN unsigned int (*vpx_sad4x8_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
618
619 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
620 void vpx_sad4x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
621 RTCD_EXTERN void (*vpx_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
622
623 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
624 #define vpx_sad4x8x8 vpx_sad4x8x8_c
625
626 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
627 unsigned int vpx_sad64x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
628 unsigned int vpx_sad64x32_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
629 RTCD_EXTERN unsigned int (*vpx_sad64x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
630
631 unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
632 unsigned int vpx_sad64x32_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
633 unsigned int vpx_sad64x32_avg_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
634 RTCD_EXTERN unsigned int (*vpx_sad64x32_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
635
636 void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
637 void vpx_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
638 RTCD_EXTERN void (*vpx_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
639
640 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
641 unsigned int vpx_sad64x64_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
642 unsigned int vpx_sad64x64_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
643 RTCD_EXTERN unsigned int (*vpx_sad64x64)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
644
645 unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
646 unsigned int vpx_sad64x64_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
647 unsigned int vpx_sad64x64_avg_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
648 RTCD_EXTERN unsigned int (*vpx_sad64x64_avg)(const uint8_t *src_ptr, int src_str ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
649
650 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
651 #define vpx_sad64x64x3 vpx_sad64x64x3_c
652
653 void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
654 void vpx_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
655 void vpx_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
656 RTCD_EXTERN void (*vpx_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, cons t uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
657
658 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
659 #define vpx_sad64x64x8 vpx_sad64x64x8_c
660
661 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
662 unsigned int vpx_sad8x16_mmx(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
663 unsigned int vpx_sad8x16_sse2(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride);
664 RTCD_EXTERN unsigned int (*vpx_sad8x16)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
665
666 unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
667 unsigned int vpx_sad8x16_avg_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
668 RTCD_EXTERN unsigned int (*vpx_sad8x16_avg)(const uint8_t *src_ptr, int src_stri de, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
669
670 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
671 void vpx_sad8x16x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t *r ef_ptr, int ref_stride, uint32_t *sad_array);
672 RTCD_EXTERN void (*vpx_sad8x16x3)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
673
674 void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co nst ref_ptr[], int ref_stride, uint32_t *sad_array);
675 void vpx_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
676 RTCD_EXTERN void (*vpx_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
677
678 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
679 void vpx_sad8x16x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
680 RTCD_EXTERN void (*vpx_sad8x16x8)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
681
682 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
683 unsigned int vpx_sad8x4_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
684 RTCD_EXTERN unsigned int (*vpx_sad8x4)(const uint8_t *src_ptr, int src_stride, c onst uint8_t *ref_ptr, int ref_stride);
685
686 unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
687 unsigned int vpx_sad8x4_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
688 RTCD_EXTERN unsigned int (*vpx_sad8x4_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
689
690 void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
691 void vpx_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
692 RTCD_EXTERN void (*vpx_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
693
694 void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
695 #define vpx_sad8x4x8 vpx_sad8x4x8_c
696
697 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
698 unsigned int vpx_sad8x8_mmx(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
699 unsigned int vpx_sad8x8_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
700 RTCD_EXTERN unsigned int (*vpx_sad8x8)(const uint8_t *src_ptr, int src_stride, c onst uint8_t *ref_ptr, int ref_stride);
701
702 unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
703 unsigned int vpx_sad8x8_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
704 RTCD_EXTERN unsigned int (*vpx_sad8x8_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
705
706 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
707 void vpx_sad8x8x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
708 RTCD_EXTERN void (*vpx_sad8x8x3)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
709
710 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
711 void vpx_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
712 RTCD_EXTERN void (*vpx_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
713
714 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
715 void vpx_sad8x8x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
716 RTCD_EXTERN void (*vpx_sad8x8x8)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
717
718 int vpx_satd_c(const int16_t *coeff, int length);
719 int vpx_satd_sse2(const int16_t *coeff, int length);
720 RTCD_EXTERN int (*vpx_satd)(const int16_t *coeff, int length);
721
722 void vpx_scaled_2d_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);
723 void vpx_scaled_2d_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);
724 RTCD_EXTERN void (*vpx_scaled_2d)(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);
725
726 void vpx_scaled_avg_2d_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);
727 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
728
729 void vpx_scaled_avg_horiz_c(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);
730 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
731
732 void vpx_scaled_avg_vert_c(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);
733 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
734
735 void vpx_scaled_horiz_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);
736 #define vpx_scaled_horiz vpx_scaled_horiz_c
737
738 void vpx_scaled_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, p trdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filt er_y, int y_step_q4, int w, int h);
739 #define vpx_scaled_vert vpx_scaled_vert_c
740
741 uint32_t vpx_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
742 uint32_t vpx_sub_pixel_avg_variance16x16_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
743 uint32_t vpx_sub_pixel_avg_variance16x16_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
744 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
745
746 uint32_t vpx_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
747 uint32_t vpx_sub_pixel_avg_variance16x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
748 uint32_t vpx_sub_pixel_avg_variance16x32_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
749 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
750
751 uint32_t vpx_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
752 uint32_t vpx_sub_pixel_avg_variance16x8_sse2(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint3 2_t *sse, const uint8_t *second_pred);
753 uint32_t vpx_sub_pixel_avg_variance16x8_ssse3(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
754 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x8)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, uint32_t *sse, const uint8_t *second_pred);
755
756 uint32_t vpx_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
757 uint32_t vpx_sub_pixel_avg_variance32x16_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
758 uint32_t vpx_sub_pixel_avg_variance32x16_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
759 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance32x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
760
761 uint32_t vpx_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
762 uint32_t vpx_sub_pixel_avg_variance32x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
763 uint32_t vpx_sub_pixel_avg_variance32x32_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
764 uint32_t vpx_sub_pixel_avg_variance32x32_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
765 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance32x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
766
767 uint32_t vpx_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
768 uint32_t vpx_sub_pixel_avg_variance32x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
769 uint32_t vpx_sub_pixel_avg_variance32x64_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
770 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance32x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
771
772 uint32_t vpx_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
773 uint32_t vpx_sub_pixel_avg_variance4x4_sse(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
774 uint32_t vpx_sub_pixel_avg_variance4x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint3 2_t *sse, const uint8_t *second_pred);
775 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance4x4)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, uint32_t *sse, const uint8_t *second_pred);
776
777 uint32_t vpx_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
778 uint32_t vpx_sub_pixel_avg_variance4x8_sse(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
779 uint32_t vpx_sub_pixel_avg_variance4x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint3 2_t *sse, const uint8_t *second_pred);
780 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance4x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, uint32_t *sse, const uint8_t *second_pred);
781
782 uint32_t vpx_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
783 uint32_t vpx_sub_pixel_avg_variance64x32_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
784 uint32_t vpx_sub_pixel_avg_variance64x32_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
785 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance64x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
786
787 uint32_t vpx_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse, const uint8_t *second_pred);
788 uint32_t vpx_sub_pixel_avg_variance64x64_sse2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
789 uint32_t vpx_sub_pixel_avg_variance64x64_ssse3(const uint8_t *src_ptr, int sourc e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin t32_t *sse, const uint8_t *second_pred);
790 uint32_t vpx_sub_pixel_avg_variance64x64_avx2(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
791 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, uint32_t *sse, const uint8_t *second_pred);
792
793 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
794 uint32_t vpx_sub_pixel_avg_variance8x16_sse2(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint3 2_t *sse, const uint8_t *second_pred);
795 uint32_t vpx_sub_pixel_avg_variance8x16_ssse3(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint 32_t *sse, const uint8_t *second_pred);
796 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance8x16)(const uint8_t *src_ptr, i nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str ide, uint32_t *sse, const uint8_t *second_pred);
797
798 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
799 uint32_t vpx_sub_pixel_avg_variance8x4_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32 _t *sse, const uint8_t *second_pred);
800 uint32_t vpx_sub_pixel_avg_variance8x4_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint3 2_t *sse, const uint8_t *second_pred);
801 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance8x4)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, uint32_t *sse, const uint8_t *second_pred);
802
803 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
804 uint32_t vpx_sub_pixel_avg_variance8x8_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32 _t *sse, const uint8_t *second_pred);
805 uint32_t vpx_sub_pixel_avg_variance8x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint3 2_t *sse, const uint8_t *second_pred);
806 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance8x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, uint32_t *sse, const uint8_t *second_pred);
807
808 uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
809 uint32_t vpx_sub_pixel_variance16x16_mmx(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
810 uint32_t vpx_sub_pixel_variance16x16_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
811 uint32_t vpx_sub_pixel_variance16x16_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
812 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
813
814 uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
815 uint32_t vpx_sub_pixel_variance16x32_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
816 uint32_t vpx_sub_pixel_variance16x32_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
817 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance16x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
818
819 uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss e);
820 uint32_t vpx_sub_pixel_variance16x8_mmx(const uint8_t *src_ptr, int source_strid e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t * sse);
821 uint32_t vpx_sub_pixel_variance16x8_sse2(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
822 uint32_t vpx_sub_pixel_variance16x8_ssse3(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
823 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance16x8)(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
824
825 uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
826 uint32_t vpx_sub_pixel_variance32x16_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
827 uint32_t vpx_sub_pixel_variance32x16_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
828 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance32x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
829
830 uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
831 uint32_t vpx_sub_pixel_variance32x32_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
832 uint32_t vpx_sub_pixel_variance32x32_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
833 uint32_t vpx_sub_pixel_variance32x32_avx2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
834 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance32x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
835
836 uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
837 uint32_t vpx_sub_pixel_variance32x64_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
838 uint32_t vpx_sub_pixel_variance32x64_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
839 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance32x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
840
841 uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse );
842 uint32_t vpx_sub_pixel_variance4x4_mmx(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
843 uint32_t vpx_sub_pixel_variance4x4_sse(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
844 uint32_t vpx_sub_pixel_variance4x4_ssse3(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
845 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance4x4)(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
846
847 uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse );
848 uint32_t vpx_sub_pixel_variance4x8_sse(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
849 uint32_t vpx_sub_pixel_variance4x8_ssse3(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
850 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance4x8)(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
851
852 uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
853 uint32_t vpx_sub_pixel_variance64x32_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
854 uint32_t vpx_sub_pixel_variance64x32_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
855 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance64x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
856
857 uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
858 uint32_t vpx_sub_pixel_variance64x64_sse2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
859 uint32_t vpx_sub_pixel_variance64x64_ssse3(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
860 uint32_t vpx_sub_pixel_variance64x64_avx2(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
861 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
862
863 uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss e);
864 uint32_t vpx_sub_pixel_variance8x16_mmx(const uint8_t *src_ptr, int source_strid e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t * sse);
865 uint32_t vpx_sub_pixel_variance8x16_sse2(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
866 uint32_t vpx_sub_pixel_variance8x16_ssse3(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
867 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance8x16)(const uint8_t *src_ptr, int s ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
868
869 uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse );
870 uint32_t vpx_sub_pixel_variance8x4_sse2(const uint8_t *src_ptr, int source_strid e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t * sse);
871 uint32_t vpx_sub_pixel_variance8x4_ssse3(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
872 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance8x4)(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
873
874 uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse );
875 uint32_t vpx_sub_pixel_variance8x8_mmx(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
876 uint32_t vpx_sub_pixel_variance8x8_sse2(const uint8_t *src_ptr, int source_strid e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t * sse);
877 uint32_t vpx_sub_pixel_variance8x8_ssse3(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
878 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance8x8)(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
879
880 void vpx_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);
881 void vpx_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);
882 RTCD_EXTERN void (*vpx_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);
883
884 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
885 void vpx_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
886 RTCD_EXTERN void (*vpx_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
887
888 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
889 void vpx_tm_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
890 RTCD_EXTERN void (*vpx_tm_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
891
892 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
893 void vpx_tm_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
894 RTCD_EXTERN void (*vpx_tm_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
895
896 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
897 void vpx_tm_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
898 RTCD_EXTERN void (*vpx_tm_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
899
900 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
901 void vpx_v_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
902 RTCD_EXTERN void (*vpx_v_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
903
904 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
905 void vpx_v_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
906 RTCD_EXTERN void (*vpx_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
907
908 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
909 void vpx_v_predictor_4x4_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
910 RTCD_EXTERN void (*vpx_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
911
912 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
913 void vpx_v_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
914 RTCD_EXTERN void (*vpx_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
915
916 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
917 unsigned int vpx_variance16x16_mmx(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
918 unsigned int vpx_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
919 unsigned int vpx_variance16x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
920 RTCD_EXTERN unsigned int (*vpx_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
921
922 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
923 unsigned int vpx_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
924 RTCD_EXTERN unsigned int (*vpx_variance16x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
925
926 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
927 unsigned int vpx_variance16x8_mmx(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
928 unsigned int vpx_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
929 RTCD_EXTERN unsigned int (*vpx_variance16x8)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
930
931 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
932 unsigned int vpx_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
933 unsigned int vpx_variance32x16_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
934 RTCD_EXTERN unsigned int (*vpx_variance32x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
935
936 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
937 unsigned int vpx_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
938 unsigned int vpx_variance32x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
939 RTCD_EXTERN unsigned int (*vpx_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
940
941 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
942 unsigned int vpx_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
943 RTCD_EXTERN unsigned int (*vpx_variance32x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
944
945 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
946 unsigned int vpx_variance4x4_mmx(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
947 unsigned int vpx_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
948 RTCD_EXTERN unsigned int (*vpx_variance4x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
949
950 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
951 unsigned int vpx_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
952 RTCD_EXTERN unsigned int (*vpx_variance4x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
953
954 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
955 unsigned int vpx_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
956 unsigned int vpx_variance64x32_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
957 RTCD_EXTERN unsigned int (*vpx_variance64x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
958
959 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
960 unsigned int vpx_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
961 unsigned int vpx_variance64x64_avx2(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
962 RTCD_EXTERN unsigned int (*vpx_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
963
964 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
965 unsigned int vpx_variance8x16_mmx(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
966 unsigned int vpx_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
967 RTCD_EXTERN unsigned int (*vpx_variance8x16)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
968
969 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
970 unsigned int vpx_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
971 RTCD_EXTERN unsigned int (*vpx_variance8x4)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
972
973 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
974 unsigned int vpx_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
975 unsigned int vpx_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
976 RTCD_EXTERN unsigned int (*vpx_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
977
978 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
979 uint32_t vpx_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, int so urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
980 uint32_t vpx_variance_halfpixvar16x16_h_sse2(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
981 RTCD_EXTERN uint32_t (*vpx_variance_halfpixvar16x16_h)(const unsigned char *src_ ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
982
983 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
984 uint32_t vpx_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
985 uint32_t vpx_variance_halfpixvar16x16_hv_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
986 RTCD_EXTERN uint32_t (*vpx_variance_halfpixvar16x16_hv)(const unsigned char *src _ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
987
988 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
989 uint32_t vpx_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int so urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
990 uint32_t vpx_variance_halfpixvar16x16_v_sse2(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
991 RTCD_EXTERN uint32_t (*vpx_variance_halfpixvar16x16_v)(const unsigned char *src_ ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
992
993 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
994 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
995
996 int vpx_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl);
997 int vpx_vector_var_sse2(int16_t const *ref, int16_t const *src, const int bwl);
998 RTCD_EXTERN int (*vpx_vector_var)(int16_t const *ref, int16_t const *src, const int bwl);
999
1000 void vpx_dsp_rtcd(void);
1001
1002 #ifdef RTCD_C
1003 #include "vpx_ports/x86.h"
1004 static void setup_rtcd_internal(void)
1005 {
1006 int flags = x86_simd_caps();
1007
1008 (void)flags;
1009
1010 vpx_avg_4x4 = vpx_avg_4x4_c;
1011 if (flags & HAS_SSE2) vpx_avg_4x4 = vpx_avg_4x4_sse2;
1012 vpx_avg_8x8 = vpx_avg_8x8_c;
1013 if (flags & HAS_SSE2) vpx_avg_8x8 = vpx_avg_8x8_sse2;
1014 vpx_convolve8 = vpx_convolve8_c;
1015 if (flags & HAS_SSE2) vpx_convolve8 = vpx_convolve8_sse2;
1016 if (flags & HAS_SSSE3) vpx_convolve8 = vpx_convolve8_ssse3;
1017 if (flags & HAS_AVX2) vpx_convolve8 = vpx_convolve8_avx2;
1018 vpx_convolve8_avg = vpx_convolve8_avg_c;
1019 if (flags & HAS_SSE2) vpx_convolve8_avg = vpx_convolve8_avg_sse2;
1020 if (flags & HAS_SSSE3) vpx_convolve8_avg = vpx_convolve8_avg_ssse3;
1021 vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_c;
1022 if (flags & HAS_SSE2) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sse2 ;
1023 if (flags & HAS_SSSE3) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sss e3;
1024 vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_c;
1025 if (flags & HAS_SSE2) vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_sse2;
1026 if (flags & HAS_SSSE3) vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_ssse3 ;
1027 vpx_convolve8_horiz = vpx_convolve8_horiz_c;
1028 if (flags & HAS_SSE2) vpx_convolve8_horiz = vpx_convolve8_horiz_sse2;
1029 if (flags & HAS_SSSE3) vpx_convolve8_horiz = vpx_convolve8_horiz_ssse3;
1030 if (flags & HAS_AVX2) vpx_convolve8_horiz = vpx_convolve8_horiz_avx2;
1031 vpx_convolve8_vert = vpx_convolve8_vert_c;
1032 if (flags & HAS_SSE2) vpx_convolve8_vert = vpx_convolve8_vert_sse2;
1033 if (flags & HAS_SSSE3) vpx_convolve8_vert = vpx_convolve8_vert_ssse3;
1034 if (flags & HAS_AVX2) vpx_convolve8_vert = vpx_convolve8_vert_avx2;
1035 vpx_convolve_avg = vpx_convolve_avg_c;
1036 if (flags & HAS_SSE2) vpx_convolve_avg = vpx_convolve_avg_sse2;
1037 vpx_convolve_copy = vpx_convolve_copy_c;
1038 if (flags & HAS_SSE2) vpx_convolve_copy = vpx_convolve_copy_sse2;
1039 vpx_d153_predictor_16x16 = vpx_d153_predictor_16x16_c;
1040 if (flags & HAS_SSSE3) vpx_d153_predictor_16x16 = vpx_d153_predictor_16x16_s sse3;
1041 vpx_d153_predictor_32x32 = vpx_d153_predictor_32x32_c;
1042 if (flags & HAS_SSSE3) vpx_d153_predictor_32x32 = vpx_d153_predictor_32x32_s sse3;
1043 vpx_d153_predictor_4x4 = vpx_d153_predictor_4x4_c;
1044 if (flags & HAS_SSSE3) vpx_d153_predictor_4x4 = vpx_d153_predictor_4x4_ssse3 ;
1045 vpx_d153_predictor_8x8 = vpx_d153_predictor_8x8_c;
1046 if (flags & HAS_SSSE3) vpx_d153_predictor_8x8 = vpx_d153_predictor_8x8_ssse3 ;
1047 vpx_d207_predictor_16x16 = vpx_d207_predictor_16x16_c;
1048 if (flags & HAS_SSSE3) vpx_d207_predictor_16x16 = vpx_d207_predictor_16x16_s sse3;
1049 vpx_d207_predictor_32x32 = vpx_d207_predictor_32x32_c;
1050 if (flags & HAS_SSSE3) vpx_d207_predictor_32x32 = vpx_d207_predictor_32x32_s sse3;
1051 vpx_d207_predictor_4x4 = vpx_d207_predictor_4x4_c;
1052 if (flags & HAS_SSSE3) vpx_d207_predictor_4x4 = vpx_d207_predictor_4x4_ssse3 ;
1053 vpx_d207_predictor_8x8 = vpx_d207_predictor_8x8_c;
1054 if (flags & HAS_SSSE3) vpx_d207_predictor_8x8 = vpx_d207_predictor_8x8_ssse3 ;
1055 vpx_d45_predictor_16x16 = vpx_d45_predictor_16x16_c;
1056 if (flags & HAS_SSSE3) vpx_d45_predictor_16x16 = vpx_d45_predictor_16x16_sss e3;
1057 vpx_d45_predictor_32x32 = vpx_d45_predictor_32x32_c;
1058 if (flags & HAS_SSSE3) vpx_d45_predictor_32x32 = vpx_d45_predictor_32x32_sss e3;
1059 vpx_d45_predictor_4x4 = vpx_d45_predictor_4x4_c;
1060 if (flags & HAS_SSSE3) vpx_d45_predictor_4x4 = vpx_d45_predictor_4x4_ssse3;
1061 vpx_d45_predictor_8x8 = vpx_d45_predictor_8x8_c;
1062 if (flags & HAS_SSSE3) vpx_d45_predictor_8x8 = vpx_d45_predictor_8x8_ssse3;
1063 vpx_d63_predictor_16x16 = vpx_d63_predictor_16x16_c;
1064 if (flags & HAS_SSSE3) vpx_d63_predictor_16x16 = vpx_d63_predictor_16x16_sss e3;
1065 vpx_d63_predictor_32x32 = vpx_d63_predictor_32x32_c;
1066 if (flags & HAS_SSSE3) vpx_d63_predictor_32x32 = vpx_d63_predictor_32x32_sss e3;
1067 vpx_d63_predictor_4x4 = vpx_d63_predictor_4x4_c;
1068 if (flags & HAS_SSSE3) vpx_d63_predictor_4x4 = vpx_d63_predictor_4x4_ssse3;
1069 vpx_d63_predictor_8x8 = vpx_d63_predictor_8x8_c;
1070 if (flags & HAS_SSSE3) vpx_d63_predictor_8x8 = vpx_d63_predictor_8x8_ssse3;
1071 vpx_dc_128_predictor_16x16 = vpx_dc_128_predictor_16x16_c;
1072 if (flags & HAS_SSE2) vpx_dc_128_predictor_16x16 = vpx_dc_128_predictor_16x1 6_sse2;
1073 vpx_dc_128_predictor_32x32 = vpx_dc_128_predictor_32x32_c;
1074 if (flags & HAS_SSE2) vpx_dc_128_predictor_32x32 = vpx_dc_128_predictor_32x3 2_sse2;
1075 vpx_dc_128_predictor_4x4 = vpx_dc_128_predictor_4x4_c;
1076 if (flags & HAS_SSE2) vpx_dc_128_predictor_4x4 = vpx_dc_128_predictor_4x4_ss e2;
1077 vpx_dc_128_predictor_8x8 = vpx_dc_128_predictor_8x8_c;
1078 if (flags & HAS_SSE2) vpx_dc_128_predictor_8x8 = vpx_dc_128_predictor_8x8_ss e2;
1079 vpx_dc_left_predictor_16x16 = vpx_dc_left_predictor_16x16_c;
1080 if (flags & HAS_SSE2) vpx_dc_left_predictor_16x16 = vpx_dc_left_predictor_16 x16_sse2;
1081 vpx_dc_left_predictor_32x32 = vpx_dc_left_predictor_32x32_c;
1082 if (flags & HAS_SSE2) vpx_dc_left_predictor_32x32 = vpx_dc_left_predictor_32 x32_sse2;
1083 vpx_dc_left_predictor_4x4 = vpx_dc_left_predictor_4x4_c;
1084 if (flags & HAS_SSE2) vpx_dc_left_predictor_4x4 = vpx_dc_left_predictor_4x4_ sse2;
1085 vpx_dc_left_predictor_8x8 = vpx_dc_left_predictor_8x8_c;
1086 if (flags & HAS_SSE2) vpx_dc_left_predictor_8x8 = vpx_dc_left_predictor_8x8_ sse2;
1087 vpx_dc_predictor_16x16 = vpx_dc_predictor_16x16_c;
1088 if (flags & HAS_SSE2) vpx_dc_predictor_16x16 = vpx_dc_predictor_16x16_sse2;
1089 vpx_dc_predictor_32x32 = vpx_dc_predictor_32x32_c;
1090 if (flags & HAS_SSE2) vpx_dc_predictor_32x32 = vpx_dc_predictor_32x32_sse2;
1091 vpx_dc_predictor_4x4 = vpx_dc_predictor_4x4_c;
1092 if (flags & HAS_SSE2) vpx_dc_predictor_4x4 = vpx_dc_predictor_4x4_sse2;
1093 vpx_dc_predictor_8x8 = vpx_dc_predictor_8x8_c;
1094 if (flags & HAS_SSE2) vpx_dc_predictor_8x8 = vpx_dc_predictor_8x8_sse2;
1095 vpx_dc_top_predictor_16x16 = vpx_dc_top_predictor_16x16_c;
1096 if (flags & HAS_SSE2) vpx_dc_top_predictor_16x16 = vpx_dc_top_predictor_16x1 6_sse2;
1097 vpx_dc_top_predictor_32x32 = vpx_dc_top_predictor_32x32_c;
1098 if (flags & HAS_SSE2) vpx_dc_top_predictor_32x32 = vpx_dc_top_predictor_32x3 2_sse2;
1099 vpx_dc_top_predictor_4x4 = vpx_dc_top_predictor_4x4_c;
1100 if (flags & HAS_SSE2) vpx_dc_top_predictor_4x4 = vpx_dc_top_predictor_4x4_ss e2;
1101 vpx_dc_top_predictor_8x8 = vpx_dc_top_predictor_8x8_c;
1102 if (flags & HAS_SSE2) vpx_dc_top_predictor_8x8 = vpx_dc_top_predictor_8x8_ss e2;
1103 vpx_fdct16x16 = vpx_fdct16x16_c;
1104 if (flags & HAS_SSE2) vpx_fdct16x16 = vpx_fdct16x16_sse2;
1105 vpx_fdct16x16_1 = vpx_fdct16x16_1_c;
1106 if (flags & HAS_SSE2) vpx_fdct16x16_1 = vpx_fdct16x16_1_sse2;
1107 vpx_fdct32x32 = vpx_fdct32x32_c;
1108 if (flags & HAS_SSE2) vpx_fdct32x32 = vpx_fdct32x32_sse2;
1109 if (flags & HAS_AVX2) vpx_fdct32x32 = vpx_fdct32x32_avx2;
1110 vpx_fdct32x32_1 = vpx_fdct32x32_1_c;
1111 if (flags & HAS_SSE2) vpx_fdct32x32_1 = vpx_fdct32x32_1_sse2;
1112 vpx_fdct32x32_rd = vpx_fdct32x32_rd_c;
1113 if (flags & HAS_SSE2) vpx_fdct32x32_rd = vpx_fdct32x32_rd_sse2;
1114 if (flags & HAS_AVX2) vpx_fdct32x32_rd = vpx_fdct32x32_rd_avx2;
1115 vpx_fdct4x4 = vpx_fdct4x4_c;
1116 if (flags & HAS_SSE2) vpx_fdct4x4 = vpx_fdct4x4_sse2;
1117 vpx_fdct4x4_1 = vpx_fdct4x4_1_c;
1118 if (flags & HAS_SSE2) vpx_fdct4x4_1 = vpx_fdct4x4_1_sse2;
1119 vpx_fdct8x8 = vpx_fdct8x8_c;
1120 if (flags & HAS_SSE2) vpx_fdct8x8 = vpx_fdct8x8_sse2;
1121 vpx_fdct8x8_1 = vpx_fdct8x8_1_c;
1122 if (flags & HAS_SSE2) vpx_fdct8x8_1 = vpx_fdct8x8_1_sse2;
1123 vpx_get16x16var = vpx_get16x16var_c;
1124 if (flags & HAS_SSE2) vpx_get16x16var = vpx_get16x16var_sse2;
1125 if (flags & HAS_AVX2) vpx_get16x16var = vpx_get16x16var_avx2;
1126 vpx_get8x8var = vpx_get8x8var_c;
1127 if (flags & HAS_MMX) vpx_get8x8var = vpx_get8x8var_mmx;
1128 if (flags & HAS_SSE2) vpx_get8x8var = vpx_get8x8var_sse2;
1129 vpx_get_mb_ss = vpx_get_mb_ss_c;
1130 if (flags & HAS_MMX) vpx_get_mb_ss = vpx_get_mb_ss_mmx;
1131 if (flags & HAS_SSE2) vpx_get_mb_ss = vpx_get_mb_ss_sse2;
1132 vpx_h_predictor_16x16 = vpx_h_predictor_16x16_c;
1133 if (flags & HAS_SSE2) vpx_h_predictor_16x16 = vpx_h_predictor_16x16_sse2;
1134 vpx_h_predictor_32x32 = vpx_h_predictor_32x32_c;
1135 if (flags & HAS_SSE2) vpx_h_predictor_32x32 = vpx_h_predictor_32x32_sse2;
1136 vpx_h_predictor_4x4 = vpx_h_predictor_4x4_c;
1137 if (flags & HAS_SSE2) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_sse2;
1138 vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c;
1139 if (flags & HAS_SSE2) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_sse2;
1140 vpx_hadamard_16x16 = vpx_hadamard_16x16_c;
1141 if (flags & HAS_SSE2) vpx_hadamard_16x16 = vpx_hadamard_16x16_sse2;
1142 vpx_hadamard_8x8 = vpx_hadamard_8x8_c;
1143 if (flags & HAS_SSE2) vpx_hadamard_8x8 = vpx_hadamard_8x8_sse2;
1144 vpx_idct16x16_10_add = vpx_idct16x16_10_add_c;
1145 if (flags & HAS_SSE2) vpx_idct16x16_10_add = vpx_idct16x16_10_add_sse2;
1146 vpx_idct16x16_1_add = vpx_idct16x16_1_add_c;
1147 if (flags & HAS_SSE2) vpx_idct16x16_1_add = vpx_idct16x16_1_add_sse2;
1148 vpx_idct16x16_256_add = vpx_idct16x16_256_add_c;
1149 if (flags & HAS_SSE2) vpx_idct16x16_256_add = vpx_idct16x16_256_add_sse2;
1150 vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_c;
1151 if (flags & HAS_SSE2) vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_sse2;
1152 vpx_idct32x32_135_add = vpx_idct32x32_135_add_c;
1153 if (flags & HAS_SSE2) vpx_idct32x32_135_add = vpx_idct32x32_1024_add_sse2;
1154 vpx_idct32x32_1_add = vpx_idct32x32_1_add_c;
1155 if (flags & HAS_SSE2) vpx_idct32x32_1_add = vpx_idct32x32_1_add_sse2;
1156 vpx_idct32x32_34_add = vpx_idct32x32_34_add_c;
1157 if (flags & HAS_SSE2) vpx_idct32x32_34_add = vpx_idct32x32_34_add_sse2;
1158 vpx_idct4x4_16_add = vpx_idct4x4_16_add_c;
1159 if (flags & HAS_SSE2) vpx_idct4x4_16_add = vpx_idct4x4_16_add_sse2;
1160 vpx_idct4x4_1_add = vpx_idct4x4_1_add_c;
1161 if (flags & HAS_SSE2) vpx_idct4x4_1_add = vpx_idct4x4_1_add_sse2;
1162 vpx_idct8x8_12_add = vpx_idct8x8_12_add_c;
1163 if (flags & HAS_SSE2) vpx_idct8x8_12_add = vpx_idct8x8_12_add_sse2;
1164 vpx_idct8x8_1_add = vpx_idct8x8_1_add_c;
1165 if (flags & HAS_SSE2) vpx_idct8x8_1_add = vpx_idct8x8_1_add_sse2;
1166 vpx_idct8x8_64_add = vpx_idct8x8_64_add_c;
1167 if (flags & HAS_SSE2) vpx_idct8x8_64_add = vpx_idct8x8_64_add_sse2;
1168 vpx_int_pro_col = vpx_int_pro_col_c;
1169 if (flags & HAS_SSE2) vpx_int_pro_col = vpx_int_pro_col_sse2;
1170 vpx_int_pro_row = vpx_int_pro_row_c;
1171 if (flags & HAS_SSE2) vpx_int_pro_row = vpx_int_pro_row_sse2;
1172 vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_c;
1173 if (flags & HAS_SSE2) vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_sse2;
1174 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_c;
1175 if (flags & HAS_SSE2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2;
1176 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2;
1177 vpx_lpf_horizontal_4 = vpx_lpf_horizontal_4_c;
1178 if (flags & HAS_MMX) vpx_lpf_horizontal_4 = vpx_lpf_horizontal_4_mmx;
1179 vpx_lpf_horizontal_4_dual = vpx_lpf_horizontal_4_dual_c;
1180 if (flags & HAS_SSE2) vpx_lpf_horizontal_4_dual = vpx_lpf_horizontal_4_dual_ sse2;
1181 vpx_lpf_horizontal_8 = vpx_lpf_horizontal_8_c;
1182 if (flags & HAS_SSE2) vpx_lpf_horizontal_8 = vpx_lpf_horizontal_8_sse2;
1183 vpx_lpf_horizontal_8_dual = vpx_lpf_horizontal_8_dual_c;
1184 if (flags & HAS_SSE2) vpx_lpf_horizontal_8_dual = vpx_lpf_horizontal_8_dual_ sse2;
1185 vpx_lpf_vertical_16 = vpx_lpf_vertical_16_c;
1186 if (flags & HAS_SSE2) vpx_lpf_vertical_16 = vpx_lpf_vertical_16_sse2;
1187 vpx_lpf_vertical_16_dual = vpx_lpf_vertical_16_dual_c;
1188 if (flags & HAS_SSE2) vpx_lpf_vertical_16_dual = vpx_lpf_vertical_16_dual_ss e2;
1189 vpx_lpf_vertical_4 = vpx_lpf_vertical_4_c;
1190 if (flags & HAS_MMX) vpx_lpf_vertical_4 = vpx_lpf_vertical_4_mmx;
1191 vpx_lpf_vertical_4_dual = vpx_lpf_vertical_4_dual_c;
1192 if (flags & HAS_SSE2) vpx_lpf_vertical_4_dual = vpx_lpf_vertical_4_dual_sse2 ;
1193 vpx_lpf_vertical_8 = vpx_lpf_vertical_8_c;
1194 if (flags & HAS_SSE2) vpx_lpf_vertical_8 = vpx_lpf_vertical_8_sse2;
1195 vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_c;
1196 if (flags & HAS_SSE2) vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_sse2 ;
1197 vpx_minmax_8x8 = vpx_minmax_8x8_c;
1198 if (flags & HAS_SSE2) vpx_minmax_8x8 = vpx_minmax_8x8_sse2;
1199 vpx_mse16x16 = vpx_mse16x16_c;
1200 if (flags & HAS_MMX) vpx_mse16x16 = vpx_mse16x16_mmx;
1201 if (flags & HAS_SSE2) vpx_mse16x16 = vpx_mse16x16_sse2;
1202 if (flags & HAS_AVX2) vpx_mse16x16 = vpx_mse16x16_avx2;
1203 vpx_mse16x8 = vpx_mse16x8_c;
1204 if (flags & HAS_SSE2) vpx_mse16x8 = vpx_mse16x8_sse2;
1205 vpx_mse8x16 = vpx_mse8x16_c;
1206 if (flags & HAS_SSE2) vpx_mse8x16 = vpx_mse8x16_sse2;
1207 vpx_mse8x8 = vpx_mse8x8_c;
1208 if (flags & HAS_SSE2) vpx_mse8x8 = vpx_mse8x8_sse2;
1209 vpx_quantize_b = vpx_quantize_b_c;
1210 if (flags & HAS_SSE2) vpx_quantize_b = vpx_quantize_b_sse2;
1211 vpx_sad16x16 = vpx_sad16x16_c;
1212 if (flags & HAS_MMX) vpx_sad16x16 = vpx_sad16x16_mmx;
1213 if (flags & HAS_SSE2) vpx_sad16x16 = vpx_sad16x16_sse2;
1214 vpx_sad16x16_avg = vpx_sad16x16_avg_c;
1215 if (flags & HAS_SSE2) vpx_sad16x16_avg = vpx_sad16x16_avg_sse2;
1216 vpx_sad16x16x3 = vpx_sad16x16x3_c;
1217 if (flags & HAS_SSE3) vpx_sad16x16x3 = vpx_sad16x16x3_sse3;
1218 if (flags & HAS_SSSE3) vpx_sad16x16x3 = vpx_sad16x16x3_ssse3;
1219 vpx_sad16x16x4d = vpx_sad16x16x4d_c;
1220 if (flags & HAS_SSE2) vpx_sad16x16x4d = vpx_sad16x16x4d_sse2;
1221 vpx_sad16x16x8 = vpx_sad16x16x8_c;
1222 if (flags & HAS_SSE4_1) vpx_sad16x16x8 = vpx_sad16x16x8_sse4_1;
1223 vpx_sad16x32 = vpx_sad16x32_c;
1224 if (flags & HAS_SSE2) vpx_sad16x32 = vpx_sad16x32_sse2;
1225 vpx_sad16x32_avg = vpx_sad16x32_avg_c;
1226 if (flags & HAS_SSE2) vpx_sad16x32_avg = vpx_sad16x32_avg_sse2;
1227 vpx_sad16x32x4d = vpx_sad16x32x4d_c;
1228 if (flags & HAS_SSE2) vpx_sad16x32x4d = vpx_sad16x32x4d_sse2;
1229 vpx_sad16x8 = vpx_sad16x8_c;
1230 if (flags & HAS_MMX) vpx_sad16x8 = vpx_sad16x8_mmx;
1231 if (flags & HAS_SSE2) vpx_sad16x8 = vpx_sad16x8_sse2;
1232 vpx_sad16x8_avg = vpx_sad16x8_avg_c;
1233 if (flags & HAS_SSE2) vpx_sad16x8_avg = vpx_sad16x8_avg_sse2;
1234 vpx_sad16x8x3 = vpx_sad16x8x3_c;
1235 if (flags & HAS_SSE3) vpx_sad16x8x3 = vpx_sad16x8x3_sse3;
1236 if (flags & HAS_SSSE3) vpx_sad16x8x3 = vpx_sad16x8x3_ssse3;
1237 vpx_sad16x8x4d = vpx_sad16x8x4d_c;
1238 if (flags & HAS_SSE2) vpx_sad16x8x4d = vpx_sad16x8x4d_sse2;
1239 vpx_sad16x8x8 = vpx_sad16x8x8_c;
1240 if (flags & HAS_SSE4_1) vpx_sad16x8x8 = vpx_sad16x8x8_sse4_1;
1241 vpx_sad32x16 = vpx_sad32x16_c;
1242 if (flags & HAS_SSE2) vpx_sad32x16 = vpx_sad32x16_sse2;
1243 if (flags & HAS_AVX2) vpx_sad32x16 = vpx_sad32x16_avx2;
1244 vpx_sad32x16_avg = vpx_sad32x16_avg_c;
1245 if (flags & HAS_SSE2) vpx_sad32x16_avg = vpx_sad32x16_avg_sse2;
1246 if (flags & HAS_AVX2) vpx_sad32x16_avg = vpx_sad32x16_avg_avx2;
1247 vpx_sad32x16x4d = vpx_sad32x16x4d_c;
1248 if (flags & HAS_SSE2) vpx_sad32x16x4d = vpx_sad32x16x4d_sse2;
1249 vpx_sad32x32 = vpx_sad32x32_c;
1250 if (flags & HAS_SSE2) vpx_sad32x32 = vpx_sad32x32_sse2;
1251 if (flags & HAS_AVX2) vpx_sad32x32 = vpx_sad32x32_avx2;
1252 vpx_sad32x32_avg = vpx_sad32x32_avg_c;
1253 if (flags & HAS_SSE2) vpx_sad32x32_avg = vpx_sad32x32_avg_sse2;
1254 if (flags & HAS_AVX2) vpx_sad32x32_avg = vpx_sad32x32_avg_avx2;
1255 vpx_sad32x32x4d = vpx_sad32x32x4d_c;
1256 if (flags & HAS_SSE2) vpx_sad32x32x4d = vpx_sad32x32x4d_sse2;
1257 if (flags & HAS_AVX2) vpx_sad32x32x4d = vpx_sad32x32x4d_avx2;
1258 vpx_sad32x64 = vpx_sad32x64_c;
1259 if (flags & HAS_SSE2) vpx_sad32x64 = vpx_sad32x64_sse2;
1260 if (flags & HAS_AVX2) vpx_sad32x64 = vpx_sad32x64_avx2;
1261 vpx_sad32x64_avg = vpx_sad32x64_avg_c;
1262 if (flags & HAS_SSE2) vpx_sad32x64_avg = vpx_sad32x64_avg_sse2;
1263 if (flags & HAS_AVX2) vpx_sad32x64_avg = vpx_sad32x64_avg_avx2;
1264 vpx_sad32x64x4d = vpx_sad32x64x4d_c;
1265 if (flags & HAS_SSE2) vpx_sad32x64x4d = vpx_sad32x64x4d_sse2;
1266 vpx_sad4x4 = vpx_sad4x4_c;
1267 if (flags & HAS_MMX) vpx_sad4x4 = vpx_sad4x4_mmx;
1268 if (flags & HAS_SSE2) vpx_sad4x4 = vpx_sad4x4_sse2;
1269 vpx_sad4x4_avg = vpx_sad4x4_avg_c;
1270 if (flags & HAS_SSE2) vpx_sad4x4_avg = vpx_sad4x4_avg_sse2;
1271 vpx_sad4x4x3 = vpx_sad4x4x3_c;
1272 if (flags & HAS_SSE3) vpx_sad4x4x3 = vpx_sad4x4x3_sse3;
1273 vpx_sad4x4x4d = vpx_sad4x4x4d_c;
1274 if (flags & HAS_SSE2) vpx_sad4x4x4d = vpx_sad4x4x4d_sse2;
1275 vpx_sad4x4x8 = vpx_sad4x4x8_c;
1276 if (flags & HAS_SSE4_1) vpx_sad4x4x8 = vpx_sad4x4x8_sse4_1;
1277 vpx_sad4x8 = vpx_sad4x8_c;
1278 if (flags & HAS_SSE2) vpx_sad4x8 = vpx_sad4x8_sse2;
1279 vpx_sad4x8_avg = vpx_sad4x8_avg_c;
1280 if (flags & HAS_SSE2) vpx_sad4x8_avg = vpx_sad4x8_avg_sse2;
1281 vpx_sad4x8x4d = vpx_sad4x8x4d_c;
1282 if (flags & HAS_SSE2) vpx_sad4x8x4d = vpx_sad4x8x4d_sse2;
1283 vpx_sad64x32 = vpx_sad64x32_c;
1284 if (flags & HAS_SSE2) vpx_sad64x32 = vpx_sad64x32_sse2;
1285 if (flags & HAS_AVX2) vpx_sad64x32 = vpx_sad64x32_avx2;
1286 vpx_sad64x32_avg = vpx_sad64x32_avg_c;
1287 if (flags & HAS_SSE2) vpx_sad64x32_avg = vpx_sad64x32_avg_sse2;
1288 if (flags & HAS_AVX2) vpx_sad64x32_avg = vpx_sad64x32_avg_avx2;
1289 vpx_sad64x32x4d = vpx_sad64x32x4d_c;
1290 if (flags & HAS_SSE2) vpx_sad64x32x4d = vpx_sad64x32x4d_sse2;
1291 vpx_sad64x64 = vpx_sad64x64_c;
1292 if (flags & HAS_SSE2) vpx_sad64x64 = vpx_sad64x64_sse2;
1293 if (flags & HAS_AVX2) vpx_sad64x64 = vpx_sad64x64_avx2;
1294 vpx_sad64x64_avg = vpx_sad64x64_avg_c;
1295 if (flags & HAS_SSE2) vpx_sad64x64_avg = vpx_sad64x64_avg_sse2;
1296 if (flags & HAS_AVX2) vpx_sad64x64_avg = vpx_sad64x64_avg_avx2;
1297 vpx_sad64x64x4d = vpx_sad64x64x4d_c;
1298 if (flags & HAS_SSE2) vpx_sad64x64x4d = vpx_sad64x64x4d_sse2;
1299 if (flags & HAS_AVX2) vpx_sad64x64x4d = vpx_sad64x64x4d_avx2;
1300 vpx_sad8x16 = vpx_sad8x16_c;
1301 if (flags & HAS_MMX) vpx_sad8x16 = vpx_sad8x16_mmx;
1302 if (flags & HAS_SSE2) vpx_sad8x16 = vpx_sad8x16_sse2;
1303 vpx_sad8x16_avg = vpx_sad8x16_avg_c;
1304 if (flags & HAS_SSE2) vpx_sad8x16_avg = vpx_sad8x16_avg_sse2;
1305 vpx_sad8x16x3 = vpx_sad8x16x3_c;
1306 if (flags & HAS_SSE3) vpx_sad8x16x3 = vpx_sad8x16x3_sse3;
1307 vpx_sad8x16x4d = vpx_sad8x16x4d_c;
1308 if (flags & HAS_SSE2) vpx_sad8x16x4d = vpx_sad8x16x4d_sse2;
1309 vpx_sad8x16x8 = vpx_sad8x16x8_c;
1310 if (flags & HAS_SSE4_1) vpx_sad8x16x8 = vpx_sad8x16x8_sse4_1;
1311 vpx_sad8x4 = vpx_sad8x4_c;
1312 if (flags & HAS_SSE2) vpx_sad8x4 = vpx_sad8x4_sse2;
1313 vpx_sad8x4_avg = vpx_sad8x4_avg_c;
1314 if (flags & HAS_SSE2) vpx_sad8x4_avg = vpx_sad8x4_avg_sse2;
1315 vpx_sad8x4x4d = vpx_sad8x4x4d_c;
1316 if (flags & HAS_SSE2) vpx_sad8x4x4d = vpx_sad8x4x4d_sse2;
1317 vpx_sad8x8 = vpx_sad8x8_c;
1318 if (flags & HAS_MMX) vpx_sad8x8 = vpx_sad8x8_mmx;
1319 if (flags & HAS_SSE2) vpx_sad8x8 = vpx_sad8x8_sse2;
1320 vpx_sad8x8_avg = vpx_sad8x8_avg_c;
1321 if (flags & HAS_SSE2) vpx_sad8x8_avg = vpx_sad8x8_avg_sse2;
1322 vpx_sad8x8x3 = vpx_sad8x8x3_c;
1323 if (flags & HAS_SSE3) vpx_sad8x8x3 = vpx_sad8x8x3_sse3;
1324 vpx_sad8x8x4d = vpx_sad8x8x4d_c;
1325 if (flags & HAS_SSE2) vpx_sad8x8x4d = vpx_sad8x8x4d_sse2;
1326 vpx_sad8x8x8 = vpx_sad8x8x8_c;
1327 if (flags & HAS_SSE4_1) vpx_sad8x8x8 = vpx_sad8x8x8_sse4_1;
1328 vpx_satd = vpx_satd_c;
1329 if (flags & HAS_SSE2) vpx_satd = vpx_satd_sse2;
1330 vpx_scaled_2d = vpx_scaled_2d_c;
1331 if (flags & HAS_SSSE3) vpx_scaled_2d = vpx_scaled_2d_ssse3;
1332 vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_variance16x16_c;
1333 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_va riance16x16_sse2;
1334 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_v ariance16x16_ssse3;
1335 vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_variance16x32_c;
1336 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_va riance16x32_sse2;
1337 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_v ariance16x32_ssse3;
1338 vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_variance16x8_c;
1339 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_var iance16x8_sse2;
1340 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_va riance16x8_ssse3;
1341 vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_variance32x16_c;
1342 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_va riance32x16_sse2;
1343 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_v ariance32x16_ssse3;
1344 vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_variance32x32_c;
1345 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_va riance32x32_sse2;
1346 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_v ariance32x32_ssse3;
1347 if (flags & HAS_AVX2) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_va riance32x32_avx2;
1348 vpx_sub_pixel_avg_variance32x64 = vpx_sub_pixel_avg_variance32x64_c;
1349 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance32x64 = vpx_sub_pixel_avg_va riance32x64_sse2;
1350 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x64 = vpx_sub_pixel_avg_v ariance32x64_ssse3;
1351 vpx_sub_pixel_avg_variance4x4 = vpx_sub_pixel_avg_variance4x4_c;
1352 if (flags & HAS_SSE) vpx_sub_pixel_avg_variance4x4 = vpx_sub_pixel_avg_varia nce4x4_sse;
1353 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance4x4 = vpx_sub_pixel_avg_var iance4x4_ssse3;
1354 vpx_sub_pixel_avg_variance4x8 = vpx_sub_pixel_avg_variance4x8_c;
1355 if (flags & HAS_SSE) vpx_sub_pixel_avg_variance4x8 = vpx_sub_pixel_avg_varia nce4x8_sse;
1356 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance4x8 = vpx_sub_pixel_avg_var iance4x8_ssse3;
1357 vpx_sub_pixel_avg_variance64x32 = vpx_sub_pixel_avg_variance64x32_c;
1358 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance64x32 = vpx_sub_pixel_avg_va riance64x32_sse2;
1359 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance64x32 = vpx_sub_pixel_avg_v ariance64x32_ssse3;
1360 vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_variance64x64_c;
1361 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_va riance64x64_sse2;
1362 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_v ariance64x64_ssse3;
1363 if (flags & HAS_AVX2) vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_va riance64x64_avx2;
1364 vpx_sub_pixel_avg_variance8x16 = vpx_sub_pixel_avg_variance8x16_c;
1365 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance8x16 = vpx_sub_pixel_avg_var iance8x16_sse2;
1366 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance8x16 = vpx_sub_pixel_avg_va riance8x16_ssse3;
1367 vpx_sub_pixel_avg_variance8x4 = vpx_sub_pixel_avg_variance8x4_c;
1368 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance8x4 = vpx_sub_pixel_avg_vari ance8x4_sse2;
1369 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance8x4 = vpx_sub_pixel_avg_var iance8x4_ssse3;
1370 vpx_sub_pixel_avg_variance8x8 = vpx_sub_pixel_avg_variance8x8_c;
1371 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance8x8 = vpx_sub_pixel_avg_vari ance8x8_sse2;
1372 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance8x8 = vpx_sub_pixel_avg_var iance8x8_ssse3;
1373 vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16x16_c;
1374 if (flags & HAS_MMX) vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16x 16_mmx;
1375 if (flags & HAS_SSE2) vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16 x16_sse2;
1376 if (flags & HAS_SSSE3) vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance1 6x16_ssse3;
1377 vpx_sub_pixel_variance16x32 = vpx_sub_pixel_variance16x32_c;
1378 if (flags & HAS_SSE2) vpx_sub_pixel_variance16x32 = vpx_sub_pixel_variance16 x32_sse2;
1379 if (flags & HAS_SSSE3) vpx_sub_pixel_variance16x32 = vpx_sub_pixel_variance1 6x32_ssse3;
1380 vpx_sub_pixel_variance16x8 = vpx_sub_pixel_variance16x8_c;
1381 if (flags & HAS_MMX) vpx_sub_pixel_variance16x8 = vpx_sub_pixel_variance16x8 _mmx;
1382 if (flags & HAS_SSE2) vpx_sub_pixel_variance16x8 = vpx_sub_pixel_variance16x 8_sse2;
1383 if (flags & HAS_SSSE3) vpx_sub_pixel_variance16x8 = vpx_sub_pixel_variance16 x8_ssse3;
1384 vpx_sub_pixel_variance32x16 = vpx_sub_pixel_variance32x16_c;
1385 if (flags & HAS_SSE2) vpx_sub_pixel_variance32x16 = vpx_sub_pixel_variance32 x16_sse2;
1386 if (flags & HAS_SSSE3) vpx_sub_pixel_variance32x16 = vpx_sub_pixel_variance3 2x16_ssse3;
1387 vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32x32_c;
1388 if (flags & HAS_SSE2) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32 x32_sse2;
1389 if (flags & HAS_SSSE3) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance3 2x32_ssse3;
1390 if (flags & HAS_AVX2) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32 x32_avx2;
1391 vpx_sub_pixel_variance32x64 = vpx_sub_pixel_variance32x64_c;
1392 if (flags & HAS_SSE2) vpx_sub_pixel_variance32x64 = vpx_sub_pixel_variance32 x64_sse2;
1393 if (flags & HAS_SSSE3) vpx_sub_pixel_variance32x64 = vpx_sub_pixel_variance3 2x64_ssse3;
1394 vpx_sub_pixel_variance4x4 = vpx_sub_pixel_variance4x4_c;
1395 if (flags & HAS_MMX) vpx_sub_pixel_variance4x4 = vpx_sub_pixel_variance4x4_m mx;
1396 if (flags & HAS_SSE) vpx_sub_pixel_variance4x4 = vpx_sub_pixel_variance4x4_s se;
1397 if (flags & HAS_SSSE3) vpx_sub_pixel_variance4x4 = vpx_sub_pixel_variance4x4 _ssse3;
1398 vpx_sub_pixel_variance4x8 = vpx_sub_pixel_variance4x8_c;
1399 if (flags & HAS_SSE) vpx_sub_pixel_variance4x8 = vpx_sub_pixel_variance4x8_s se;
1400 if (flags & HAS_SSSE3) vpx_sub_pixel_variance4x8 = vpx_sub_pixel_variance4x8 _ssse3;
1401 vpx_sub_pixel_variance64x32 = vpx_sub_pixel_variance64x32_c;
1402 if (flags & HAS_SSE2) vpx_sub_pixel_variance64x32 = vpx_sub_pixel_variance64 x32_sse2;
1403 if (flags & HAS_SSSE3) vpx_sub_pixel_variance64x32 = vpx_sub_pixel_variance6 4x32_ssse3;
1404 vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64x64_c;
1405 if (flags & HAS_SSE2) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64 x64_sse2;
1406 if (flags & HAS_SSSE3) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance6 4x64_ssse3;
1407 if (flags & HAS_AVX2) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64 x64_avx2;
1408 vpx_sub_pixel_variance8x16 = vpx_sub_pixel_variance8x16_c;
1409 if (flags & HAS_MMX) vpx_sub_pixel_variance8x16 = vpx_sub_pixel_variance8x16 _mmx;
1410 if (flags & HAS_SSE2) vpx_sub_pixel_variance8x16 = vpx_sub_pixel_variance8x1 6_sse2;
1411 if (flags & HAS_SSSE3) vpx_sub_pixel_variance8x16 = vpx_sub_pixel_variance8x 16_ssse3;
1412 vpx_sub_pixel_variance8x4 = vpx_sub_pixel_variance8x4_c;
1413 if (flags & HAS_SSE2) vpx_sub_pixel_variance8x4 = vpx_sub_pixel_variance8x4_ sse2;
1414 if (flags & HAS_SSSE3) vpx_sub_pixel_variance8x4 = vpx_sub_pixel_variance8x4 _ssse3;
1415 vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_c;
1416 if (flags & HAS_MMX) vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_m mx;
1417 if (flags & HAS_SSE2) vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_ sse2;
1418 if (flags & HAS_SSSE3) vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8 _ssse3;
1419 vpx_subtract_block = vpx_subtract_block_c;
1420 if (flags & HAS_SSE2) vpx_subtract_block = vpx_subtract_block_sse2;
1421 vpx_tm_predictor_16x16 = vpx_tm_predictor_16x16_c;
1422 if (flags & HAS_SSE2) vpx_tm_predictor_16x16 = vpx_tm_predictor_16x16_sse2;
1423 vpx_tm_predictor_32x32 = vpx_tm_predictor_32x32_c;
1424 if (flags & HAS_SSE2) vpx_tm_predictor_32x32 = vpx_tm_predictor_32x32_sse2;
1425 vpx_tm_predictor_4x4 = vpx_tm_predictor_4x4_c;
1426 if (flags & HAS_SSE2) vpx_tm_predictor_4x4 = vpx_tm_predictor_4x4_sse2;
1427 vpx_tm_predictor_8x8 = vpx_tm_predictor_8x8_c;
1428 if (flags & HAS_SSE2) vpx_tm_predictor_8x8 = vpx_tm_predictor_8x8_sse2;
1429 vpx_v_predictor_16x16 = vpx_v_predictor_16x16_c;
1430 if (flags & HAS_SSE2) vpx_v_predictor_16x16 = vpx_v_predictor_16x16_sse2;
1431 vpx_v_predictor_32x32 = vpx_v_predictor_32x32_c;
1432 if (flags & HAS_SSE2) vpx_v_predictor_32x32 = vpx_v_predictor_32x32_sse2;
1433 vpx_v_predictor_4x4 = vpx_v_predictor_4x4_c;
1434 if (flags & HAS_SSE2) vpx_v_predictor_4x4 = vpx_v_predictor_4x4_sse2;
1435 vpx_v_predictor_8x8 = vpx_v_predictor_8x8_c;
1436 if (flags & HAS_SSE2) vpx_v_predictor_8x8 = vpx_v_predictor_8x8_sse2;
1437 vpx_variance16x16 = vpx_variance16x16_c;
1438 if (flags & HAS_MMX) vpx_variance16x16 = vpx_variance16x16_mmx;
1439 if (flags & HAS_SSE2) vpx_variance16x16 = vpx_variance16x16_sse2;
1440 if (flags & HAS_AVX2) vpx_variance16x16 = vpx_variance16x16_avx2;
1441 vpx_variance16x32 = vpx_variance16x32_c;
1442 if (flags & HAS_SSE2) vpx_variance16x32 = vpx_variance16x32_sse2;
1443 vpx_variance16x8 = vpx_variance16x8_c;
1444 if (flags & HAS_MMX) vpx_variance16x8 = vpx_variance16x8_mmx;
1445 if (flags & HAS_SSE2) vpx_variance16x8 = vpx_variance16x8_sse2;
1446 vpx_variance32x16 = vpx_variance32x16_c;
1447 if (flags & HAS_SSE2) vpx_variance32x16 = vpx_variance32x16_sse2;
1448 if (flags & HAS_AVX2) vpx_variance32x16 = vpx_variance32x16_avx2;
1449 vpx_variance32x32 = vpx_variance32x32_c;
1450 if (flags & HAS_SSE2) vpx_variance32x32 = vpx_variance32x32_sse2;
1451 if (flags & HAS_AVX2) vpx_variance32x32 = vpx_variance32x32_avx2;
1452 vpx_variance32x64 = vpx_variance32x64_c;
1453 if (flags & HAS_SSE2) vpx_variance32x64 = vpx_variance32x64_sse2;
1454 vpx_variance4x4 = vpx_variance4x4_c;
1455 if (flags & HAS_MMX) vpx_variance4x4 = vpx_variance4x4_mmx;
1456 if (flags & HAS_SSE2) vpx_variance4x4 = vpx_variance4x4_sse2;
1457 vpx_variance4x8 = vpx_variance4x8_c;
1458 if (flags & HAS_SSE2) vpx_variance4x8 = vpx_variance4x8_sse2;
1459 vpx_variance64x32 = vpx_variance64x32_c;
1460 if (flags & HAS_SSE2) vpx_variance64x32 = vpx_variance64x32_sse2;
1461 if (flags & HAS_AVX2) vpx_variance64x32 = vpx_variance64x32_avx2;
1462 vpx_variance64x64 = vpx_variance64x64_c;
1463 if (flags & HAS_SSE2) vpx_variance64x64 = vpx_variance64x64_sse2;
1464 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2;
1465 vpx_variance8x16 = vpx_variance8x16_c;
1466 if (flags & HAS_MMX) vpx_variance8x16 = vpx_variance8x16_mmx;
1467 if (flags & HAS_SSE2) vpx_variance8x16 = vpx_variance8x16_sse2;
1468 vpx_variance8x4 = vpx_variance8x4_c;
1469 if (flags & HAS_SSE2) vpx_variance8x4 = vpx_variance8x4_sse2;
1470 vpx_variance8x8 = vpx_variance8x8_c;
1471 if (flags & HAS_MMX) vpx_variance8x8 = vpx_variance8x8_mmx;
1472 if (flags & HAS_SSE2) vpx_variance8x8 = vpx_variance8x8_sse2;
1473 vpx_variance_halfpixvar16x16_h = vpx_variance_halfpixvar16x16_h_c;
1474 if (flags & HAS_MMX) vpx_variance_halfpixvar16x16_h = vpx_variance_halfpixva r16x16_h_mmx;
1475 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_h = vpx_variance_halfpixv ar16x16_h_sse2;
1476 vpx_variance_halfpixvar16x16_hv = vpx_variance_halfpixvar16x16_hv_c;
1477 if (flags & HAS_MMX) vpx_variance_halfpixvar16x16_hv = vpx_variance_halfpixv ar16x16_hv_mmx;
1478 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_hv = vpx_variance_halfpix var16x16_hv_sse2;
1479 vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixvar16x16_v_c;
1480 if (flags & HAS_MMX) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixva r16x16_v_mmx;
1481 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixv ar16x16_v_sse2;
1482 vpx_vector_var = vpx_vector_var_c;
1483 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2;
1484 }
1485 #endif
1486
1487 #ifdef __cplusplus
1488 } // extern "C"
1489 #endif
1490
1491 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698