| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); | 226 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); |
| 227 #define vp9_full_search_sad vp9_full_search_sad_c | 227 #define vp9_full_search_sad vp9_full_search_sad_c |
| 228 | 228 |
| 229 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 229 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
| 230 #define vp9_fwht4x4 vp9_fwht4x4_c | 230 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 231 | 231 |
| 232 unsigned int vp9_get_mb_ss_c(const int16_t *); | 232 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 233 #define vp9_get_mb_ss vp9_get_mb_ss_c | 233 #define vp9_get_mb_ss vp9_get_mb_ss_c |
| 234 | 234 |
| 235 void vp9_get_sse_sum_16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 236 #define vp9_get_sse_sum_16x16 vp9_get_sse_sum_16x16_c |
| 237 |
| 235 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 238 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 236 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c | 239 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c |
| 237 | 240 |
| 238 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 241 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 239 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 242 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 240 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_neon | 243 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_neon |
| 241 | 244 |
| 242 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 245 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 243 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 246 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 244 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_neon | 247 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_neon |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 724 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 727 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 725 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c | 728 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c |
| 726 | 729 |
| 727 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 730 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 728 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c | 731 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c |
| 729 | 732 |
| 730 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 733 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 731 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c | 734 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c |
| 732 | 735 |
| 733 void vp9_rtcd(void); | 736 void vp9_rtcd(void); |
| 737 |
| 734 #include "vpx_config.h" | 738 #include "vpx_config.h" |
| 735 | 739 |
| 736 #ifdef RTCD_C | 740 #ifdef RTCD_C |
| 737 #include "vpx_ports/arm.h" | 741 #include "vpx_ports/arm.h" |
| 738 static void setup_rtcd_internal(void) | 742 static void setup_rtcd_internal(void) |
| 739 { | 743 { |
| 740 int flags = arm_cpu_caps(); | 744 int flags = arm_cpu_caps(); |
| 741 | 745 |
| 742 (void)flags; | 746 (void)flags; |
| 743 | 747 |
| 744 | |
| 745 } | 748 } |
| 746 #endif | 749 #endif |
| 747 | 750 |
| 748 #ifdef __cplusplus | 751 #ifdef __cplusplus |
| 749 } // extern "C" | 752 } // extern "C" |
| 750 #endif | 753 #endif |
| 751 | 754 |
| 752 #endif | 755 #endif |
| OLD | NEW |