| 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 /* |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c | 111 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c |
| 112 | 112 |
| 113 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 113 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 114 void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 114 void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 115 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_neon | 115 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_neon |
| 116 | 116 |
| 117 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 117 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 118 void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 118 void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 119 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_neon | 119 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_neon |
| 120 | 120 |
| 121 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 122 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c |
| 123 |
| 121 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 124 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 122 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c | 125 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c |
| 123 | 126 |
| 124 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 127 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 125 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c | 128 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c |
| 126 | 129 |
| 127 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 130 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 128 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c | 131 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c |
| 129 | 132 |
| 130 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 133 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 131 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c | 134 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c |
| 132 | 135 |
| 136 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 137 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c |
| 138 |
| 133 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 139 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 134 void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | 140 void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); |
| 135 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_neon | 141 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_neon |
| 136 | 142 |
| 137 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 143 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 138 void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | 144 void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); |
| 139 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_neon | 145 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_neon |
| 140 | 146 |
| 141 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 147 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 142 void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 148 void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon | 253 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon |
| 248 | 254 |
| 249 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 255 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 250 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 256 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 251 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon | 257 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon |
| 252 | 258 |
| 253 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 259 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 254 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 260 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 255 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon | 261 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon |
| 256 | 262 |
| 263 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 264 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c |
| 265 |
| 257 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | 266 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 258 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); | 267 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 259 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon | 268 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon |
| 260 | 269 |
| 261 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | 270 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 262 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | 271 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 263 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon | 272 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon |
| 264 | 273 |
| 265 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | 274 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 266 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); | 275 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 | 730 |
| 722 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 731 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
| 723 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c | 732 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c |
| 724 | 733 |
| 725 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | 734 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); |
| 726 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c | 735 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c |
| 727 | 736 |
| 728 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); | 737 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); |
| 729 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c | 738 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c |
| 730 | 739 |
| 740 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 741 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c |
| 742 |
| 731 void vpx_dsp_rtcd(void); | 743 void vpx_dsp_rtcd(void); |
| 732 | 744 |
| 733 #include "vpx_config.h" | 745 #include "vpx_config.h" |
| 734 | 746 |
| 735 #ifdef RTCD_C | 747 #ifdef RTCD_C |
| 736 #include "vpx_ports/arm.h" | 748 #include "vpx_ports/arm.h" |
| 737 static void setup_rtcd_internal(void) | 749 static void setup_rtcd_internal(void) |
| 738 { | 750 { |
| 739 int flags = arm_cpu_caps(); | 751 int flags = arm_cpu_caps(); |
| 740 | 752 |
| 741 (void)flags; | 753 (void)flags; |
| 742 | 754 |
| 743 } | 755 } |
| 744 #endif | 756 #endif |
| 745 | 757 |
| 746 #ifdef __cplusplus | 758 #ifdef __cplusplus |
| 747 } // extern "C" | 759 } // extern "C" |
| 748 #endif | 760 #endif |
| 749 | 761 |
| 750 #endif | 762 #endif |
| OLD | NEW |