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

Side by Side Diff: third_party/libvpx/source/config/linux/x64/vpx_dsp_rtcd.h

Issue 1323333002: Copy libvpx from DEPS to src (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
23 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
24 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_sse2
25
26 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
27 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
28 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_sse2
29
30 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
31 void vp9_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest _stride);
32 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_sse2
33
34 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s tride);
35 void vp9_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des t_stride);
36 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_sse2
37
38 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
39 void vp9_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
40 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_sse2
41
42 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
43 void vp9_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
44 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_sse2
45
46 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
47 void vp9_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
48 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_sse2
49
50 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
51 void vp9_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide);
52 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_sse2
53
54 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
55 void vp9_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
56 void vp9_idct8x8_12_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s tride);
57 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i nt dest_stride);
58
59 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
60 void vp9_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str ide);
61 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_sse2
62
63 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
64 void vp9_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
65 void vp9_idct8x8_64_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s tride);
66 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i nt dest_stride);
67
68 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid e);
69 void vp9_iwht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st ride);
70 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_sse2
71
72 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride );
73 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
74
75 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
76 void vp9_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
77 void vp9_quantize_b_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons t int16_t *iscan);
78 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1 6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low _t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s can, const int16_t *iscan);
79
80 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
81 void vp9_quantize_b_32x32_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_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 *scan , const int16_t *iscan);
82 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const tran_low_t *coeff_ptr, intptr_t n _coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, cons t int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tr an_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int1 6_t *scan, const int16_t *iscan);
83
84 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);
85 #define vpx_comp_avg_pred vpx_comp_avg_pred_c
86
87 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);
88 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);
89 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);
90 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);
91 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);
92
93 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);
94 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);
95 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);
96 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);
97
98 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);
99 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);
100 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);
101 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);
102
103 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);
104 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);
105 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);
106 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);
107
108 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);
109 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);
110 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);
111 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);
112 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);
113
114 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);
115 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);
116 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);
117 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);
118 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);
119
120 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);
121 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);
122 #define vpx_convolve_avg vpx_convolve_avg_sse2
123
124 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);
125 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);
126 #define vpx_convolve_copy vpx_convolve_copy_sse2
127
128 void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
129 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
130
131 void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
132 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
133
134 void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
135 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
136
137 void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
138 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
139
140 void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
141 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
142
143 void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
144 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
145
146 void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
147 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
148
149 void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
150 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
151
152 void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
153 void vpx_d153_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
154 RTCD_EXTERN void (*vpx_d153_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
155
156 void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
157 void vpx_d153_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
158 RTCD_EXTERN void (*vpx_d153_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
159
160 void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
161 void vpx_d153_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
162 RTCD_EXTERN void (*vpx_d153_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
163
164 void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
165 void vpx_d153_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
166 RTCD_EXTERN void (*vpx_d153_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
167
168 void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
169 void vpx_d207_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
170 RTCD_EXTERN void (*vpx_d207_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
171
172 void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
173 void vpx_d207_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint 8_t *above, const uint8_t *left);
174 RTCD_EXTERN void (*vpx_d207_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, c onst uint8_t *above, const uint8_t *left);
175
176 void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
177 void vpx_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
178 RTCD_EXTERN void (*vpx_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
179
180 void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
181 void vpx_d207_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
182 RTCD_EXTERN void (*vpx_d207_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
183
184 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
185 void vpx_d45_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
186 RTCD_EXTERN void (*vpx_d45_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
187
188 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
189 void vpx_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
190 RTCD_EXTERN void (*vpx_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
191
192 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
193 void vpx_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
194 RTCD_EXTERN void (*vpx_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
195
196 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
197 void vpx_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
198 RTCD_EXTERN void (*vpx_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
199
200 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
201 void vpx_d63_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
202 RTCD_EXTERN void (*vpx_d63_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
203
204 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
205 void vpx_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
206 RTCD_EXTERN void (*vpx_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
207
208 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
209 void vpx_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
210 RTCD_EXTERN void (*vpx_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
211
212 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
213 void vpx_d63_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
214 RTCD_EXTERN void (*vpx_d63_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
215
216 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
217 void vpx_dc_128_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
218 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_sse2
219
220 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
221 void vpx_dc_128_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
222 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_sse2
223
224 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
225 void vpx_dc_128_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
226 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_sse
227
228 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
229 void vpx_dc_128_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
230 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_sse
231
232 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
233 void vpx_dc_left_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const ui nt8_t *above, const uint8_t *left);
234 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_sse2
235
236 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
237 void vpx_dc_left_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const ui nt8_t *above, const uint8_t *left);
238 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_sse2
239
240 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
241 void vpx_dc_left_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
242 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_sse
243
244 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
245 void vpx_dc_left_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
246 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_sse
247
248 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
249 void vpx_dc_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
250 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_sse2
251
252 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
253 void vpx_dc_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
254 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_sse2
255
256 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
257 void vpx_dc_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
258 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_sse
259
260 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
261 void vpx_dc_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
262 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_sse
263
264 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
265 void vpx_dc_top_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
266 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_sse2
267
268 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
269 void vpx_dc_top_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
270 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_sse2
271
272 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
273 void vpx_dc_top_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
274 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_sse
275
276 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
277 void vpx_dc_top_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
278 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_sse
279
280 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
281 void vpx_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride);
282 #define vpx_fdct16x16 vpx_fdct16x16_sse2
283
284 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
285 void vpx_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride);
286 #define vpx_fdct16x16_1 vpx_fdct16x16_1_sse2
287
288 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
289 void vpx_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride);
290 void vpx_fdct32x32_avx2(const int16_t *input, tran_low_t *output, int stride);
291 RTCD_EXTERN void (*vpx_fdct32x32)(const int16_t *input, tran_low_t *output, int stride);
292
293 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
294 void vpx_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride);
295 #define vpx_fdct32x32_1 vpx_fdct32x32_1_sse2
296
297 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
298 void vpx_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride) ;
299 void vpx_fdct32x32_rd_avx2(const int16_t *input, tran_low_t *output, int stride) ;
300 RTCD_EXTERN void (*vpx_fdct32x32_rd)(const int16_t *input, tran_low_t *output, i nt stride);
301
302 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
303 void vpx_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride);
304 #define vpx_fdct4x4 vpx_fdct4x4_sse2
305
306 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
307 void vpx_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride);
308 #define vpx_fdct4x4_1 vpx_fdct4x4_1_sse2
309
310 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
311 void vpx_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride);
312 void vpx_fdct8x8_ssse3(const int16_t *input, tran_low_t *output, int stride);
313 RTCD_EXTERN void (*vpx_fdct8x8)(const int16_t *input, tran_low_t *output, int st ride);
314
315 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
316 void vpx_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride);
317 #define vpx_fdct8x8_1 vpx_fdct8x8_1_sse2
318
319 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);
320 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);
321 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);
322 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);
323
324 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
325 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
326
327 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);
328 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);
329 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);
330 #define vpx_get8x8var vpx_get8x8var_sse2
331
332 unsigned int vpx_get_mb_ss_c(const int16_t *);
333 unsigned int vpx_get_mb_ss_mmx(const int16_t *);
334 unsigned int vpx_get_mb_ss_sse2(const int16_t *);
335 #define vpx_get_mb_ss vpx_get_mb_ss_sse2
336
337 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
338 void vpx_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
339 RTCD_EXTERN void (*vpx_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
340
341 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
342 void vpx_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
343 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
344
345 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
346 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
347 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
348
349 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
350 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
351 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
352
353 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);
354 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);
355 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);
356 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);
357
358 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);
359 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);
360 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_mmx
361
362 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);
363 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);
364 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_sse2
365
366 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);
367 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);
368 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_sse2
369
370 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);
371 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);
372 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_sse2
373
374 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u int8_t *limit, const uint8_t *thresh);
375 void vpx_lpf_vertical_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, cons t uint8_t *limit, const uint8_t *thresh);
376 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_sse2
377
378 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);
379 void vpx_lpf_vertical_16_dual_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
380 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_sse2
381
382 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);
383 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);
384 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_mmx
385
386 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);
387 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);
388 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_sse2
389
390 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);
391 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);
392 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_sse2
393
394 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);
395 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);
396 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_sse2
397
398 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);
399 unsigned int vpx_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
400 unsigned int vpx_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
401 unsigned int vpx_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
402 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);
403
404 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);
405 unsigned int vpx_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
406 #define vpx_mse16x8 vpx_mse16x8_sse2
407
408 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);
409 unsigned int vpx_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
410 #define vpx_mse8x16 vpx_mse8x16_sse2
411
412 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);
413 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);
414 #define vpx_mse8x8 vpx_mse8x8_sse2
415
416 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
417 unsigned int vpx_sad16x16_mmx(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride);
418 unsigned int vpx_sad16x16_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
419 #define vpx_sad16x16 vpx_sad16x16_sse2
420
421 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);
422 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);
423 #define vpx_sad16x16_avg vpx_sad16x16_avg_sse2
424
425 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
426 void vpx_sad16x16x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
427 void vpx_sad16x16x3_ssse3(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
428 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);
429
430 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);
431 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);
432 #define vpx_sad16x16x4d vpx_sad16x16x4d_sse2
433
434 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
435 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);
436 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);
437
438 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
439 unsigned int vpx_sad16x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
440 #define vpx_sad16x32 vpx_sad16x32_sse2
441
442 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);
443 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);
444 #define vpx_sad16x32_avg vpx_sad16x32_avg_sse2
445
446 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);
447 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);
448 #define vpx_sad16x32x4d vpx_sad16x32x4d_sse2
449
450 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
451 unsigned int vpx_sad16x8_mmx(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
452 unsigned int vpx_sad16x8_sse2(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride);
453 #define vpx_sad16x8 vpx_sad16x8_sse2
454
455 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);
456 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);
457 #define vpx_sad16x8_avg vpx_sad16x8_avg_sse2
458
459 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
460 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);
461 void vpx_sad16x8x3_ssse3(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
462 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);
463
464 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);
465 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);
466 #define vpx_sad16x8x4d vpx_sad16x8x4d_sse2
467
468 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
469 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);
470 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);
471
472 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
473 unsigned int vpx_sad32x16_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
474 unsigned int vpx_sad32x16_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
475 RTCD_EXTERN unsigned int (*vpx_sad32x16)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
476
477 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);
478 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);
479 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);
480 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);
481
482 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);
483 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);
484 #define vpx_sad32x16x4d vpx_sad32x16x4d_sse2
485
486 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
487 unsigned int vpx_sad32x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
488 unsigned int vpx_sad32x32_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
489 RTCD_EXTERN unsigned int (*vpx_sad32x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
490
491 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);
492 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);
493 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);
494 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);
495
496 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
497 #define vpx_sad32x32x3 vpx_sad32x32x3_c
498
499 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);
500 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);
501 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);
502 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);
503
504 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
505 #define vpx_sad32x32x8 vpx_sad32x32x8_c
506
507 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
508 unsigned int vpx_sad32x64_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
509 unsigned int vpx_sad32x64_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
510 RTCD_EXTERN unsigned int (*vpx_sad32x64)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
511
512 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);
513 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);
514 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);
515 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);
516
517 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);
518 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);
519 #define vpx_sad32x64x4d vpx_sad32x64x4d_sse2
520
521 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
522 unsigned int vpx_sad4x4_mmx(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
523 unsigned int vpx_sad4x4_sse(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
524 #define vpx_sad4x4 vpx_sad4x4_sse
525
526 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);
527 unsigned int vpx_sad4x4_avg_sse(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
528 #define vpx_sad4x4_avg vpx_sad4x4_avg_sse
529
530 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);
531 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);
532 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);
533
534 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);
535 void vpx_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
536 #define vpx_sad4x4x4d vpx_sad4x4x4d_sse
537
538 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);
539 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);
540 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);
541
542 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
543 unsigned int vpx_sad4x8_sse(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
544 #define vpx_sad4x8 vpx_sad4x8_sse
545
546 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);
547 unsigned int vpx_sad4x8_avg_sse(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
548 #define vpx_sad4x8_avg vpx_sad4x8_avg_sse
549
550 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);
551 void vpx_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
552 #define vpx_sad4x8x4d vpx_sad4x8x4d_sse
553
554 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);
555 #define vpx_sad4x8x8 vpx_sad4x8x8_c
556
557 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
558 unsigned int vpx_sad64x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
559 unsigned int vpx_sad64x32_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
560 RTCD_EXTERN unsigned int (*vpx_sad64x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
561
562 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);
563 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);
564 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);
565 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);
566
567 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);
568 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);
569 #define vpx_sad64x32x4d vpx_sad64x32x4d_sse2
570
571 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
572 unsigned int vpx_sad64x64_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
573 unsigned int vpx_sad64x64_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
574 RTCD_EXTERN unsigned int (*vpx_sad64x64)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
575
576 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);
577 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);
578 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);
579 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);
580
581 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
582 #define vpx_sad64x64x3 vpx_sad64x64x3_c
583
584 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);
585 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);
586 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);
587 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);
588
589 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
590 #define vpx_sad64x64x8 vpx_sad64x64x8_c
591
592 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
593 unsigned int vpx_sad8x16_mmx(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
594 unsigned int vpx_sad8x16_sse2(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride);
595 #define vpx_sad8x16 vpx_sad8x16_sse2
596
597 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);
598 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);
599 #define vpx_sad8x16_avg vpx_sad8x16_avg_sse2
600
601 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
602 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);
603 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);
604
605 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);
606 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);
607 #define vpx_sad8x16x4d vpx_sad8x16x4d_sse2
608
609 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
610 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);
611 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);
612
613 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
614 unsigned int vpx_sad8x4_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
615 #define vpx_sad8x4 vpx_sad8x4_sse2
616
617 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);
618 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);
619 #define vpx_sad8x4_avg vpx_sad8x4_avg_sse2
620
621 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);
622 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);
623 #define vpx_sad8x4x4d vpx_sad8x4x4d_sse2
624
625 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);
626 #define vpx_sad8x4x8 vpx_sad8x4x8_c
627
628 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
629 unsigned int vpx_sad8x8_mmx(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
630 unsigned int vpx_sad8x8_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
631 #define vpx_sad8x8 vpx_sad8x8_sse2
632
633 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);
634 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);
635 #define vpx_sad8x8_avg vpx_sad8x8_avg_sse2
636
637 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);
638 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);
639 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);
640
641 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);
642 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);
643 #define vpx_sad8x8x4d vpx_sad8x8x4d_sse2
644
645 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);
646 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);
647 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);
648
649 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);
650 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);
651 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);
652 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);
653
654 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);
655 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);
656 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);
657 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);
658
659 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);
660 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);
661 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);
662 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);
663
664 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);
665 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);
666 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);
667 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);
668
669 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);
670 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);
671 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);
672 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);
673 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);
674
675 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);
676 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);
677 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);
678 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);
679
680 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);
681 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);
682 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);
683 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);
684
685 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);
686 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);
687 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);
688 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);
689
690 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);
691 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);
692 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);
693 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);
694
695 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);
696 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);
697 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);
698 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);
699 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);
700
701 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);
702 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);
703 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);
704 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);
705
706 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);
707 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);
708 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);
709 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);
710
711 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);
712 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);
713 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);
714 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);
715
716 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);
717 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);
718 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);
719 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);
720 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);
721
722 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);
723 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);
724 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);
725 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);
726
727 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);
728 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);
729 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);
730 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);
731 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);
732
733 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);
734 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);
735 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);
736 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);
737
738 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);
739 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);
740 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);
741 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);
742 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);
743
744 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);
745 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);
746 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);
747 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);
748
749 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 );
750 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);
751 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);
752 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);
753 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);
754
755 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 );
756 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);
757 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);
758 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);
759
760 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);
761 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);
762 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);
763 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);
764
765 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);
766 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);
767 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);
768 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);
769 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);
770
771 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);
772 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);
773 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);
774 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);
775 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);
776
777 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 );
778 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);
779 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);
780 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);
781
782 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 );
783 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);
784 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);
785 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);
786 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);
787
788 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);
789 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);
790 #define vpx_subtract_block vpx_subtract_block_sse2
791
792 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
793 void vpx_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
794 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_sse2
795
796 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
797 void vpx_tm_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
798 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_sse2
799
800 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
801 void vpx_tm_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
802 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_sse
803
804 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
805 void vpx_tm_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
806 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_sse2
807
808 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
809 void vpx_v_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
810 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_sse2
811
812 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
813 void vpx_v_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
814 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_sse2
815
816 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
817 void vpx_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
818 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_sse
819
820 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
821 void vpx_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
822 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_sse
823
824 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);
825 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);
826 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);
827 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);
828 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);
829
830 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);
831 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);
832 #define vpx_variance16x32 vpx_variance16x32_sse2
833
834 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
835 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);
836 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);
837 #define vpx_variance16x8 vpx_variance16x8_sse2
838
839 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);
840 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);
841 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);
842 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);
843
844 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);
845 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);
846 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);
847 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);
848
849 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);
850 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);
851 #define vpx_variance32x64 vpx_variance32x64_sse2
852
853 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
854 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);
855 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);
856 #define vpx_variance4x4 vpx_variance4x4_sse2
857
858 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
859 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);
860 #define vpx_variance4x8 vpx_variance4x8_sse2
861
862 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);
863 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);
864 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);
865 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);
866
867 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);
868 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);
869 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);
870 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);
871
872 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
873 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);
874 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);
875 #define vpx_variance8x16 vpx_variance8x16_sse2
876
877 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
878 unsigned int vpx_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
879 #define vpx_variance8x4 vpx_variance8x4_sse2
880
881 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
882 unsigned int vpx_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
883 unsigned int vpx_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
884 #define vpx_variance8x8 vpx_variance8x8_sse2
885
886 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
887 uint32_t vpx_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, int so urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
888 uint32_t vpx_variance_halfpixvar16x16_h_sse2(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
889 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_sse2
890
891 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
892 uint32_t vpx_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
893 uint32_t vpx_variance_halfpixvar16x16_hv_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
894 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_sse2
895
896 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
897 uint32_t vpx_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int so urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
898 uint32_t vpx_variance_halfpixvar16x16_v_sse2(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
899 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_sse2
900
901 void vpx_dsp_rtcd(void);
902
903 #ifdef RTCD_C
904 #include "vpx_ports/x86.h"
905 static void setup_rtcd_internal(void)
906 {
907 int flags = x86_simd_caps();
908
909 (void)flags;
910
911 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2;
912 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3;
913 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
914 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3;
915 vp9_quantize_b = vp9_quantize_b_sse2;
916 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3;
917 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c;
918 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3;
919 vpx_convolve8 = vpx_convolve8_sse2;
920 if (flags & HAS_SSSE3) vpx_convolve8 = vpx_convolve8_ssse3;
921 if (flags & HAS_AVX2) vpx_convolve8 = vpx_convolve8_avx2;
922 vpx_convolve8_avg = vpx_convolve8_avg_sse2;
923 if (flags & HAS_SSSE3) vpx_convolve8_avg = vpx_convolve8_avg_ssse3;
924 vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sse2;
925 if (flags & HAS_SSSE3) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sss e3;
926 vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_sse2;
927 if (flags & HAS_SSSE3) vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_ssse3 ;
928 vpx_convolve8_horiz = vpx_convolve8_horiz_sse2;
929 if (flags & HAS_SSSE3) vpx_convolve8_horiz = vpx_convolve8_horiz_ssse3;
930 if (flags & HAS_AVX2) vpx_convolve8_horiz = vpx_convolve8_horiz_avx2;
931 vpx_convolve8_vert = vpx_convolve8_vert_sse2;
932 if (flags & HAS_SSSE3) vpx_convolve8_vert = vpx_convolve8_vert_ssse3;
933 if (flags & HAS_AVX2) vpx_convolve8_vert = vpx_convolve8_vert_avx2;
934 vpx_d153_predictor_16x16 = vpx_d153_predictor_16x16_c;
935 if (flags & HAS_SSSE3) vpx_d153_predictor_16x16 = vpx_d153_predictor_16x16_s sse3;
936 vpx_d153_predictor_32x32 = vpx_d153_predictor_32x32_c;
937 if (flags & HAS_SSSE3) vpx_d153_predictor_32x32 = vpx_d153_predictor_32x32_s sse3;
938 vpx_d153_predictor_4x4 = vpx_d153_predictor_4x4_c;
939 if (flags & HAS_SSSE3) vpx_d153_predictor_4x4 = vpx_d153_predictor_4x4_ssse3 ;
940 vpx_d153_predictor_8x8 = vpx_d153_predictor_8x8_c;
941 if (flags & HAS_SSSE3) vpx_d153_predictor_8x8 = vpx_d153_predictor_8x8_ssse3 ;
942 vpx_d207_predictor_16x16 = vpx_d207_predictor_16x16_c;
943 if (flags & HAS_SSSE3) vpx_d207_predictor_16x16 = vpx_d207_predictor_16x16_s sse3;
944 vpx_d207_predictor_32x32 = vpx_d207_predictor_32x32_c;
945 if (flags & HAS_SSSE3) vpx_d207_predictor_32x32 = vpx_d207_predictor_32x32_s sse3;
946 vpx_d207_predictor_4x4 = vpx_d207_predictor_4x4_c;
947 if (flags & HAS_SSSE3) vpx_d207_predictor_4x4 = vpx_d207_predictor_4x4_ssse3 ;
948 vpx_d207_predictor_8x8 = vpx_d207_predictor_8x8_c;
949 if (flags & HAS_SSSE3) vpx_d207_predictor_8x8 = vpx_d207_predictor_8x8_ssse3 ;
950 vpx_d45_predictor_16x16 = vpx_d45_predictor_16x16_c;
951 if (flags & HAS_SSSE3) vpx_d45_predictor_16x16 = vpx_d45_predictor_16x16_sss e3;
952 vpx_d45_predictor_32x32 = vpx_d45_predictor_32x32_c;
953 if (flags & HAS_SSSE3) vpx_d45_predictor_32x32 = vpx_d45_predictor_32x32_sss e3;
954 vpx_d45_predictor_4x4 = vpx_d45_predictor_4x4_c;
955 if (flags & HAS_SSSE3) vpx_d45_predictor_4x4 = vpx_d45_predictor_4x4_ssse3;
956 vpx_d45_predictor_8x8 = vpx_d45_predictor_8x8_c;
957 if (flags & HAS_SSSE3) vpx_d45_predictor_8x8 = vpx_d45_predictor_8x8_ssse3;
958 vpx_d63_predictor_16x16 = vpx_d63_predictor_16x16_c;
959 if (flags & HAS_SSSE3) vpx_d63_predictor_16x16 = vpx_d63_predictor_16x16_sss e3;
960 vpx_d63_predictor_32x32 = vpx_d63_predictor_32x32_c;
961 if (flags & HAS_SSSE3) vpx_d63_predictor_32x32 = vpx_d63_predictor_32x32_sss e3;
962 vpx_d63_predictor_4x4 = vpx_d63_predictor_4x4_c;
963 if (flags & HAS_SSSE3) vpx_d63_predictor_4x4 = vpx_d63_predictor_4x4_ssse3;
964 vpx_d63_predictor_8x8 = vpx_d63_predictor_8x8_c;
965 if (flags & HAS_SSSE3) vpx_d63_predictor_8x8 = vpx_d63_predictor_8x8_ssse3;
966 vpx_fdct32x32 = vpx_fdct32x32_sse2;
967 if (flags & HAS_AVX2) vpx_fdct32x32 = vpx_fdct32x32_avx2;
968 vpx_fdct32x32_rd = vpx_fdct32x32_rd_sse2;
969 if (flags & HAS_AVX2) vpx_fdct32x32_rd = vpx_fdct32x32_rd_avx2;
970 vpx_fdct8x8 = vpx_fdct8x8_sse2;
971 if (flags & HAS_SSSE3) vpx_fdct8x8 = vpx_fdct8x8_ssse3;
972 vpx_get16x16var = vpx_get16x16var_sse2;
973 if (flags & HAS_AVX2) vpx_get16x16var = vpx_get16x16var_avx2;
974 vpx_h_predictor_16x16 = vpx_h_predictor_16x16_c;
975 if (flags & HAS_SSSE3) vpx_h_predictor_16x16 = vpx_h_predictor_16x16_ssse3;
976 vpx_h_predictor_32x32 = vpx_h_predictor_32x32_c;
977 if (flags & HAS_SSSE3) vpx_h_predictor_32x32 = vpx_h_predictor_32x32_ssse3;
978 vpx_h_predictor_4x4 = vpx_h_predictor_4x4_c;
979 if (flags & HAS_SSSE3) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_ssse3;
980 vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c;
981 if (flags & HAS_SSSE3) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_ssse3;
982 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2;
983 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2;
984 vpx_mse16x16 = vpx_mse16x16_sse2;
985 if (flags & HAS_AVX2) vpx_mse16x16 = vpx_mse16x16_avx2;
986 vpx_sad16x16x3 = vpx_sad16x16x3_c;
987 if (flags & HAS_SSE3) vpx_sad16x16x3 = vpx_sad16x16x3_sse3;
988 if (flags & HAS_SSSE3) vpx_sad16x16x3 = vpx_sad16x16x3_ssse3;
989 vpx_sad16x16x8 = vpx_sad16x16x8_c;
990 if (flags & HAS_SSE4_1) vpx_sad16x16x8 = vpx_sad16x16x8_sse4_1;
991 vpx_sad16x8x3 = vpx_sad16x8x3_c;
992 if (flags & HAS_SSE3) vpx_sad16x8x3 = vpx_sad16x8x3_sse3;
993 if (flags & HAS_SSSE3) vpx_sad16x8x3 = vpx_sad16x8x3_ssse3;
994 vpx_sad16x8x8 = vpx_sad16x8x8_c;
995 if (flags & HAS_SSE4_1) vpx_sad16x8x8 = vpx_sad16x8x8_sse4_1;
996 vpx_sad32x16 = vpx_sad32x16_sse2;
997 if (flags & HAS_AVX2) vpx_sad32x16 = vpx_sad32x16_avx2;
998 vpx_sad32x16_avg = vpx_sad32x16_avg_sse2;
999 if (flags & HAS_AVX2) vpx_sad32x16_avg = vpx_sad32x16_avg_avx2;
1000 vpx_sad32x32 = vpx_sad32x32_sse2;
1001 if (flags & HAS_AVX2) vpx_sad32x32 = vpx_sad32x32_avx2;
1002 vpx_sad32x32_avg = vpx_sad32x32_avg_sse2;
1003 if (flags & HAS_AVX2) vpx_sad32x32_avg = vpx_sad32x32_avg_avx2;
1004 vpx_sad32x32x4d = vpx_sad32x32x4d_sse2;
1005 if (flags & HAS_AVX2) vpx_sad32x32x4d = vpx_sad32x32x4d_avx2;
1006 vpx_sad32x64 = vpx_sad32x64_sse2;
1007 if (flags & HAS_AVX2) vpx_sad32x64 = vpx_sad32x64_avx2;
1008 vpx_sad32x64_avg = vpx_sad32x64_avg_sse2;
1009 if (flags & HAS_AVX2) vpx_sad32x64_avg = vpx_sad32x64_avg_avx2;
1010 vpx_sad4x4x3 = vpx_sad4x4x3_c;
1011 if (flags & HAS_SSE3) vpx_sad4x4x3 = vpx_sad4x4x3_sse3;
1012 vpx_sad4x4x8 = vpx_sad4x4x8_c;
1013 if (flags & HAS_SSE4_1) vpx_sad4x4x8 = vpx_sad4x4x8_sse4_1;
1014 vpx_sad64x32 = vpx_sad64x32_sse2;
1015 if (flags & HAS_AVX2) vpx_sad64x32 = vpx_sad64x32_avx2;
1016 vpx_sad64x32_avg = vpx_sad64x32_avg_sse2;
1017 if (flags & HAS_AVX2) vpx_sad64x32_avg = vpx_sad64x32_avg_avx2;
1018 vpx_sad64x64 = vpx_sad64x64_sse2;
1019 if (flags & HAS_AVX2) vpx_sad64x64 = vpx_sad64x64_avx2;
1020 vpx_sad64x64_avg = vpx_sad64x64_avg_sse2;
1021 if (flags & HAS_AVX2) vpx_sad64x64_avg = vpx_sad64x64_avg_avx2;
1022 vpx_sad64x64x4d = vpx_sad64x64x4d_sse2;
1023 if (flags & HAS_AVX2) vpx_sad64x64x4d = vpx_sad64x64x4d_avx2;
1024 vpx_sad8x16x3 = vpx_sad8x16x3_c;
1025 if (flags & HAS_SSE3) vpx_sad8x16x3 = vpx_sad8x16x3_sse3;
1026 vpx_sad8x16x8 = vpx_sad8x16x8_c;
1027 if (flags & HAS_SSE4_1) vpx_sad8x16x8 = vpx_sad8x16x8_sse4_1;
1028 vpx_sad8x8x3 = vpx_sad8x8x3_c;
1029 if (flags & HAS_SSE3) vpx_sad8x8x3 = vpx_sad8x8x3_sse3;
1030 vpx_sad8x8x8 = vpx_sad8x8x8_c;
1031 if (flags & HAS_SSE4_1) vpx_sad8x8x8 = vpx_sad8x8x8_sse4_1;
1032 vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_variance16x16_sse2;
1033 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_v ariance16x16_ssse3;
1034 vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_variance16x32_sse2;
1035 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_v ariance16x32_ssse3;
1036 vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_variance16x8_sse2;
1037 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_va riance16x8_ssse3;
1038 vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_variance32x16_sse2;
1039 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_v ariance32x16_ssse3;
1040 vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_variance32x32_sse2;
1041 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_v ariance32x32_ssse3;
1042 if (flags & HAS_AVX2) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_va riance32x32_avx2;
1043 vpx_sub_pixel_avg_variance32x64 = vpx_sub_pixel_avg_variance32x64_sse2;
1044 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x64 = vpx_sub_pixel_avg_v ariance32x64_ssse3;
1045 vpx_sub_pixel_avg_variance4x4 = vpx_sub_pixel_avg_variance4x4_sse;
1046 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance4x4 = vpx_sub_pixel_avg_var iance4x4_ssse3;
1047 vpx_sub_pixel_avg_variance4x8 = vpx_sub_pixel_avg_variance4x8_sse;
1048 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance4x8 = vpx_sub_pixel_avg_var iance4x8_ssse3;
1049 vpx_sub_pixel_avg_variance64x32 = vpx_sub_pixel_avg_variance64x32_sse2;
1050 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance64x32 = vpx_sub_pixel_avg_v ariance64x32_ssse3;
1051 vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_variance64x64_sse2;
1052 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_v ariance64x64_ssse3;
1053 if (flags & HAS_AVX2) vpx_sub_pixel_avg_variance64x64 = vpx_sub_pixel_avg_va riance64x64_avx2;
1054 vpx_sub_pixel_avg_variance8x16 = vpx_sub_pixel_avg_variance8x16_sse2;
1055 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance8x16 = vpx_sub_pixel_avg_va riance8x16_ssse3;
1056 vpx_sub_pixel_avg_variance8x4 = vpx_sub_pixel_avg_variance8x4_sse2;
1057 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance8x4 = vpx_sub_pixel_avg_var iance8x4_ssse3;
1058 vpx_sub_pixel_avg_variance8x8 = vpx_sub_pixel_avg_variance8x8_sse2;
1059 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance8x8 = vpx_sub_pixel_avg_var iance8x8_ssse3;
1060 vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16x16_sse2;
1061 if (flags & HAS_SSSE3) vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance1 6x16_ssse3;
1062 vpx_sub_pixel_variance16x32 = vpx_sub_pixel_variance16x32_sse2;
1063 if (flags & HAS_SSSE3) vpx_sub_pixel_variance16x32 = vpx_sub_pixel_variance1 6x32_ssse3;
1064 vpx_sub_pixel_variance16x8 = vpx_sub_pixel_variance16x8_sse2;
1065 if (flags & HAS_SSSE3) vpx_sub_pixel_variance16x8 = vpx_sub_pixel_variance16 x8_ssse3;
1066 vpx_sub_pixel_variance32x16 = vpx_sub_pixel_variance32x16_sse2;
1067 if (flags & HAS_SSSE3) vpx_sub_pixel_variance32x16 = vpx_sub_pixel_variance3 2x16_ssse3;
1068 vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32x32_sse2;
1069 if (flags & HAS_SSSE3) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance3 2x32_ssse3;
1070 if (flags & HAS_AVX2) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32 x32_avx2;
1071 vpx_sub_pixel_variance32x64 = vpx_sub_pixel_variance32x64_sse2;
1072 if (flags & HAS_SSSE3) vpx_sub_pixel_variance32x64 = vpx_sub_pixel_variance3 2x64_ssse3;
1073 vpx_sub_pixel_variance4x4 = vpx_sub_pixel_variance4x4_sse;
1074 if (flags & HAS_SSSE3) vpx_sub_pixel_variance4x4 = vpx_sub_pixel_variance4x4 _ssse3;
1075 vpx_sub_pixel_variance4x8 = vpx_sub_pixel_variance4x8_sse;
1076 if (flags & HAS_SSSE3) vpx_sub_pixel_variance4x8 = vpx_sub_pixel_variance4x8 _ssse3;
1077 vpx_sub_pixel_variance64x32 = vpx_sub_pixel_variance64x32_sse2;
1078 if (flags & HAS_SSSE3) vpx_sub_pixel_variance64x32 = vpx_sub_pixel_variance6 4x32_ssse3;
1079 vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64x64_sse2;
1080 if (flags & HAS_SSSE3) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance6 4x64_ssse3;
1081 if (flags & HAS_AVX2) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64 x64_avx2;
1082 vpx_sub_pixel_variance8x16 = vpx_sub_pixel_variance8x16_sse2;
1083 if (flags & HAS_SSSE3) vpx_sub_pixel_variance8x16 = vpx_sub_pixel_variance8x 16_ssse3;
1084 vpx_sub_pixel_variance8x4 = vpx_sub_pixel_variance8x4_sse2;
1085 if (flags & HAS_SSSE3) vpx_sub_pixel_variance8x4 = vpx_sub_pixel_variance8x4 _ssse3;
1086 vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_sse2;
1087 if (flags & HAS_SSSE3) vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8 _ssse3;
1088 vpx_variance16x16 = vpx_variance16x16_sse2;
1089 if (flags & HAS_AVX2) vpx_variance16x16 = vpx_variance16x16_avx2;
1090 vpx_variance32x16 = vpx_variance32x16_sse2;
1091 if (flags & HAS_AVX2) vpx_variance32x16 = vpx_variance32x16_avx2;
1092 vpx_variance32x32 = vpx_variance32x32_sse2;
1093 if (flags & HAS_AVX2) vpx_variance32x32 = vpx_variance32x32_avx2;
1094 vpx_variance64x32 = vpx_variance64x32_sse2;
1095 if (flags & HAS_AVX2) vpx_variance64x32 = vpx_variance64x32_avx2;
1096 vpx_variance64x64 = vpx_variance64x64_sse2;
1097 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2;
1098 }
1099 #endif
1100
1101 #ifdef __cplusplus
1102 } // extern "C"
1103 #endif
1104
1105 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698