| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 100 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 101 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c | 101 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c |
| 102 | 102 |
| 103 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 103 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 104 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c | 104 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c |
| 105 | 105 |
| 106 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 106 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 107 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c | 107 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c |
| 108 | 108 |
| 109 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 110 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c |
| 111 |
| 109 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 112 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 110 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c | 113 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c |
| 111 | 114 |
| 112 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 115 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 113 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c | 116 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c |
| 114 | 117 |
| 115 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 118 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 116 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c | 119 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c |
| 117 | 120 |
| 118 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 121 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 119 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c | 122 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c |
| 120 | 123 |
| 124 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 125 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c |
| 126 |
| 121 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 127 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 122 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c | 128 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c |
| 123 | 129 |
| 124 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 130 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 125 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c | 131 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c |
| 126 | 132 |
| 127 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 133 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 128 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c | 134 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c |
| 129 | 135 |
| 130 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 136 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 216 |
| 211 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 217 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 212 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c | 218 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c |
| 213 | 219 |
| 214 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 220 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 215 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c | 221 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c |
| 216 | 222 |
| 217 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 223 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 218 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c | 224 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c |
| 219 | 225 |
| 226 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 227 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c |
| 228 |
| 220 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | 229 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 221 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_c | 230 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_c |
| 222 | 231 |
| 223 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | 232 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 224 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_c | 233 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_c |
| 225 | 234 |
| 226 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | 235 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 227 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_c | 236 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_c |
| 228 | 237 |
| 229 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | 238 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media | 654 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media |
| 646 | 655 |
| 647 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); | 656 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); |
| 648 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); | 657 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); |
| 649 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media | 658 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media |
| 650 | 659 |
| 651 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); | 660 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); |
| 652 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); | 661 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); |
| 653 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media | 662 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media |
| 654 | 663 |
| 664 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 665 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c |
| 666 |
| 655 void vpx_dsp_rtcd(void); | 667 void vpx_dsp_rtcd(void); |
| 656 | 668 |
| 657 #include "vpx_config.h" | 669 #include "vpx_config.h" |
| 658 | 670 |
| 659 #ifdef RTCD_C | 671 #ifdef RTCD_C |
| 660 #include "vpx_ports/arm.h" | 672 #include "vpx_ports/arm.h" |
| 661 static void setup_rtcd_internal(void) | 673 static void setup_rtcd_internal(void) |
| 662 { | 674 { |
| 663 int flags = arm_cpu_caps(); | 675 int flags = arm_cpu_caps(); |
| 664 | 676 |
| 665 (void)flags; | 677 (void)flags; |
| 666 | 678 |
| 667 } | 679 } |
| 668 #endif | 680 #endif |
| 669 | 681 |
| 670 #ifdef __cplusplus | 682 #ifdef __cplusplus |
| 671 } // extern "C" | 683 } // extern "C" |
| 672 #endif | 684 #endif |
| 673 | 685 |
| 674 #endif | 686 #endif |
| OLD | NEW |