| 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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo
ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons
t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca
n, const int16_t *iscan); | 391 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo
ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons
t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca
n, const int16_t *iscan); |
| 392 #define vp9_quantize_fp vp9_quantize_fp_c | 392 #define vp9_quantize_fp vp9_quantize_fp_c |
| 393 | 393 |
| 394 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr
, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_
t *scan, const int16_t *iscan); | 394 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr
, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_
t *scan, const int16_t *iscan); |
| 395 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 395 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
| 396 | 396 |
| 397 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 397 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
| 398 #define vp9_refining_search_sad vp9_refining_search_sad_c | 398 #define vp9_refining_search_sad vp9_refining_search_sad_c |
| 399 | 399 |
| 400 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 400 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 401 #define vp9_sad16x16 vp9_sad16x16_c | 401 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 402 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
| 402 | 403 |
| 403 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); | 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); |
| 404 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 405 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
| 405 | 406 |
| 406 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 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); |
| 407 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 408 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
| 408 | 409 |
| 409 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); | 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); |
| 410 #define vp9_sad16x16x4d vp9_sad16x16x4d_c | 411 #define vp9_sad16x16x4d vp9_sad16x16x4d_c |
| 411 | 412 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 439 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 440 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 440 #define vp9_sad32x16 vp9_sad32x16_c | 441 #define vp9_sad32x16 vp9_sad32x16_c |
| 441 | 442 |
| 442 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 443 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 443 #define vp9_sad32x16_avg vp9_sad32x16_avg_c | 444 #define vp9_sad32x16_avg vp9_sad32x16_avg_c |
| 444 | 445 |
| 445 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 446 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 446 #define vp9_sad32x16x4d vp9_sad32x16x4d_c | 447 #define vp9_sad32x16x4d vp9_sad32x16x4d_c |
| 447 | 448 |
| 448 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 449 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 449 #define vp9_sad32x32 vp9_sad32x32_c | 450 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 451 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
| 450 | 452 |
| 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); | 453 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); |
| 452 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 454 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
| 453 | 455 |
| 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); | 456 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 455 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 457 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
| 456 | 458 |
| 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); | 459 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); |
| 458 #define vp9_sad32x32x4d vp9_sad32x32x4d_c | 460 #define vp9_sad32x32x4d vp9_sad32x32x4d_c |
| 459 | 461 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 501 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 500 #define vp9_sad64x32 vp9_sad64x32_c | 502 #define vp9_sad64x32 vp9_sad64x32_c |
| 501 | 503 |
| 502 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 504 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 503 #define vp9_sad64x32_avg vp9_sad64x32_avg_c | 505 #define vp9_sad64x32_avg vp9_sad64x32_avg_c |
| 504 | 506 |
| 505 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 507 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 506 #define vp9_sad64x32x4d vp9_sad64x32x4d_c | 508 #define vp9_sad64x32x4d vp9_sad64x32x4d_c |
| 507 | 509 |
| 508 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 510 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 509 #define vp9_sad64x64 vp9_sad64x64_c | 511 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 512 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride); |
| 510 | 513 |
| 511 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); | 514 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 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 515 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
| 513 | 516 |
| 514 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 517 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 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 518 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
| 516 | 519 |
| 517 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); | 520 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 #define vp9_sad64x64x4d vp9_sad64x64x4d_c | 521 #define vp9_sad64x64x4d vp9_sad64x64x4d_c |
| 519 | 522 |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; | 797 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; |
| 795 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne
on; | 798 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne
on; |
| 796 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; | 799 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; |
| 797 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon; | 800 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon; |
| 798 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; | 801 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; |
| 799 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; | 802 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; |
| 800 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; | 803 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; |
| 801 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; | 804 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; |
| 802 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; | 805 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; |
| 803 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; | 806 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; |
| 807 vp9_sad16x16 = vp9_sad16x16_c; |
| 808 if (flags & HAS_NEON) vp9_sad16x16 = vp9_sad16x16_neon; |
| 809 vp9_sad32x32 = vp9_sad32x32_c; |
| 810 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon; |
| 811 vp9_sad64x64 = vp9_sad64x64_c; |
| 812 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon; |
| 804 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; | 813 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; |
| 805 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; | 814 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; |
| 806 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; | 815 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; |
| 807 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; | 816 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; |
| 808 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; | 817 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; |
| 809 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; | 818 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; |
| 810 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; | 819 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; |
| 811 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; | 820 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; |
| 812 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; | 821 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; |
| 813 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; | 822 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; |
| 814 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | 823 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
| 815 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; | 824 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; |
| 816 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; | 825 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; |
| 817 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; | 826 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; |
| 818 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | 827 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
| 819 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; | 828 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; |
| 820 } | 829 } |
| 821 #endif | 830 #endif |
| 822 | 831 |
| 823 #ifdef __cplusplus | 832 #ifdef __cplusplus |
| 824 } // extern "C" | 833 } // extern "C" |
| 825 #endif | 834 #endif |
| 826 | 835 |
| 827 #endif | 836 #endif |
| OLD | NEW |