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 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 815 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
816 #define vpx_variance8x16 vpx_variance8x16_neon | 816 #define vpx_variance8x16 vpx_variance8x16_neon |
817 | 817 |
818 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 818 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
819 #define vpx_variance8x4 vpx_variance8x4_c | 819 #define vpx_variance8x4 vpx_variance8x4_c |
820 | 820 |
821 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 821 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
822 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 822 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
823 #define vpx_variance8x8 vpx_variance8x8_neon | 823 #define vpx_variance8x8 vpx_variance8x8_neon |
824 | 824 |
825 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); | |
826 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c | |
827 | |
828 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); | |
829 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c | |
830 | |
831 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); | |
832 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c | |
833 | |
834 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | 825 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
835 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c | 826 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c |
836 | 827 |
837 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl); | 828 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl); |
838 int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl); | 829 int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl); |
839 #define vpx_vector_var vpx_vector_var_neon | 830 #define vpx_vector_var vpx_vector_var_neon |
840 | 831 |
841 void vpx_dsp_rtcd(void); | 832 void vpx_dsp_rtcd(void); |
842 | 833 |
843 #include "vpx_config.h" | 834 #include "vpx_config.h" |
844 | 835 |
845 #ifdef RTCD_C | 836 #ifdef RTCD_C |
846 #include "vpx_ports/arm.h" | 837 #include "vpx_ports/arm.h" |
847 static void setup_rtcd_internal(void) | 838 static void setup_rtcd_internal(void) |
848 { | 839 { |
849 int flags = arm_cpu_caps(); | 840 int flags = arm_cpu_caps(); |
850 | 841 |
851 (void)flags; | 842 (void)flags; |
852 | 843 |
853 } | 844 } |
854 #endif | 845 #endif |
855 | 846 |
856 #ifdef __cplusplus | 847 #ifdef __cplusplus |
857 } // extern "C" | 848 } // extern "C" |
858 #endif | 849 #endif |
859 | 850 |
860 #endif | 851 #endif |
OLD | NEW |