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 vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
23 #define vpx_comp_avg_pred vpx_comp_avg_pred_c
24
25 void vpx_convolve8_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);
26 void vpx_convolve8_dspr2(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);
27 #define vpx_convolve8 vpx_convolve8_dspr2
28
29 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 *filter_y, int y_step_q4, int w, int h);
30 void vpx_convolve8_avg_dspr2(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);
31 #define vpx_convolve8_avg vpx_convolve8_avg_dspr2
32
33 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);
34 void vpx_convolve8_avg_horiz_dspr2(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);
35 #define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_dspr2
36
37 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);
38 void vpx_convolve8_avg_vert_dspr2(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);
39 #define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_dspr2
40
41 void vpx_convolve8_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);
42 void vpx_convolve8_horiz_dspr2(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);
43 #define vpx_convolve8_horiz vpx_convolve8_horiz_dspr2
44
45 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 *filter_y, int y_step_q4, int w, int h);
46 void vpx_convolve8_vert_dspr2(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);
47 #define vpx_convolve8_vert vpx_convolve8_vert_dspr2
48
49 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 *filter_y, int y_step_q4, int w, int h);
50 void vpx_convolve_avg_dspr2(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);
51 #define vpx_convolve_avg vpx_convolve_avg_dspr2
52
53 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 *filter_y, int y_step_q4, int w, int h);
54 void vpx_convolve_copy_dspr2(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);
55 #define vpx_convolve_copy vpx_convolve_copy_dspr2
56
57 void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
58 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
59
60 void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
61 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
62
63 void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
64 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
65
66 void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
67 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
68
69 void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
70 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
71
72 void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
73 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
74
75 void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
76 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
77
78 void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
79 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
80
81 void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
82 #define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
83
84 void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
85 #define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
86
87 void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
88 #define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
89
90 void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
91 #define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
92
93 void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
94 #define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
95
96 void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
97 #define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
98
99 void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
100 #define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
101
102 void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
103 #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
104
105 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
106 #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c
107
108 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
109 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
110
111 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
112 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c
113
114 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
115 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c
116
117 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
118 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
119
120 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
121 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
122
123 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
124 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
125
126 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
127 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
128
129 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
130 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c
131
132 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
133 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c
134
135 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
136 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c
137
138 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
139 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c
140
141 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
142 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c
143
144 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
145 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c
146
147 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
148 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c
149
150 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
151 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c
152
153 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
154 void vpx_dc_predictor_16x16_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
155 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_dspr2
156
157 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
158 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c
159
160 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
161 void vpx_dc_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
162 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_dspr2
163
164 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
165 void vpx_dc_predictor_8x8_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
166 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_dspr2
167
168 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
169 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c
170
171 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
172 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c
173
174 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
175 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c
176
177 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
178 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c
179
180 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
181 #define vpx_fdct16x16 vpx_fdct16x16_c
182
183 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
184 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c
185
186 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
187 #define vpx_fdct32x32 vpx_fdct32x32_c
188
189 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
190 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c
191
192 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
193 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
194
195 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
196 #define vpx_fdct4x4 vpx_fdct4x4_c
197
198 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
199 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c
200
201 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
202 #define vpx_fdct8x8 vpx_fdct8x8_c
203
204 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
205 #define vpx_fdct8x8_1 vpx_fdct8x8_1_c
206
207 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);
208 #define vpx_get16x16var vpx_get16x16var_c
209
210 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
211 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
212
213 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
214 #define vpx_get8x8var vpx_get8x8var_c
215
216 unsigned int vpx_get_mb_ss_c(const int16_t *);
217 #define vpx_get_mb_ss vpx_get_mb_ss_c
218
219 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
220 void vpx_h_predictor_16x16_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
221 #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_dspr2
222
223 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
224 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c
225
226 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
227 void vpx_h_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
228 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_dspr2
229
230 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
231 void vpx_h_predictor_8x8_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
232 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_dspr2
233
234 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
235 void vpx_idct16x16_10_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
236 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_dspr2
237
238 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
239 void vpx_idct16x16_1_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
240 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_dspr2
241
242 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
243 void vpx_idct16x16_256_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
244 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_dspr2
245
246 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
247 void vpx_idct32x32_1024_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
248 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_dspr2
249
250 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
251 void vpx_idct32x32_1_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
252 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_dspr2
253
254 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
255 void vpx_idct32x32_34_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
256 #define vpx_idct32x32_34_add vpx_idct32x32_34_add_dspr2
257
258 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
259 void vpx_idct4x4_16_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
260 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_dspr2
261
262 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
263 void vpx_idct4x4_1_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
264 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_dspr2
265
266 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
267 void vpx_idct8x8_12_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
268 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_dspr2
269
270 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
271 void vpx_idct8x8_1_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
272 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_dspr2
273
274 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
275 void vpx_idct8x8_64_add_dspr2(const tran_low_t *input, uint8_t *dest, int dest_stride);
276 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_dspr2
277
278 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
279 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
280
281 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
282 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
283
284 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);
285 void vpx_lpf_horizontal_16_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
286 #define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_dspr2
287
288 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);
289 void vpx_lpf_horizontal_4_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
290 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_dspr2
291
292 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 uint8_t *limit1, const uint8_t *thresh1);
293 void vpx_lpf_horizontal_4_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
294 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_dspr2
295
296 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);
297 void vpx_lpf_horizontal_8_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
298 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_dspr2
299
300 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 uint8_t *limit1, const uint8_t *thresh1);
301 void vpx_lpf_horizontal_8_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
302 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_dspr2
303
304 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
305 void vpx_lpf_vertical_16_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
306 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_dspr2
307
308 void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
309 void vpx_lpf_vertical_16_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
310 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_dspr2
311
312 void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
313 void vpx_lpf_vertical_4_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
314 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_dspr2
315
316 void vpx_lpf_vertical_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 uint8_t *limit1, const uint8_t *thresh1);
317 void vpx_lpf_vertical_4_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
318 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_dspr2
319
320 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
321 void vpx_lpf_vertical_8_dspr2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
322 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_dspr2
323
324 void vpx_lpf_vertical_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 uint8_t *limit1, const uint8_t *thresh1);
325 void vpx_lpf_vertical_8_dual_dspr2(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
326 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_dspr2
327
328 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
329 #define vpx_mse16x16 vpx_mse16x16_c
330
331 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
332 #define vpx_mse16x8 vpx_mse16x8_c
333
334 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
335 #define vpx_mse8x16 vpx_mse8x16_c
336
337 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
338 #define vpx_mse8x8 vpx_mse8x8_c
339
340 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_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);
341 #define vpx_quantize_b vpx_quantize_b_c
342
343 void vpx_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *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);
344 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
345
346 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
347 #define vpx_sad16x16 vpx_sad16x16_c
348
349 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
350 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
351
352 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
353 #define vpx_sad16x16x3 vpx_sad16x16x3_c
354
355 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
356 #define vpx_sad16x16x4d vpx_sad16x16x4d_c
357
358 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
359 #define vpx_sad16x16x8 vpx_sad16x16x8_c
360
361 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
362 #define vpx_sad16x32 vpx_sad16x32_c
363
364 unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
365 #define vpx_sad16x32_avg vpx_sad16x32_avg_c
366
367 void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
368 #define vpx_sad16x32x4d vpx_sad16x32x4d_c
369
370 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
371 #define vpx_sad16x8 vpx_sad16x8_c
372
373 unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
374 #define vpx_sad16x8_avg vpx_sad16x8_avg_c
375
376 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
377 #define vpx_sad16x8x3 vpx_sad16x8x3_c
378
379 void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
380 #define vpx_sad16x8x4d vpx_sad16x8x4d_c
381
382 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
383 #define vpx_sad16x8x8 vpx_sad16x8x8_c
384
385 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
386 #define vpx_sad32x16 vpx_sad32x16_c
387
388 unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
389 #define vpx_sad32x16_avg vpx_sad32x16_avg_c
390
391 void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
392 #define vpx_sad32x16x4d vpx_sad32x16x4d_c
393
394 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
395 #define vpx_sad32x32 vpx_sad32x32_c
396
397 unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
398 #define vpx_sad32x32_avg vpx_sad32x32_avg_c
399
400 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
401 #define vpx_sad32x32x3 vpx_sad32x32x3_c
402
403 void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
404 #define vpx_sad32x32x4d vpx_sad32x32x4d_c
405
406 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
407 #define vpx_sad32x32x8 vpx_sad32x32x8_c
408
409 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
410 #define vpx_sad32x64 vpx_sad32x64_c
411
412 unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
413 #define vpx_sad32x64_avg vpx_sad32x64_avg_c
414
415 void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
416 #define vpx_sad32x64x4d vpx_sad32x64x4d_c
417
418 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
419 #define vpx_sad4x4 vpx_sad4x4_c
420
421 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
422 #define vpx_sad4x4_avg vpx_sad4x4_avg_c
423
424 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
425 #define vpx_sad4x4x3 vpx_sad4x4x3_c
426
427 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
428 #define vpx_sad4x4x4d vpx_sad4x4x4d_c
429
430 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
431 #define vpx_sad4x4x8 vpx_sad4x4x8_c
432
433 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
434 #define vpx_sad4x8 vpx_sad4x8_c
435
436 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
437 #define vpx_sad4x8_avg vpx_sad4x8_avg_c
438
439 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
440 #define vpx_sad4x8x4d vpx_sad4x8x4d_c
441
442 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
443 #define vpx_sad4x8x8 vpx_sad4x8x8_c
444
445 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
446 #define vpx_sad64x32 vpx_sad64x32_c
447
448 unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
449 #define vpx_sad64x32_avg vpx_sad64x32_avg_c
450
451 void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
452 #define vpx_sad64x32x4d vpx_sad64x32x4d_c
453
454 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
455 #define vpx_sad64x64 vpx_sad64x64_c
456
457 unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
458 #define vpx_sad64x64_avg vpx_sad64x64_avg_c
459
460 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
461 #define vpx_sad64x64x3 vpx_sad64x64x3_c
462
463 void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
464 #define vpx_sad64x64x4d vpx_sad64x64x4d_c
465
466 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
467 #define vpx_sad64x64x8 vpx_sad64x64x8_c
468
469 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
470 #define vpx_sad8x16 vpx_sad8x16_c
471
472 unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
473 #define vpx_sad8x16_avg vpx_sad8x16_avg_c
474
475 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
476 #define vpx_sad8x16x3 vpx_sad8x16x3_c
477
478 void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
479 #define vpx_sad8x16x4d vpx_sad8x16x4d_c
480
481 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
482 #define vpx_sad8x16x8 vpx_sad8x16x8_c
483
484 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
485 #define vpx_sad8x4 vpx_sad8x4_c
486
487 unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
488 #define vpx_sad8x4_avg vpx_sad8x4_avg_c
489
490 void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
491 #define vpx_sad8x4x4d vpx_sad8x4x4d_c
492
493 void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
494 #define vpx_sad8x4x8 vpx_sad8x4x8_c
495
496 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
497 #define vpx_sad8x8 vpx_sad8x8_c
498
499 unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
500 #define vpx_sad8x8_avg vpx_sad8x8_avg_c
501
502 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
503 #define vpx_sad8x8x3 vpx_sad8x8x3_c
504
505 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
506 #define vpx_sad8x8x4d vpx_sad8x8x4d_c
507
508 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
509 #define vpx_sad8x8x8 vpx_sad8x8x8_c
510
511 void vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
512 #define vpx_scaled_2d vpx_scaled_2d_c
513
514 void vpx_scaled_avg_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
515 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
516
517 void vpx_scaled_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);
518 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
519
520 void vpx_scaled_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);
521 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
522
523 void vpx_scaled_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
524 #define vpx_scaled_horiz vpx_scaled_horiz_c
525
526 void vpx_scaled_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);
527 #define vpx_scaled_vert vpx_scaled_vert_c
528
529 uint32_t vpx_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
530 #define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c
531
532 uint32_t vpx_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
533 #define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c
534
535 uint32_t vpx_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
536 #define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c
537
538 uint32_t vpx_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
539 #define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c
540
541 uint32_t vpx_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
542 #define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c
543
544 uint32_t vpx_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
545 #define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c
546
547 uint32_t vpx_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
548 #define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c
549
550 uint32_t vpx_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
551 #define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c
552
553 uint32_t vpx_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
554 #define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c
555
556 uint32_t vpx_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
557 #define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c
558
559 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
560 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
561
562 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
563 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
564
565 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
566 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
567
568 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 *sse);
569 #define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_c
570
571 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 *sse);
572 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
573
574 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 *sse);
575 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
576
577 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 *sse);
578 #define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c
579
580 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 *sse);
581 #define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_c
582
583 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 *sse);
584 #define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c
585
586 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);
587 #define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c
588
589 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);
590 #define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c
591
592 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 *sse);
593 #define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c
594
595 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 *sse);
596 #define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_c
597
598 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 *sse);
599 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
600
601 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);
602 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
603
604 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);
605 #define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_c
606
607 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, ptrdiff_t pred_stride);
608 #define vpx_subtract_block vpx_subtract_block_c
609
610 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
611 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c
612
613 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
614 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c
615
616 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
617 void vpx_tm_predictor_4x4_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
618 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_dspr2
619
620 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
621 void vpx_tm_predictor_8x8_dspr2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
622 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_dspr2
623
624 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
625 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c
626
627 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
628 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c
629
630 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
631 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c
632
633 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
634 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c
635
636 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
637 #define vpx_variance16x16 vpx_variance16x16_c
638
639 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
640 #define vpx_variance16x32 vpx_variance16x32_c
641
642 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
643 #define vpx_variance16x8 vpx_variance16x8_c
644
645 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
646 #define vpx_variance32x16 vpx_variance32x16_c
647
648 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
649 #define vpx_variance32x32 vpx_variance32x32_c
650
651 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
652 #define vpx_variance32x64 vpx_variance32x64_c
653
654 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
655 #define vpx_variance4x4 vpx_variance4x4_c
656
657 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
658 #define vpx_variance4x8 vpx_variance4x8_c
659
660 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
661 #define vpx_variance64x32 vpx_variance64x32_c
662
663 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
664 #define vpx_variance64x64 vpx_variance64x64_c
665
666 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
667 #define vpx_variance8x16 vpx_variance8x16_c
668
669 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
670 #define vpx_variance8x4 vpx_variance8x4_c
671
672 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
673 #define vpx_variance8x8 vpx_variance8x8_c
674
675 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
676 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c
677
678 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
679 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c
680
681 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
682 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c
683
684 void vpx_dsp_rtcd(void);
685
686 #include "vpx_config.h"
687
688 #ifdef RTCD_C
setup_rtcd_internal(void)689 static void setup_rtcd_internal(void)
690 {
691 #if HAVE_DSPR2
692 void vpx_dsputil_static_init();
693 #if CONFIG_VP8
694 void dsputil_static_init();
695 #endif
696
697 vpx_dsputil_static_init();
698 #if CONFIG_VP8
699 dsputil_static_init();
700 #endif
701 #endif
702 }
703 #endif
704
705 #ifdef __cplusplus
706 } // extern "C"
707 #endif
708
709 #endif
710