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 RTCD_EXTERN unsigned int (*vp9_avg_8x8)(const uint8_t *, int p); | |
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 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | 43 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); |
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 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); | 222 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
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 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); | 226 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, tran_low_t *output, int
stride); |
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 RTCD_EXTERN void (*vp9_fdct8x8_quant)(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, t
ran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint
16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); | |
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 407 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
410 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 408 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
411 | 409 |
412 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); | 410 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); |
413 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 411 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
414 | 412 |
415 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 413 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
416 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 414 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
417 | 415 |
418 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); | 416 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); |
419 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); | 417 #define vp9_sad16x16x4d vp9_sad16x16x4d_c |
420 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
421 | 418 |
422 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); | 419 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); |
423 #define vp9_sad16x16x8 vp9_sad16x16x8_c | 420 #define vp9_sad16x16x8 vp9_sad16x16x8_c |
424 | 421 |
425 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 422 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
426 #define vp9_sad16x32 vp9_sad16x32_c | 423 #define vp9_sad16x32 vp9_sad16x32_c |
427 | 424 |
428 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); | 425 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); |
429 #define vp9_sad16x32_avg vp9_sad16x32_avg_c | 426 #define vp9_sad16x32_avg vp9_sad16x32_avg_c |
430 | 427 |
(...skipping 28 matching lines...) Expand all Loading... |
459 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 456 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
460 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 457 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
461 | 458 |
462 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); | 459 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); |
463 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 460 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
464 | 461 |
465 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 462 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
466 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 463 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
467 | 464 |
468 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); | 465 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); |
469 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); | 466 #define vp9_sad32x32x4d vp9_sad32x32x4d_c |
470 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
471 | 467 |
472 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); | 468 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); |
473 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 469 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
474 | 470 |
475 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 471 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
476 #define vp9_sad32x64 vp9_sad32x64_c | 472 #define vp9_sad32x64 vp9_sad32x64_c |
477 | 473 |
478 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); | 474 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); |
479 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 475 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
480 | 476 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 517 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
522 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); | 518 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
523 | 519 |
524 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); | 520 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); |
525 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 521 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
526 | 522 |
527 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 523 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
528 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 524 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
529 | 525 |
530 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); | 526 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); |
531 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); | 527 #define vp9_sad64x64x4d vp9_sad64x64x4d_c |
532 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
533 | 528 |
534 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); | 529 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); |
535 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 530 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
536 | 531 |
537 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); | 532 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
538 #define vp9_sad8x16 vp9_sad8x16_c | 533 #define vp9_sad8x16 vp9_sad8x16_c |
539 | 534 |
540 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); | 535 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); |
541 #define vp9_sad8x16_avg vp9_sad8x16_avg_c | 536 #define vp9_sad8x16_avg vp9_sad8x16_avg_c |
542 | 537 |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 #include "vpx_config.h" | 743 #include "vpx_config.h" |
749 | 744 |
750 #ifdef RTCD_C | 745 #ifdef RTCD_C |
751 #include "vpx_ports/arm.h" | 746 #include "vpx_ports/arm.h" |
752 static void setup_rtcd_internal(void) | 747 static void setup_rtcd_internal(void) |
753 { | 748 { |
754 int flags = arm_cpu_caps(); | 749 int flags = arm_cpu_caps(); |
755 | 750 |
756 (void)flags; | 751 (void)flags; |
757 | 752 |
758 vp9_avg_8x8 = vp9_avg_8x8_c; | |
759 if (flags & HAS_NEON) vp9_avg_8x8 = vp9_avg_8x8_neon; | |
760 vp9_convolve8 = vp9_convolve8_c; | 753 vp9_convolve8 = vp9_convolve8_c; |
761 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon; | 754 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon; |
762 vp9_convolve8_avg = vp9_convolve8_avg_c; | 755 vp9_convolve8_avg = vp9_convolve8_avg_c; |
763 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon; | 756 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon; |
764 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; | 757 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
765 if (flags & HAS_NEON) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_neon
; | 758 if (flags & HAS_NEON) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_neon
; |
766 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 759 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
767 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon; | 760 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon; |
768 vp9_convolve8_horiz = vp9_convolve8_horiz_c; | 761 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
769 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; | 762 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; |
770 vp9_convolve8_vert = vp9_convolve8_vert_c; | 763 vp9_convolve8_vert = vp9_convolve8_vert_c; |
771 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; | 764 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; |
772 vp9_convolve_avg = vp9_convolve_avg_c; | 765 vp9_convolve_avg = vp9_convolve_avg_c; |
773 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; | 766 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; |
774 vp9_convolve_copy = vp9_convolve_copy_c; | 767 vp9_convolve_copy = vp9_convolve_copy_c; |
775 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; | 768 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; |
776 vp9_fdct8x8 = vp9_fdct8x8_c; | 769 vp9_fdct8x8 = vp9_fdct8x8_c; |
777 if (flags & HAS_NEON) vp9_fdct8x8 = vp9_fdct8x8_neon; | 770 if (flags & HAS_NEON) vp9_fdct8x8 = vp9_fdct8x8_neon; |
778 vp9_fdct8x8_1 = vp9_fdct8x8_1_c; | 771 vp9_fdct8x8_1 = vp9_fdct8x8_1_c; |
779 if (flags & HAS_NEON) vp9_fdct8x8_1 = vp9_fdct8x8_1_neon; | 772 if (flags & HAS_NEON) vp9_fdct8x8_1 = vp9_fdct8x8_1_neon; |
780 vp9_fdct8x8_quant = vp9_fdct8x8_quant_c; | |
781 if (flags & HAS_NEON) vp9_fdct8x8_quant = vp9_fdct8x8_quant_neon; | |
782 vp9_get16x16var = vp9_get16x16var_c; | 773 vp9_get16x16var = vp9_get16x16var_c; |
783 if (flags & HAS_NEON) vp9_get16x16var = vp9_get16x16var_neon; | 774 if (flags & HAS_NEON) vp9_get16x16var = vp9_get16x16var_neon; |
784 vp9_get8x8var = vp9_get8x8var_c; | 775 vp9_get8x8var = vp9_get8x8var_c; |
785 if (flags & HAS_NEON) vp9_get8x8var = vp9_get8x8var_neon; | 776 if (flags & HAS_NEON) vp9_get8x8var = vp9_get8x8var_neon; |
786 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 777 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
787 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; | 778 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; |
788 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | 779 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
789 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; | 780 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; |
790 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 781 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
791 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; | 782 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; | 827 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; |
837 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; | 828 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; |
838 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; | 829 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; |
839 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; | 830 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; |
840 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; | 831 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; |
841 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; | 832 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; |
842 vp9_quantize_fp = vp9_quantize_fp_c; | 833 vp9_quantize_fp = vp9_quantize_fp_c; |
843 if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon; | 834 if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon; |
844 vp9_sad16x16 = vp9_sad16x16_c; | 835 vp9_sad16x16 = vp9_sad16x16_c; |
845 if (flags & HAS_NEON) vp9_sad16x16 = vp9_sad16x16_neon; | 836 if (flags & HAS_NEON) vp9_sad16x16 = vp9_sad16x16_neon; |
846 vp9_sad16x16x4d = vp9_sad16x16x4d_c; | |
847 if (flags & HAS_NEON) vp9_sad16x16x4d = vp9_sad16x16x4d_neon; | |
848 vp9_sad32x32 = vp9_sad32x32_c; | 837 vp9_sad32x32 = vp9_sad32x32_c; |
849 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon; | 838 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon; |
850 vp9_sad32x32x4d = vp9_sad32x32x4d_c; | |
851 if (flags & HAS_NEON) vp9_sad32x32x4d = vp9_sad32x32x4d_neon; | |
852 vp9_sad64x64 = vp9_sad64x64_c; | 839 vp9_sad64x64 = vp9_sad64x64_c; |
853 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon; | 840 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon; |
854 vp9_sad64x64x4d = vp9_sad64x64x4d_c; | |
855 if (flags & HAS_NEON) vp9_sad64x64x4d = vp9_sad64x64x4d_neon; | |
856 vp9_sad8x8 = vp9_sad8x8_c; | 841 vp9_sad8x8 = vp9_sad8x8_c; |
857 if (flags & HAS_NEON) vp9_sad8x8 = vp9_sad8x8_neon; | 842 if (flags & HAS_NEON) vp9_sad8x8 = vp9_sad8x8_neon; |
858 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c; | 843 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c; |
859 if (flags & HAS_NEON) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16
x16_neon; | 844 if (flags & HAS_NEON) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16
x16_neon; |
860 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; | 845 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; |
861 if (flags & HAS_NEON) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_neon; | 846 if (flags & HAS_NEON) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_neon; |
862 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; | 847 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; |
863 if (flags & HAS_NEON) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_neon; | 848 if (flags & HAS_NEON) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_neon; |
864 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c; | 849 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c; |
865 if (flags & HAS_NEON) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_
neon; | 850 if (flags & HAS_NEON) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_
neon; |
(...skipping 28 matching lines...) Expand all Loading... |
894 vp9_variance8x8 = vp9_variance8x8_c; | 879 vp9_variance8x8 = vp9_variance8x8_c; |
895 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; | 880 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; |
896 } | 881 } |
897 #endif | 882 #endif |
898 | 883 |
899 #ifdef __cplusplus | 884 #ifdef __cplusplus |
900 } // extern "C" | 885 } // extern "C" |
901 #endif | 886 #endif |
902 | 887 |
903 #endif | 888 #endif |
OLD | NEW |