OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_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 /* |
(...skipping 15 matching lines...) Expand all Loading... |
26 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
27 | 27 |
28 #ifdef __cplusplus | 28 #ifdef __cplusplus |
29 extern "C" { | 29 extern "C" { |
30 #endif | 30 #endif |
31 | 31 |
32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); | 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); |
33 #define vp9_avg_4x4 vp9_avg_4x4_c | 33 #define vp9_avg_4x4 vp9_avg_4x4_c |
34 | 34 |
35 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); | 35 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); |
36 unsigned int vp9_avg_8x8_neon(const uint8_t *, int p); | 36 #define vp9_avg_8x8 vp9_avg_8x8_c |
37 #define vp9_avg_8x8 vp9_avg_8x8_neon | |
38 | 37 |
39 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); | 38 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
40 #define vp9_block_error vp9_block_error_c | 39 #define vp9_block_error vp9_block_error_c |
41 | 40 |
42 void vp9_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); | 41 void vp9_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); |
43 void vp9_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); | 42 void vp9_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); |
44 #define vp9_convolve8 vp9_convolve8_neon | 43 #define vp9_convolve8 vp9_convolve8_neon |
45 | 44 |
46 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 45 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
47 void vp9_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); | 46 void vp9_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); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 219 |
221 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | 220 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
222 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | 221 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
223 #define vp9_fdct8x8 vp9_fdct8x8_neon | 222 #define vp9_fdct8x8 vp9_fdct8x8_neon |
224 | 223 |
225 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | 224 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
226 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | 225 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
227 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon | 226 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon |
228 | 227 |
229 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan); | 228 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan); |
230 void vp9_fdct8x8_quant_neon(const int16_t *input, int stride, 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); | 229 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_c |
231 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_neon | |
232 | 230 |
233 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 231 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
234 #define vp9_fht16x16 vp9_fht16x16_c | 232 #define vp9_fht16x16 vp9_fht16x16_c |
235 | 233 |
236 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 234 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
237 #define vp9_fht4x4 vp9_fht4x4_c | 235 #define vp9_fht4x4 vp9_fht4x4_c |
238 | 236 |
239 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 237 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
240 #define vp9_fht8x8 vp9_fht8x8_c | 238 #define vp9_fht8x8 vp9_fht8x8_c |
241 | 239 |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 399 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
402 #define vp9_sad16x16 vp9_sad16x16_neon | 400 #define vp9_sad16x16 vp9_sad16x16_neon |
403 | 401 |
404 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 402 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
405 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 403 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
406 | 404 |
407 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 405 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
408 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 406 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
409 | 407 |
410 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 408 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
411 void vp9_sad16x16x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 409 #define vp9_sad16x16x4d vp9_sad16x16x4d_c |
412 #define vp9_sad16x16x4d vp9_sad16x16x4d_neon | |
413 | 410 |
414 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 411 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
415 #define vp9_sad16x16x8 vp9_sad16x16x8_c | 412 #define vp9_sad16x16x8 vp9_sad16x16x8_c |
416 | 413 |
417 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 414 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
418 #define vp9_sad16x32 vp9_sad16x32_c | 415 #define vp9_sad16x32 vp9_sad16x32_c |
419 | 416 |
420 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 417 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
421 #define vp9_sad16x32_avg vp9_sad16x32_avg_c | 418 #define vp9_sad16x32_avg vp9_sad16x32_avg_c |
422 | 419 |
(...skipping 28 matching lines...) Expand all Loading... |
451 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 448 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
452 #define vp9_sad32x32 vp9_sad32x32_neon | 449 #define vp9_sad32x32 vp9_sad32x32_neon |
453 | 450 |
454 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 451 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
455 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 452 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
456 | 453 |
457 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 454 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
458 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 455 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
459 | 456 |
460 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 457 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
461 void vp9_sad32x32x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 458 #define vp9_sad32x32x4d vp9_sad32x32x4d_c |
462 #define vp9_sad32x32x4d vp9_sad32x32x4d_neon | |
463 | 459 |
464 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 460 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
465 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 461 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
466 | 462 |
467 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 463 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
468 #define vp9_sad32x64 vp9_sad32x64_c | 464 #define vp9_sad32x64 vp9_sad32x64_c |
469 | 465 |
470 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 466 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
471 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 467 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
472 | 468 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 509 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
514 #define vp9_sad64x64 vp9_sad64x64_neon | 510 #define vp9_sad64x64 vp9_sad64x64_neon |
515 | 511 |
516 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 512 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
517 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 513 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
518 | 514 |
519 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 515 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
520 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 516 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
521 | 517 |
522 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 518 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
523 void vp9_sad64x64x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | 519 #define vp9_sad64x64x4d vp9_sad64x64x4d_c |
524 #define vp9_sad64x64x4d vp9_sad64x64x4d_neon | |
525 | 520 |
526 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 521 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
527 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 522 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
528 | 523 |
529 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); | 524 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
530 #define vp9_sad8x16 vp9_sad8x16_c | 525 #define vp9_sad8x16 vp9_sad8x16_c |
531 | 526 |
532 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 527 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
533 #define vp9_sad8x16_avg vp9_sad8x16_avg_c | 528 #define vp9_sad8x16_avg vp9_sad8x16_avg_c |
534 | 529 |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 (void)flags; | 743 (void)flags; |
749 | 744 |
750 } | 745 } |
751 #endif | 746 #endif |
752 | 747 |
753 #ifdef __cplusplus | 748 #ifdef __cplusplus |
754 } // extern "C" | 749 } // extern "C" |
755 #endif | 750 #endif |
756 | 751 |
757 #endif | 752 #endif |
OLD | NEW |