1 #ifndef VPX_DSP_RTCD_H_
2 #define VPX_DSP_RTCD_H_
7 #define RTCD_EXTERN extern
14 #include "vpx/vpx_integer.h"
15 #include "vpx_dsp/vpx_dsp_common.h"
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
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 #define vpx_convolve8 vpx_convolve8_c
28 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
);
29 #define vpx_convolve8_avg vpx_convolve8_avg_c
31 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
);
32 #define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_c
34 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
);
35 #define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_c
37 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
);
38 #define vpx_convolve8_horiz vpx_convolve8_horiz_c
40 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
);
41 #define vpx_convolve8_vert vpx_convolve8_vert_c
43 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
);
44 #define vpx_convolve_avg vpx_convolve_avg_c
46 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
);
47 #define vpx_convolve_copy vpx_convolve_copy_c
49 void vpx_d117_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
50 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
52 void vpx_d117_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
53 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
55 void vpx_d117_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
56 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
58 void vpx_d117_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
59 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
61 void vpx_d135_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
62 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
64 void vpx_d135_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
65 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
67 void vpx_d135_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
68 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
70 void vpx_d135_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
71 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
73 void vpx_d153_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
74 #define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
76 void vpx_d153_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
77 #define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
79 void vpx_d153_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
80 #define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
82 void vpx_d153_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
83 #define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
85 void vpx_d207_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
86 #define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
88 void vpx_d207_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
89 #define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
91 void vpx_d207_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
92 #define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
94 void vpx_d207_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
95 #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
97 void vpx_d45_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
98 #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c
100 void vpx_d45_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
101 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
103 void vpx_d45_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
104 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c
106 void vpx_d45_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
107 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c
109 void vpx_d63_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
110 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
112 void vpx_d63_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
113 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
115 void vpx_d63_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
116 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
118 void vpx_d63_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
119 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
121 void vpx_dc_128_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
122 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c
124 void vpx_dc_128_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
125 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c
127 void vpx_dc_128_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
128 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c
130 void vpx_dc_128_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
131 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c
133 void vpx_dc_left_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
134 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c
136 void vpx_dc_left_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
137 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c
139 void vpx_dc_left_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
140 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c
142 void vpx_dc_left_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
143 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c
145 void vpx_dc_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
146 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c
148 void vpx_dc_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
149 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c
151 void vpx_dc_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
152 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c
154 void vpx_dc_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
155 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c
157 void vpx_dc_top_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
158 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c
160 void vpx_dc_top_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
161 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c
163 void vpx_dc_top_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
164 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c
166 void vpx_dc_top_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
167 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c
169 void vpx_fdct16x16_c(const int16_t *input
, tran_low_t
*output
, int stride
);
170 #define vpx_fdct16x16 vpx_fdct16x16_c
172 void vpx_fdct16x16_1_c(const int16_t *input
, tran_low_t
*output
, int stride
);
173 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c
175 void vpx_fdct32x32_c(const int16_t *input
, tran_low_t
*output
, int stride
);
176 #define vpx_fdct32x32 vpx_fdct32x32_c
178 void vpx_fdct32x32_1_c(const int16_t *input
, tran_low_t
*output
, int stride
);
179 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c
181 void vpx_fdct32x32_rd_c(const int16_t *input
, tran_low_t
*output
, int stride
);
182 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
184 void vpx_fdct4x4_c(const int16_t *input
, tran_low_t
*output
, int stride
);
185 #define vpx_fdct4x4 vpx_fdct4x4_c
187 void vpx_fdct4x4_1_c(const int16_t *input
, tran_low_t
*output
, int stride
);
188 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c
190 void vpx_fdct8x8_c(const int16_t *input
, tran_low_t
*output
, int stride
);
191 #define vpx_fdct8x8 vpx_fdct8x8_c
193 void vpx_fdct8x8_1_c(const int16_t *input
, tran_low_t
*output
, int stride
);
194 #define vpx_fdct8x8_1 vpx_fdct8x8_1_c
196 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
);
197 #define vpx_get16x16var vpx_get16x16var_c
199 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr
, int source_stride
, const unsigned char *ref_ptr
, int ref_stride
);
200 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
202 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
);
203 #define vpx_get8x8var vpx_get8x8var_c
205 unsigned int vpx_get_mb_ss_c(const int16_t *);
206 #define vpx_get_mb_ss vpx_get_mb_ss_c
208 void vpx_h_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
209 #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c
211 void vpx_h_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
212 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c
214 void vpx_h_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
215 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c
217 void vpx_h_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
218 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c
220 void vpx_idct16x16_10_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
221 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_c
223 void vpx_idct16x16_1_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
224 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_c
226 void vpx_idct16x16_256_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
227 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_c
229 void vpx_idct32x32_1024_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
230 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c
232 void vpx_idct32x32_1_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
233 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_c
235 void vpx_idct32x32_34_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
236 #define vpx_idct32x32_34_add vpx_idct32x32_34_add_c
238 void vpx_idct4x4_16_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
239 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_c
241 void vpx_idct4x4_1_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
242 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_c
244 void vpx_idct8x8_12_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
245 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_c
247 void vpx_idct8x8_1_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
248 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_c
250 void vpx_idct8x8_64_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
251 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_c
253 void vpx_iwht4x4_16_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
254 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
256 void vpx_iwht4x4_1_add_c(const tran_low_t
*input
, uint8_t *dest
, int dest_stride
);
257 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
259 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
);
260 #define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_c
262 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
);
263 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c
265 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
);
266 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c
268 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
);
269 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c
271 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
);
272 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c
274 void vpx_lpf_vertical_16_c(uint8_t *s
, int pitch
, const uint8_t *blimit
, const uint8_t *limit
, const uint8_t *thresh
);
275 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c
277 void vpx_lpf_vertical_16_dual_c(uint8_t *s
, int pitch
, const uint8_t *blimit
, const uint8_t *limit
, const uint8_t *thresh
);
278 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c
280 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
);
281 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c
283 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
);
284 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c
286 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
);
287 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c
289 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
);
290 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c
292 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int recon_stride
, unsigned int *sse
);
293 unsigned int vpx_mse16x16_media(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int recon_stride
, unsigned int *sse
);
294 #define vpx_mse16x16 vpx_mse16x16_media
296 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int recon_stride
, unsigned int *sse
);
297 #define vpx_mse16x8 vpx_mse16x8_c
299 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int recon_stride
, unsigned int *sse
);
300 #define vpx_mse8x16 vpx_mse8x16_c
302 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int recon_stride
, unsigned int *sse
);
303 #define vpx_mse8x8 vpx_mse8x8_c
305 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
);
306 #define vpx_quantize_b vpx_quantize_b_c
308 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
);
309 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
311 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
312 unsigned int vpx_sad16x16_media(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
313 #define vpx_sad16x16 vpx_sad16x16_media
315 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
);
316 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
318 void vpx_sad16x16x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
319 #define vpx_sad16x16x3 vpx_sad16x16x3_c
321 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
);
322 #define vpx_sad16x16x4d vpx_sad16x16x4d_c
324 void vpx_sad16x16x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
325 #define vpx_sad16x16x8 vpx_sad16x16x8_c
327 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
328 #define vpx_sad16x32 vpx_sad16x32_c
330 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
);
331 #define vpx_sad16x32_avg vpx_sad16x32_avg_c
333 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
);
334 #define vpx_sad16x32x4d vpx_sad16x32x4d_c
336 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
337 #define vpx_sad16x8 vpx_sad16x8_c
339 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
);
340 #define vpx_sad16x8_avg vpx_sad16x8_avg_c
342 void vpx_sad16x8x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
343 #define vpx_sad16x8x3 vpx_sad16x8x3_c
345 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
);
346 #define vpx_sad16x8x4d vpx_sad16x8x4d_c
348 void vpx_sad16x8x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
349 #define vpx_sad16x8x8 vpx_sad16x8x8_c
351 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
352 #define vpx_sad32x16 vpx_sad32x16_c
354 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
);
355 #define vpx_sad32x16_avg vpx_sad32x16_avg_c
357 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
);
358 #define vpx_sad32x16x4d vpx_sad32x16x4d_c
360 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
361 #define vpx_sad32x32 vpx_sad32x32_c
363 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
);
364 #define vpx_sad32x32_avg vpx_sad32x32_avg_c
366 void vpx_sad32x32x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
367 #define vpx_sad32x32x3 vpx_sad32x32x3_c
369 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
);
370 #define vpx_sad32x32x4d vpx_sad32x32x4d_c
372 void vpx_sad32x32x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
373 #define vpx_sad32x32x8 vpx_sad32x32x8_c
375 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
376 #define vpx_sad32x64 vpx_sad32x64_c
378 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
);
379 #define vpx_sad32x64_avg vpx_sad32x64_avg_c
381 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
);
382 #define vpx_sad32x64x4d vpx_sad32x64x4d_c
384 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
385 #define vpx_sad4x4 vpx_sad4x4_c
387 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
);
388 #define vpx_sad4x4_avg vpx_sad4x4_avg_c
390 void vpx_sad4x4x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
391 #define vpx_sad4x4x3 vpx_sad4x4x3_c
393 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
);
394 #define vpx_sad4x4x4d vpx_sad4x4x4d_c
396 void vpx_sad4x4x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
397 #define vpx_sad4x4x8 vpx_sad4x4x8_c
399 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
400 #define vpx_sad4x8 vpx_sad4x8_c
402 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
);
403 #define vpx_sad4x8_avg vpx_sad4x8_avg_c
405 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
);
406 #define vpx_sad4x8x4d vpx_sad4x8x4d_c
408 void vpx_sad4x8x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
409 #define vpx_sad4x8x8 vpx_sad4x8x8_c
411 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
412 #define vpx_sad64x32 vpx_sad64x32_c
414 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
);
415 #define vpx_sad64x32_avg vpx_sad64x32_avg_c
417 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
);
418 #define vpx_sad64x32x4d vpx_sad64x32x4d_c
420 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
421 #define vpx_sad64x64 vpx_sad64x64_c
423 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
);
424 #define vpx_sad64x64_avg vpx_sad64x64_avg_c
426 void vpx_sad64x64x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
427 #define vpx_sad64x64x3 vpx_sad64x64x3_c
429 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
);
430 #define vpx_sad64x64x4d vpx_sad64x64x4d_c
432 void vpx_sad64x64x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
433 #define vpx_sad64x64x8 vpx_sad64x64x8_c
435 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
436 #define vpx_sad8x16 vpx_sad8x16_c
438 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
);
439 #define vpx_sad8x16_avg vpx_sad8x16_avg_c
441 void vpx_sad8x16x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
442 #define vpx_sad8x16x3 vpx_sad8x16x3_c
444 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
);
445 #define vpx_sad8x16x4d vpx_sad8x16x4d_c
447 void vpx_sad8x16x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
448 #define vpx_sad8x16x8 vpx_sad8x16x8_c
450 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
451 #define vpx_sad8x4 vpx_sad8x4_c
453 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
);
454 #define vpx_sad8x4_avg vpx_sad8x4_avg_c
456 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
);
457 #define vpx_sad8x4x4d vpx_sad8x4x4d_c
459 void vpx_sad8x4x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
460 #define vpx_sad8x4x8 vpx_sad8x4x8_c
462 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
);
463 #define vpx_sad8x8 vpx_sad8x8_c
465 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
);
466 #define vpx_sad8x8_avg vpx_sad8x8_avg_c
468 void vpx_sad8x8x3_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
469 #define vpx_sad8x8x3 vpx_sad8x8x3_c
471 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
);
472 #define vpx_sad8x8x4d vpx_sad8x8x4d_c
474 void vpx_sad8x8x8_c(const uint8_t *src_ptr
, int src_stride
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sad_array
);
475 #define vpx_sad8x8x8 vpx_sad8x8x8_c
477 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
);
478 #define vpx_scaled_2d vpx_scaled_2d_c
480 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
);
481 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
483 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
);
484 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
486 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
);
487 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
489 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
);
490 #define vpx_scaled_horiz vpx_scaled_horiz_c
492 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
);
493 #define vpx_scaled_vert vpx_scaled_vert_c
495 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
);
496 #define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c
498 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
);
499 #define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c
501 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
);
502 #define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c
504 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
);
505 #define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c
507 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
);
508 #define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c
510 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
);
511 #define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c
513 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
);
514 #define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c
516 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
);
517 #define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c
519 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
);
520 #define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c
522 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
);
523 #define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c
525 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
);
526 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
528 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
);
529 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
531 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
);
532 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
534 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
);
535 uint32_t vpx_sub_pixel_variance16x16_media(const uint8_t *src_ptr
, int source_stride
, int xoffset
, int yoffset
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sse
);
536 #define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_media
538 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
);
539 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
541 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
);
542 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
544 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
);
545 #define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c
547 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
);
548 #define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_c
550 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
);
551 #define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c
553 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
);
554 #define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c
556 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
);
557 #define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c
559 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
);
560 #define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c
562 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
);
563 #define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_c
565 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
);
566 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
568 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
);
569 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
571 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
);
572 uint32_t vpx_sub_pixel_variance8x8_media(const uint8_t *src_ptr
, int source_stride
, int xoffset
, int yoffset
, const uint8_t *ref_ptr
, int ref_stride
, uint32_t *sse
);
573 #define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_media
575 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
);
576 #define vpx_subtract_block vpx_subtract_block_c
578 void vpx_tm_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
579 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c
581 void vpx_tm_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
582 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c
584 void vpx_tm_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
585 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c
587 void vpx_tm_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
588 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c
590 void vpx_v_predictor_16x16_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
591 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c
593 void vpx_v_predictor_32x32_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
594 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c
596 void vpx_v_predictor_4x4_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
597 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c
599 void vpx_v_predictor_8x8_c(uint8_t *dst
, ptrdiff_t y_stride
, const uint8_t *above
, const uint8_t *left
);
600 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c
602 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
603 unsigned int vpx_variance16x16_media(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
604 #define vpx_variance16x16 vpx_variance16x16_media
606 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
607 #define vpx_variance16x32 vpx_variance16x32_c
609 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
610 #define vpx_variance16x8 vpx_variance16x8_c
612 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
613 #define vpx_variance32x16 vpx_variance32x16_c
615 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
616 #define vpx_variance32x32 vpx_variance32x32_c
618 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
619 #define vpx_variance32x64 vpx_variance32x64_c
621 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
622 #define vpx_variance4x4 vpx_variance4x4_c
624 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
625 #define vpx_variance4x8 vpx_variance4x8_c
627 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
628 #define vpx_variance64x32 vpx_variance64x32_c
630 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
631 #define vpx_variance64x64 vpx_variance64x64_c
633 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
634 #define vpx_variance8x16 vpx_variance8x16_c
636 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
637 #define vpx_variance8x4 vpx_variance8x4_c
639 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
640 unsigned int vpx_variance8x8_media(const uint8_t *src_ptr
, int source_stride
, const uint8_t *ref_ptr
, int ref_stride
, unsigned int *sse
);
641 #define vpx_variance8x8 vpx_variance8x8_media
643 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
);
644 uint32_t vpx_variance_halfpixvar16x16_h_media(const unsigned char *src_ptr
, int source_stride
, const unsigned char *ref_ptr
, int ref_stride
, uint32_t *sse
);
645 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media
647 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
);
648 uint32_t vpx_variance_halfpixvar16x16_hv_media(const unsigned char *src_ptr
, int source_stride
, const unsigned char *ref_ptr
, int ref_stride
, uint32_t *sse
);
649 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media
651 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
);
652 uint32_t vpx_variance_halfpixvar16x16_v_media(const unsigned char *src_ptr
, int source_stride
, const unsigned char *ref_ptr
, int ref_stride
, uint32_t *sse
);
653 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media
655 void vpx_dsp_rtcd(void);
657 #include "vpx_config.h"
660 #include "vpx_ports/arm.h"
661 static void setup_rtcd_internal(void)
663 int flags
= arm_cpu_caps();