OLD | NEW |
1 #ifndef VPX_DSP_RTCD_H_ | 1 #ifndef VPX_DSP_RTCD_H_ |
2 #define VPX_DSP_RTCD_H_ | 2 #define VPX_DSP_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
11 * DSP | 11 * DSP |
12 */ | 12 */ |
13 | 13 |
14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
15 #include "vpx_dsp/vpx_dsp_common.h" | 15 #include "vpx_dsp/vpx_dsp_common.h" |
16 | 16 |
17 | 17 |
18 #ifdef __cplusplus | 18 #ifdef __cplusplus |
19 extern "C" { | 19 extern "C" { |
20 #endif | 20 #endif |
21 | 21 |
22 unsigned int vpx_avg_4x4_c(const uint8_t *, int p); | |
23 unsigned int vpx_avg_4x4_neon(const uint8_t *, int p); | |
24 #define vpx_avg_4x4 vpx_avg_4x4_neon | |
25 | |
26 unsigned int vpx_avg_8x8_c(const uint8_t *, int p); | |
27 unsigned int vpx_avg_8x8_neon(const uint8_t *, int p); | |
28 #define vpx_avg_8x8 vpx_avg_8x8_neon | |
29 | |
30 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); | 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); |
31 #define vpx_comp_avg_pred vpx_comp_avg_pred_c | 23 #define vpx_comp_avg_pred vpx_comp_avg_pred_c |
32 | 24 |
33 void vpx_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | 25 void vpx_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); |
34 void vpx_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | 26 void vpx_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); |
35 #define vpx_convolve8 vpx_convolve8_neon | 27 #define vpx_convolve8 vpx_convolve8_neon |
36 | 28 |
37 void vpx_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 29 void vpx_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
38 void vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | 30 void vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); |
39 #define vpx_convolve8_avg vpx_convolve8_avg_neon | 31 #define vpx_convolve8_avg vpx_convolve8_avg_neon |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon | 226 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon |
235 | 227 |
236 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 228 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
237 void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 229 void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
238 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon | 230 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon |
239 | 231 |
240 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 232 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
241 void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 233 void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
242 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon | 234 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon |
243 | 235 |
244 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); | |
245 #define vpx_fdct16x16 vpx_fdct16x16_c | |
246 | |
247 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); | |
248 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c | |
249 | |
250 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); | |
251 #define vpx_fdct32x32 vpx_fdct32x32_c | |
252 | |
253 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); | |
254 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c | |
255 | |
256 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); | |
257 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c | |
258 | |
259 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); | |
260 #define vpx_fdct4x4 vpx_fdct4x4_c | |
261 | |
262 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); | |
263 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c | |
264 | |
265 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | |
266 void vpx_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | |
267 #define vpx_fdct8x8 vpx_fdct8x8_neon | |
268 | |
269 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | |
270 void vpx_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | |
271 #define vpx_fdct8x8_1 vpx_fdct8x8_1_neon | |
272 | |
273 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); | 236 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); |
274 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 237 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
275 #define vpx_get16x16var vpx_get16x16var_neon | 238 #define vpx_get16x16var vpx_get16x16var_neon |
276 | 239 |
277 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | 240 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); |
278 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride); | 241 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride); |
279 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon | 242 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon |
280 | 243 |
281 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | 244 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); |
282 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 245 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
(...skipping 11 matching lines...) Expand all Loading... |
294 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon | 257 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon |
295 | 258 |
296 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 259 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
297 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 260 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
298 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon | 261 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon |
299 | 262 |
300 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 263 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
301 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 264 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
302 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon | 265 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon |
303 | 266 |
304 void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coef
f); | |
305 #define vpx_hadamard_16x16 vpx_hadamard_16x16_c | |
306 | |
307 void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff)
; | |
308 #define vpx_hadamard_8x8 vpx_hadamard_8x8_c | |
309 | |
310 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | 267 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
311 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c | 268 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c |
312 | 269 |
313 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
314 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); | |
315 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon | |
316 | |
317 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
318 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
319 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon | |
320 | |
321 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
322 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); | |
323 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_neon | |
324 | |
325 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
326 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
327 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_neon | |
328 | |
329 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
330 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
331 #define vpx_idct32x32_135_add vpx_idct32x32_1024_add_neon | |
332 | |
333 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
334 void vpx_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
335 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_neon | |
336 | |
337 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
338 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
339 #define vpx_idct32x32_34_add vpx_idct32x32_1024_add_neon | |
340 | |
341 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
342 void vpx_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
343 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_neon | |
344 | |
345 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
346 void vpx_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
347 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_neon | |
348 | |
349 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
350 void vpx_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
351 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_neon | |
352 | |
353 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
354 void vpx_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
355 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_neon | |
356 | |
357 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
358 void vpx_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
359 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_neon | |
360 | |
361 int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width); | |
362 int16_t vpx_int_pro_col_neon(const uint8_t *ref, const int width); | |
363 #define vpx_int_pro_col vpx_int_pro_col_neon | |
364 | |
365 void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride,
const int height); | |
366 void vpx_int_pro_row_neon(int16_t *hbuf, const uint8_t *ref, const int ref_strid
e, const int height); | |
367 #define vpx_int_pro_row vpx_int_pro_row_neon | |
368 | |
369 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
370 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c | |
371 | |
372 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
373 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c | |
374 | |
375 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh); | 270 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh); |
376 void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh); | 271 void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh); |
377 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon | 272 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon |
378 | 273 |
379 void vpx_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | 274 void vpx_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); |
380 void vpx_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit
0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const
uint8_t *limit1, const uint8_t *thresh1); | 275 void vpx_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit
0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const
uint8_t *limit1, const uint8_t *thresh1); |
381 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon | 276 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon |
382 | 277 |
383 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh); | 278 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh); |
384 void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh); | 279 void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh); |
(...skipping 28 matching lines...) Expand all Loading... |
413 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon | 308 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon |
414 | 309 |
415 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh); | 310 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh); |
416 void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh); | 311 void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh); |
417 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon | 312 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon |
418 | 313 |
419 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | 314 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); |
420 void vpx_lpf_vertical_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui
nt8_t *limit1, const uint8_t *thresh1); | 315 void vpx_lpf_vertical_8_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui
nt8_t *limit1, const uint8_t *thresh1); |
421 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_neon | 316 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_neon |
422 | 317 |
423 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); | |
424 void vpx_minmax_8x8_neon(const uint8_t *s, int p, const uint8_t *d, int dp, int
*min, int *max); | |
425 #define vpx_minmax_8x8 vpx_minmax_8x8_neon | |
426 | |
427 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | 318 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); |
428 unsigned int vpx_mse16x16_media(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 319 unsigned int vpx_mse16x16_media(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
429 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 320 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
430 #define vpx_mse16x16 vpx_mse16x16_neon | 321 #define vpx_mse16x16 vpx_mse16x16_neon |
431 | 322 |
432 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 323 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
433 #define vpx_mse16x8 vpx_mse16x8_c | 324 #define vpx_mse16x8 vpx_mse16x8_c |
434 | 325 |
435 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 326 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
436 #define vpx_mse8x16 vpx_mse8x16_c | 327 #define vpx_mse8x16 vpx_mse8x16_c |
437 | 328 |
438 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | 329 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); |
439 #define vpx_mse8x8 vpx_mse8x8_c | 330 #define vpx_mse8x8 vpx_mse8x8_c |
440 | 331 |
441 void vpx_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha
r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i
nt Pitch); | 332 void vpx_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha
r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i
nt Pitch); |
442 #define vpx_plane_add_noise vpx_plane_add_noise_c | 333 #define vpx_plane_add_noise vpx_plane_add_noise_c |
443 | 334 |
444 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); | |
445 #define vpx_quantize_b vpx_quantize_b_c | |
446 | |
447 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 *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); | |
448 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c | |
449 | |
450 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | 335 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); |
451 unsigned int vpx_sad16x16_media(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride); | 336 unsigned int vpx_sad16x16_media(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride); |
452 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | 337 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); |
453 #define vpx_sad16x16 vpx_sad16x16_neon | 338 #define vpx_sad16x16 vpx_sad16x16_neon |
454 | 339 |
455 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 340 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
456 #define vpx_sad16x16_avg vpx_sad16x16_avg_c | 341 #define vpx_sad16x16_avg vpx_sad16x16_avg_c |
457 | 342 |
458 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 343 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
459 #define vpx_sad16x16x3 vpx_sad16x16x3_c | 344 #define vpx_sad16x16x3 vpx_sad16x16x3_c |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 | 501 |
617 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | 502 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); |
618 #define vpx_sad8x8x3 vpx_sad8x8x3_c | 503 #define vpx_sad8x8x3 vpx_sad8x8x3_c |
619 | 504 |
620 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | 505 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); |
621 #define vpx_sad8x8x4d vpx_sad8x8x4d_c | 506 #define vpx_sad8x8x4d vpx_sad8x8x4d_c |
622 | 507 |
623 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | 508 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); |
624 #define vpx_sad8x8x8 vpx_sad8x8x8_c | 509 #define vpx_sad8x8x8 vpx_sad8x8x8_c |
625 | 510 |
626 int vpx_satd_c(const int16_t *coeff, int length); | |
627 int vpx_satd_neon(const int16_t *coeff, int length); | |
628 #define vpx_satd vpx_satd_neon | |
629 | |
630 void vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | 511 void vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); |
631 #define vpx_scaled_2d vpx_scaled_2d_c | 512 #define vpx_scaled_2d vpx_scaled_2d_c |
632 | 513 |
633 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 *fi
lter_y, int y_step_q4, int w, int h); | 514 void vpx_scaled_avg_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
634 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c | 515 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c |
635 | 516 |
636 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | 517 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); |
637 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c | 518 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c |
638 | 519 |
639 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | 520 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 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); | 703 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); |
823 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media | 704 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media |
824 | 705 |
825 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 706 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
826 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); | 707 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); |
827 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media | 708 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media |
828 | 709 |
829 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | 710 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
830 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c | 711 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c |
831 | 712 |
832 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl); | |
833 int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl); | |
834 #define vpx_vector_var vpx_vector_var_neon | |
835 | |
836 void vpx_dsp_rtcd(void); | 713 void vpx_dsp_rtcd(void); |
837 | 714 |
838 #include "vpx_config.h" | 715 #include "vpx_config.h" |
839 | 716 |
840 #ifdef RTCD_C | 717 #ifdef RTCD_C |
841 #include "vpx_ports/arm.h" | 718 #include "vpx_ports/arm.h" |
842 static void setup_rtcd_internal(void) | 719 static void setup_rtcd_internal(void) |
843 { | 720 { |
844 int flags = arm_cpu_caps(); | 721 int flags = arm_cpu_caps(); |
845 | 722 |
846 (void)flags; | 723 (void)flags; |
847 | 724 |
848 } | 725 } |
849 #endif | 726 #endif |
850 | 727 |
851 #ifdef __cplusplus | 728 #ifdef __cplusplus |
852 } // extern "C" | 729 } // extern "C" |
853 #endif | 730 #endif |
854 | 731 |
855 #endif | 732 #endif |
OLD | NEW |