Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / libvpx / source / config / linux / arm / vp8_rtcd.h
1 #ifndef VP8_RTCD_H_
2 #define VP8_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  * VP8
16  */
17
18 struct blockd;
19 struct macroblockd;
20 struct loop_filter_info;
21
22 /* Encoder forward decls */
23 struct block;
24 struct macroblock;
25 struct variance_vtable;
26 union int_mv;
27 struct yv12_buffer_config;
28
29 void vp8_clear_system_state_c();
30 #define vp8_clear_system_state vp8_clear_system_state_c
31
32 void vp8_dequantize_b_c(struct blockd*, short *dqc);
33 void vp8_dequantize_b_v6(struct blockd*, short *dqc);
34 #define vp8_dequantize_b vp8_dequantize_b_v6
35
36 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
37 void vp8_dequant_idct_add_v6(short *input, short *dq, unsigned char *output, int stride);
38 #define vp8_dequant_idct_add vp8_dequant_idct_add_v6
39
40 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
41 void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
42 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_v6
43
44 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
45 void vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
46 #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_v6
47
48 void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
49 void vp8_loop_filter_mbv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
50 #define vp8_loop_filter_mbv vp8_loop_filter_mbv_armv6
51
52 void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
53 void vp8_loop_filter_bv_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
54 #define vp8_loop_filter_bv vp8_loop_filter_bv_armv6
55
56 void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
57 void vp8_loop_filter_mbh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
58 #define vp8_loop_filter_mbh vp8_loop_filter_mbh_armv6
59
60 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
61 void vp8_loop_filter_bh_armv6(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
62 #define vp8_loop_filter_bh vp8_loop_filter_bh_armv6
63
64 void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
65 void vp8_loop_filter_simple_vertical_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
66 #define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_armv6
67
68 void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
69 void vp8_loop_filter_simple_horizontal_edge_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
70 #define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_armv6
71
72 void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
73 void vp8_loop_filter_bvs_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
74 #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_armv6
75
76 void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
77 void vp8_loop_filter_bhs_armv6(unsigned char *y, int ystride, const unsigned char *blimit);
78 #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_armv6
79
80 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
81 void vp8_short_idct4x4llm_v6_dual(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
82 #define vp8_short_idct4x4llm vp8_short_idct4x4llm_v6_dual
83
84 void vp8_short_inv_walsh4x4_1_c(short *input, short *output);
85 #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
86
87 void vp8_short_inv_walsh4x4_c(short *input, short *output);
88 void vp8_short_inv_walsh4x4_v6(short *input, short *output);
89 #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_v6
90
91 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
92 void vp8_dc_only_idct_add_v6(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
93 #define vp8_dc_only_idct_add vp8_dc_only_idct_add_v6
94
95 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
96 void vp8_copy_mem16x16_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
97 #define vp8_copy_mem16x16 vp8_copy_mem16x16_v6
98
99 void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
100 void vp8_copy_mem8x8_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
101 #define vp8_copy_mem8x8 vp8_copy_mem8x8_v6
102
103 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
104 void vp8_copy_mem8x4_v6(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
105 #define vp8_copy_mem8x4 vp8_copy_mem8x4_v6
106
107 void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride);
108 #define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c
109
110 void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row,  unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride);
111 #define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c
112
113 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
114 void vp8_intra4x4_predict_armv6(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
115 #define vp8_intra4x4_predict vp8_intra4x4_predict_armv6
116
117 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
118 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_c
119
120 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
121 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_c
122
123 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size);
124 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_row_c
125
126 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch);
127 #define vp8_plane_add_noise vp8_plane_add_noise_c
128
129 void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
130 #define vp8_blend_mb_inner vp8_blend_mb_inner_c
131
132 void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
133 #define vp8_blend_mb_outer vp8_blend_mb_outer_c
134
135 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
136 #define vp8_blend_b vp8_blend_b_c
137
138 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
139 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
140
141 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
142 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
143
144 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
145 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
146
147 void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
148 void vp8_sixtap_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
149 #define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_armv6
150
151 void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
152 void vp8_sixtap_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
153 #define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_armv6
154
155 void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
156 void vp8_sixtap_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
157 #define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_armv6
158
159 void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
160 void vp8_sixtap_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
161 #define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_armv6
162
163 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
164 void vp8_bilinear_predict16x16_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
165 #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_armv6
166
167 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
168 void vp8_bilinear_predict8x8_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
169 #define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_armv6
170
171 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
172 void vp8_bilinear_predict8x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
173 #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_armv6
174
175 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
176 void vp8_bilinear_predict4x4_armv6(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
177 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_armv6
178
179 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
180 #define vp8_variance4x4 vp8_variance4x4_c
181
182 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
183 unsigned int vp8_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
184 #define vp8_variance8x8 vp8_variance8x8_armv6
185
186 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
187 #define vp8_variance8x16 vp8_variance8x16_c
188
189 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
190 #define vp8_variance16x8 vp8_variance16x8_c
191
192 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
193 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
194 #define vp8_variance16x16 vp8_variance16x16_armv6
195
196 unsigned int vp8_sub_pixel_variance4x4_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
197 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c
198
199 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
200 unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
201 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_armv6
202
203 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
204 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
205
206 unsigned int vp8_sub_pixel_variance16x8_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
207 #define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c
208
209 unsigned int vp8_sub_pixel_variance16x16_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
210 unsigned int vp8_sub_pixel_variance16x16_armv6(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
211 #define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_armv6
212
213 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
214 unsigned int vp8_variance_halfpixvar16x16_h_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
215 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_armv6
216
217 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
218 unsigned int vp8_variance_halfpixvar16x16_v_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
219 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_armv6
220
221 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
222 unsigned int vp8_variance_halfpixvar16x16_hv_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
223 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_armv6
224
225 unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
226 #define vp8_sad4x4 vp8_sad4x4_c
227
228 unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
229 #define vp8_sad8x8 vp8_sad8x8_c
230
231 unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
232 #define vp8_sad8x16 vp8_sad8x16_c
233
234 unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
235 #define vp8_sad16x8 vp8_sad16x8_c
236
237 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
238 unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
239 #define vp8_sad16x16 vp8_sad16x16_armv6
240
241 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
242 #define vp8_sad4x4x3 vp8_sad4x4x3_c
243
244 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
245 #define vp8_sad8x8x3 vp8_sad8x8x3_c
246
247 void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
248 #define vp8_sad8x16x3 vp8_sad8x16x3_c
249
250 void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
251 #define vp8_sad16x8x3 vp8_sad16x8x3_c
252
253 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sad_array);
254 #define vp8_sad16x16x3 vp8_sad16x16x3_c
255
256 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
257 #define vp8_sad4x4x8 vp8_sad4x4x8_c
258
259 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
260 #define vp8_sad8x8x8 vp8_sad8x8x8_c
261
262 void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
263 #define vp8_sad8x16x8 vp8_sad8x16x8_c
264
265 void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
266 #define vp8_sad16x8x8 vp8_sad16x8x8_c
267
268 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned short *sad_array);
269 #define vp8_sad16x16x8 vp8_sad16x16x8_c
270
271 void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
272 #define vp8_sad4x4x4d vp8_sad4x4x4d_c
273
274 void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
275 #define vp8_sad8x8x4d vp8_sad8x8x4d_c
276
277 void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
278 #define vp8_sad8x16x4d vp8_sad8x16x4d_c
279
280 void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
281 #define vp8_sad16x8x4d vp8_sad16x8x4d_c
282
283 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int  ref_stride, unsigned int *sad_array);
284 #define vp8_sad16x16x4d vp8_sad16x16x4d_c
285
286 unsigned int vp8_get_mb_ss_c(const short *);
287 #define vp8_get_mb_ss vp8_get_mb_ss_c
288
289 unsigned int vp8_sub_pixel_mse16x16_c(const unsigned char  *src_ptr, int  source_stride, int  xoffset, int  yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
290 #define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c
291
292 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
293 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride, unsigned int *sse);
294 #define vp8_mse16x16 vp8_mse16x16_armv6
295
296 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
297 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
298
299 void vp8_short_fdct4x4_c(short *input, short *output, int pitch);
300 void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch);
301 #define vp8_short_fdct4x4 vp8_short_fdct4x4_armv6
302
303 void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
304 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch);
305 #define vp8_short_fdct8x4 vp8_short_fdct8x4_armv6
306
307 void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
308 void vp8_short_walsh4x4_armv6(short *input, short *output, int pitch);
309 #define vp8_short_walsh4x4 vp8_short_walsh4x4_armv6
310
311 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
312 #define vp8_regular_quantize_b vp8_regular_quantize_b_c
313
314 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
315 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
316 #define vp8_fast_quantize_b vp8_fast_quantize_b_armv6
317
318 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
319 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
320
321 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
322 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
323
324 void vp8_quantize_mb_c(struct macroblock *);
325 #define vp8_quantize_mb vp8_quantize_mb_c
326
327 void vp8_quantize_mby_c(struct macroblock *);
328 #define vp8_quantize_mby vp8_quantize_mby_c
329
330 void vp8_quantize_mbuv_c(struct macroblock *);
331 #define vp8_quantize_mbuv vp8_quantize_mbuv_c
332
333 int vp8_block_error_c(short *coeff, short *dqcoeff);
334 #define vp8_block_error vp8_block_error_c
335
336 int vp8_mbblock_error_c(struct macroblock *mb, int dc);
337 #define vp8_mbblock_error vp8_mbblock_error_c
338
339 int vp8_mbuverror_c(struct macroblock *mb);
340 #define vp8_mbuverror vp8_mbuverror_c
341
342 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
343 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
344 #define vp8_subtract_b vp8_subtract_b_armv6
345
346 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
347 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
348 #define vp8_subtract_mby vp8_subtract_mby_armv6
349
350 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
351 void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
352 #define vp8_subtract_mbuv vp8_subtract_mbuv_armv6
353
354 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
355 #define vp8_full_search_sad vp8_full_search_sad_c
356
357 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
358 #define vp8_refining_search_sad vp8_refining_search_sad_c
359
360 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
361 #define vp8_diamond_search_sad vp8_diamond_search_sad_c
362
363 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
364 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c
365
366 int vp8_denoiser_filter_c(struct yv12_buffer_config* mc_running_avg, struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magnitude2, int y_offset, int uv_offset);
367 #define vp8_denoiser_filter vp8_denoiser_filter_c
368
369 void vp8_rtcd(void);
370 #include "vpx_config.h"
371
372 #ifdef RTCD_C
373 #include "vpx_ports/arm.h"
374 static void setup_rtcd_internal(void)
375 {
376     int flags = arm_cpu_caps();
377
378     (void)flags;
379
380
381 }
382 #endif
383
384 #ifdef __cplusplus
385 }  // extern "C"
386 #endif
387
388 #endif