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 /* | 10 /* |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c
onst int16_t *iscan); | 124 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, c
onst int16_t *iscan); |
125 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c | 125 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c |
126 | 126 |
127 int16_t vp9_satd_c(const int16_t *coeff, int length); | 127 int16_t vp9_satd_c(const int16_t *coeff, int length); |
128 #define vp9_satd vp9_satd_c | 128 #define vp9_satd vp9_satd_c |
129 | 129 |
130 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
frame2, unsigned int block_width, unsigned int block_height, int strength, int f
ilter_weight, unsigned int *accumulator, uint16_t *count); | 130 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
frame2, unsigned int block_width, unsigned int block_height, int strength, int f
ilter_weight, unsigned int *accumulator, uint16_t *count); |
131 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c | 131 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
132 | 132 |
133 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); | 133 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
134 #define vp9_vector_var vp9_vector_var_c | 134 int vp9_vector_var_neon(int16_t const *ref, int16_t const *src, const int bwl); |
| 135 #define vp9_vector_var vp9_vector_var_neon |
135 | 136 |
136 void vp9_rtcd(void); | 137 void vp9_rtcd(void); |
137 | 138 |
138 #include "vpx_config.h" | 139 #include "vpx_config.h" |
139 | 140 |
140 #ifdef RTCD_C | 141 #ifdef RTCD_C |
141 #include "vpx_ports/arm.h" | 142 #include "vpx_ports/arm.h" |
142 static void setup_rtcd_internal(void) | 143 static void setup_rtcd_internal(void) |
143 { | 144 { |
144 int flags = arm_cpu_caps(); | 145 int flags = arm_cpu_caps(); |
145 | 146 |
146 (void)flags; | 147 (void)flags; |
147 | 148 |
148 } | 149 } |
149 #endif | 150 #endif |
150 | 151 |
151 #ifdef __cplusplus | 152 #ifdef __cplusplus |
152 } // extern "C" | 153 } // extern "C" |
153 #endif | 154 #endif |
154 | 155 |
155 #endif | 156 #endif |
OLD | NEW |