1 #ifndef VP9_RTCD_H_
2 #define VP9_RTCD_H_
3 
4 #ifdef RTCD_C
5 #define RTCD_EXTERN
6 #else
7 #define RTCD_EXTERN extern
8 #endif
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /*
15  * VP9
16  */
17 
18 #include "vpx/vpx_integer.h"
19 #include "vp9/common/vp9_enums.h"
20 
21 struct macroblockd;
22 
23 /* Encoder forward decls */
24 struct macroblock;
25 struct vp9_variance_vtable;
26 struct search_site_config;
27 struct mv;
28 union int_mv;
29 struct yv12_buffer_config;
30 
31 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
32 #define vp9_blend_b vp9_blend_b_c
33 
34 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
35 #define vp9_blend_mb_inner vp9_blend_mb_inner_c
36 
37 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
38 #define vp9_blend_mb_outer vp9_blend_mb_outer_c
39 
40 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
41 #define vp9_block_error vp9_block_error_c
42 
43 void vp9_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);
44 #define vp9_convolve8 vp9_convolve8_c
45 
46 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
47 #define vp9_convolve8_avg vp9_convolve8_avg_c
48 
49 void vp9_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);
50 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c
51 
52 void vp9_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);
53 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c
54 
55 void vp9_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);
56 #define vp9_convolve8_horiz vp9_convolve8_horiz_c
57 
58 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
59 #define vp9_convolve8_vert vp9_convolve8_vert_c
60 
61 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
62 #define vp9_convolve_avg vp9_convolve_avg_c
63 
64 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
65 #define vp9_convolve_copy vp9_convolve_copy_c
66 
67 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
68 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
69 
70 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
71 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
72 
73 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
74 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
75 
76 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
77 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
78 
79 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
80 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
81 
82 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
83 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
84 
85 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
86 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
87 
88 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
89 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
90 
91 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
92 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c
93 
94 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
95 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
96 
97 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
98 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c
99 
100 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
101 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c
102 
103 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
104 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c
105 
106 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
107 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c
108 
109 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
110 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c
111 
112 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
113 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c
114 
115 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
116 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c
117 
118 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
119 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c
120 
121 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
122 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c
123 
124 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
125 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c
126 
127 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
128 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c
129 
130 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
131 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c
132 
133 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
134 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c
135 
136 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
137 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c
138 
139 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
140 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
141 
142 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
143 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
144 
145 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
146 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
147 
148 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
149 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
150 
151 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
152 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
153 
154 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
155 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
156 
157 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
158 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
159 
160 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
161 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
162 
163 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
164 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c
165 
166 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
167 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c
168 
169 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
170 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c
171 
172 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
173 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c
174 
175 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
176 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
177 
178 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
179 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
180 
181 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
182 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
183 
184 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
185 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c
186 
187 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_site_config *cfg,  struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv);
188 #define vp9_diamond_search_sad vp9_diamond_search_sad_c
189 
190 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
191 #define vp9_fdct16x16 vp9_fdct16x16_c
192 
193 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride);
194 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c
195 
196 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
197 #define vp9_fdct32x32 vp9_fdct32x32_c
198 
199 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride);
200 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c
201 
202 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
203 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
204 
205 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
206 #define vp9_fdct4x4 vp9_fdct4x4_c
207 
208 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride);
209 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c
210 
211 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
212 #define vp9_fdct8x8 vp9_fdct8x8_c
213 
214 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride);
215 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c
216 
217 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
218 #define vp9_fht16x16 vp9_fht16x16_c
219 
220 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type);
221 #define vp9_fht4x4 vp9_fht4x4_c
222 
223 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type);
224 #define vp9_fht8x8 vp9_fht8x8_c
225 
226 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv);
227 #define vp9_full_range_search vp9_full_range_search_c
228 
229 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv, struct mv *best_mv);
230 #define vp9_full_search_sad vp9_full_search_sad_c
231 
232 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
233 #define vp9_fwht4x4 vp9_fwht4x4_c
234 
235 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
236 #define vp9_get16x16var vp9_get16x16var_c
237 
238 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
239 #define vp9_get8x8var vp9_get8x8var_c
240 
241 unsigned int vp9_get_mb_ss_c(const int16_t *);
242 #define vp9_get_mb_ss vp9_get_mb_ss_c
243 
244 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
245 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
246 
247 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
248 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
249 
250 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
251 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
252 
253 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
254 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c
255 
256 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
257 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c
258 
259 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
260 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c
261 
262 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
263 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c
264 
265 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
266 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c
267 
268 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
269 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c
270 
271 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
272 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c
273 
274 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
275 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c
276 
277 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
278 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c
279 
280 void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
281 #define vp9_idct8x8_12_add vp9_idct8x8_12_add_c
282 
283 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
284 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c
285 
286 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
287 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c
288 
289 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type);
290 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c
291 
292 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
293 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
294 
295 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
296 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
297 
298 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
299 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
300 
301 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
302 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
303 
304 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
305 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c
306 
307 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
308 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_c
309 
310 void vp9_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);
311 #define vp9_lpf_horizontal_4_dual vp9_lpf_horizontal_4_dual_c
312 
313 void vp9_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
314 #define vp9_lpf_horizontal_8 vp9_lpf_horizontal_8_c
315 
316 void vp9_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);
317 #define vp9_lpf_horizontal_8_dual vp9_lpf_horizontal_8_dual_c
318 
319 void vp9_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
320 #define vp9_lpf_vertical_16 vp9_lpf_vertical_16_c
321 
322 void vp9_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
323 #define vp9_lpf_vertical_16_dual vp9_lpf_vertical_16_dual_c
324 
325 void vp9_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
326 #define vp9_lpf_vertical_4 vp9_lpf_vertical_4_c
327 
328 void vp9_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);
329 #define vp9_lpf_vertical_4_dual vp9_lpf_vertical_4_dual_c
330 
331 void vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
332 #define vp9_lpf_vertical_8 vp9_lpf_vertical_8_c
333 
334 void vp9_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);
335 #define vp9_lpf_vertical_8_dual vp9_lpf_vertical_8_dual_c
336 
337 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
338 #define vp9_mse16x16 vp9_mse16x16_c
339 
340 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
341 #define vp9_mse16x8 vp9_mse16x8_c
342 
343 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
344 #define vp9_mse8x16 vp9_mse8x16_c
345 
346 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
347 #define vp9_mse8x8 vp9_mse8x8_c
348 
349 void vp9_quantize_b_c(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
350 #define vp9_quantize_b vp9_quantize_b_c
351 
352 void vp9_quantize_b_32x32_c(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
353 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
354 
355 void vp9_quantize_fp_c(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
356 #define vp9_quantize_fp vp9_quantize_fp_c
357 
358 void vp9_quantize_fp_32x32_c(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
359 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
360 
361 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const struct mv *center_mv);
362 #define vp9_refining_search_sad vp9_refining_search_sad_c
363 
364 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
365 #define vp9_sad16x16 vp9_sad16x16_c
366 
367 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
368 #define vp9_sad16x16_avg vp9_sad16x16_avg_c
369 
370 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
371 #define vp9_sad16x16x3 vp9_sad16x16x3_c
372 
373 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
374 #define vp9_sad16x16x4d vp9_sad16x16x4d_c
375 
376 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
377 #define vp9_sad16x16x8 vp9_sad16x16x8_c
378 
379 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
380 #define vp9_sad16x32 vp9_sad16x32_c
381 
382 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
383 #define vp9_sad16x32_avg vp9_sad16x32_avg_c
384 
385 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
386 #define vp9_sad16x32x4d vp9_sad16x32x4d_c
387 
388 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
389 #define vp9_sad16x8 vp9_sad16x8_c
390 
391 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
392 #define vp9_sad16x8_avg vp9_sad16x8_avg_c
393 
394 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
395 #define vp9_sad16x8x3 vp9_sad16x8x3_c
396 
397 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
398 #define vp9_sad16x8x4d vp9_sad16x8x4d_c
399 
400 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
401 #define vp9_sad16x8x8 vp9_sad16x8x8_c
402 
403 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
404 #define vp9_sad32x16 vp9_sad32x16_c
405 
406 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
407 #define vp9_sad32x16_avg vp9_sad32x16_avg_c
408 
409 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
410 #define vp9_sad32x16x4d vp9_sad32x16x4d_c
411 
412 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
413 #define vp9_sad32x32 vp9_sad32x32_c
414 
415 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
416 #define vp9_sad32x32_avg vp9_sad32x32_avg_c
417 
418 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
419 #define vp9_sad32x32x3 vp9_sad32x32x3_c
420 
421 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
422 #define vp9_sad32x32x4d vp9_sad32x32x4d_c
423 
424 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
425 #define vp9_sad32x32x8 vp9_sad32x32x8_c
426 
427 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
428 #define vp9_sad32x64 vp9_sad32x64_c
429 
430 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
431 #define vp9_sad32x64_avg vp9_sad32x64_avg_c
432 
433 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
434 #define vp9_sad32x64x4d vp9_sad32x64x4d_c
435 
436 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
437 #define vp9_sad4x4 vp9_sad4x4_c
438 
439 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
440 #define vp9_sad4x4_avg vp9_sad4x4_avg_c
441 
442 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
443 #define vp9_sad4x4x3 vp9_sad4x4x3_c
444 
445 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
446 #define vp9_sad4x4x4d vp9_sad4x4x4d_c
447 
448 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
449 #define vp9_sad4x4x8 vp9_sad4x4x8_c
450 
451 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
452 #define vp9_sad4x8 vp9_sad4x8_c
453 
454 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
455 #define vp9_sad4x8_avg vp9_sad4x8_avg_c
456 
457 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
458 #define vp9_sad4x8x4d vp9_sad4x8x4d_c
459 
460 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
461 #define vp9_sad4x8x8 vp9_sad4x8x8_c
462 
463 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
464 #define vp9_sad64x32 vp9_sad64x32_c
465 
466 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
467 #define vp9_sad64x32_avg vp9_sad64x32_avg_c
468 
469 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
470 #define vp9_sad64x32x4d vp9_sad64x32x4d_c
471 
472 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
473 #define vp9_sad64x64 vp9_sad64x64_c
474 
475 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
476 #define vp9_sad64x64_avg vp9_sad64x64_avg_c
477 
478 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
479 #define vp9_sad64x64x3 vp9_sad64x64x3_c
480 
481 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
482 #define vp9_sad64x64x4d vp9_sad64x64x4d_c
483 
484 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
485 #define vp9_sad64x64x8 vp9_sad64x64x8_c
486 
487 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
488 #define vp9_sad8x16 vp9_sad8x16_c
489 
490 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
491 #define vp9_sad8x16_avg vp9_sad8x16_avg_c
492 
493 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
494 #define vp9_sad8x16x3 vp9_sad8x16x3_c
495 
496 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
497 #define vp9_sad8x16x4d vp9_sad8x16x4d_c
498 
499 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
500 #define vp9_sad8x16x8 vp9_sad8x16x8_c
501 
502 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
503 #define vp9_sad8x4 vp9_sad8x4_c
504 
505 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
506 #define vp9_sad8x4_avg vp9_sad8x4_avg_c
507 
508 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
509 #define vp9_sad8x4x4d vp9_sad8x4x4d_c
510 
511 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
512 #define vp9_sad8x4x8 vp9_sad8x4x8_c
513 
514 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride);
515 #define vp9_sad8x8 vp9_sad8x8_c
516 
517 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred);
518 #define vp9_sad8x8_avg vp9_sad8x8_avg_c
519 
520 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
521 #define vp9_sad8x8x3 vp9_sad8x8x3_c
522 
523 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
524 #define vp9_sad8x8x4d vp9_sad8x8x4d_c
525 
526 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
527 #define vp9_sad8x8x8 vp9_sad8x8x8_c
528 
529 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
530 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
531 
532 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
533 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
534 
535 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
536 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
537 
538 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
539 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
540 
541 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
542 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
543 
544 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
545 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
546 
547 unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
548 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
549 
550 unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
551 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
552 
553 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
554 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
555 
556 unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred);
557 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
558 
559 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
560 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
561 
562 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
563 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
564 
565 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
566 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
567 
568 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
569 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
570 
571 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
572 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
573 
574 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
575 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
576 
577 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
578 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
579 
580 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
581 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
582 
583 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
584 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
585 
586 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
587 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
588 
589 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
590 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
591 
592 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
593 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
594 
595 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
596 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
597 
598 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
599 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
600 
601 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
602 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
603 
604 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
605 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
606 
607 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride);
608 #define vp9_subtract_block vp9_subtract_block_c
609 
610 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
611 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
612 
613 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
614 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
615 
616 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
617 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
618 
619 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
620 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c
621 
622 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
623 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c
624 
625 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
626 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
627 
628 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
629 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
630 
631 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
632 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
633 
634 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
635 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
636 
637 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
638 #define vp9_variance16x16 vp9_variance16x16_c
639 
640 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
641 #define vp9_variance16x32 vp9_variance16x32_c
642 
643 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
644 #define vp9_variance16x8 vp9_variance16x8_c
645 
646 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
647 #define vp9_variance32x16 vp9_variance32x16_c
648 
649 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
650 #define vp9_variance32x32 vp9_variance32x32_c
651 
652 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
653 #define vp9_variance32x64 vp9_variance32x64_c
654 
655 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
656 #define vp9_variance4x4 vp9_variance4x4_c
657 
658 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
659 #define vp9_variance4x8 vp9_variance4x8_c
660 
661 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
662 #define vp9_variance64x32 vp9_variance64x32_c
663 
664 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
665 #define vp9_variance64x64 vp9_variance64x64_c
666 
667 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
668 #define vp9_variance8x16 vp9_variance8x16_c
669 
670 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
671 #define vp9_variance8x4 vp9_variance8x4_c
672 
673 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
674 #define vp9_variance8x8 vp9_variance8x8_c
675 
676 void vp9_rtcd(void);
677 
678 #include "vpx_config.h"
679 
680 #ifdef RTCD_C
681 #include "vpx_ports/arm.h"
setup_rtcd_internal(void)682 static void setup_rtcd_internal(void)
683 {
684     int flags = arm_cpu_caps();
685 
686     (void)flags;
687 
688 }
689 #endif
690 
691 #ifdef __cplusplus
692 }  // extern "C"
693 #endif
694 
695 #endif
696