OLD | NEW |
1 #ifndef VP8_RTCD_H_ | 1 #ifndef VP8_RTCD_H_ |
2 #define VP8_RTCD_H_ | 2 #define VP8_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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon | 102 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_neon |
103 | 103 |
104 void vp8_dequantize_b_c(struct blockd*, short *dqc); | 104 void vp8_dequantize_b_c(struct blockd*, short *dqc); |
105 void vp8_dequantize_b_neon(struct blockd*, short *dqc); | 105 void vp8_dequantize_b_neon(struct blockd*, short *dqc); |
106 #define vp8_dequantize_b vp8_dequantize_b_neon | 106 #define vp8_dequantize_b vp8_dequantize_b_neon |
107 | 107 |
108 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block
d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per
_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *
center_mv); | 108 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct block
d *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per
_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *
center_mv); |
109 #define vp8_diamond_search_sad vp8_diamond_search_sad_c | 109 #define vp8_diamond_search_sad vp8_diamond_search_sad_c |
110 | 110 |
111 void vp8_fast_quantize_b_c(struct block *, struct blockd *); | 111 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
112 #define vp8_fast_quantize_b vp8_fast_quantize_b_c | 112 void vp8_fast_quantize_b_neon(struct block *, struct blockd *); |
113 | 113 #define vp8_fast_quantize_b vp8_fast_quantize_b_neon |
114 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); | |
115 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c | |
116 | 114 |
117 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); | 115 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch
ar *dst, int dst_stride, int src_weight); |
118 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c | 116 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c |
119 | 117 |
120 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 118 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
121 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c | 119 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
122 | 120 |
123 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); | 121 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char
*dst, int dst_stride, int src_weight); |
124 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c | 122 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c |
125 | 123 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 181 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
184 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); | 182 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); |
185 #define vp8_mse16x16 vp8_mse16x16_neon | 183 #define vp8_mse16x16 vp8_mse16x16_neon |
186 | 184 |
187 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc
h); | 185 void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitc
h); |
188 #define vp8_plane_add_noise vp8_plane_add_noise_c | 186 #define vp8_plane_add_noise vp8_plane_add_noise_c |
189 | 187 |
190 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d
st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); | 188 void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *d
st, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); |
191 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c | 189 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
192 | 190 |
193 void vp8_quantize_mb_c(struct macroblock *); | |
194 void vp8_quantize_mb_neon(struct macroblock *); | |
195 #define vp8_quantize_mb vp8_quantize_mb_neon | |
196 | |
197 void vp8_quantize_mbuv_c(struct macroblock *); | |
198 void vp8_quantize_mbuv_neon(struct macroblock *); | |
199 #define vp8_quantize_mbuv vp8_quantize_mbuv_neon | |
200 | |
201 void vp8_quantize_mby_c(struct macroblock *); | |
202 void vp8_quantize_mby_neon(struct macroblock *); | |
203 #define vp8_quantize_mby vp8_quantize_mby_neon | |
204 | |
205 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc
kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab
le *fn_ptr, int *mvcost[2], union int_mv *center_mv); | 191 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc
kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab
le *fn_ptr, int *mvcost[2], union int_mv *center_mv); |
206 #define vp8_refining_search_sad vp8_refining_search_sad_c | 192 #define vp8_refining_search_sad vp8_refining_search_sad_c |
207 | 193 |
208 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 194 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
209 #define vp8_regular_quantize_b vp8_regular_quantize_b_c | 195 #define vp8_regular_quantize_b vp8_regular_quantize_b_c |
210 | 196 |
211 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); | |
212 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c | |
213 | |
214 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 197 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
215 unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | 198 unsigned int vp8_sad16x16_neon(const unsigned char *src_ptr, int src_stride, con
st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); |
216 #define vp8_sad16x16 vp8_sad16x16_neon | 199 #define vp8_sad16x16 vp8_sad16x16_neon |
217 | 200 |
218 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned int *sad_array); | 201 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned int *sad_array); |
219 #define vp8_sad16x16x3 vp8_sad16x16x3_c | 202 #define vp8_sad16x16x3 vp8_sad16x16x3_c |
220 | 203 |
221 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig
ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | 204 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsig
ned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); |
222 #define vp8_sad16x16x4d vp8_sad16x16x4d_c | 205 #define vp8_sad16x16x4d vp8_sad16x16x4d_c |
223 | 206 |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 (void)flags; | 371 (void)flags; |
389 | 372 |
390 } | 373 } |
391 #endif | 374 #endif |
392 | 375 |
393 #ifdef __cplusplus | 376 #ifdef __cplusplus |
394 } // extern "C" | 377 } // extern "C" |
395 #endif | 378 #endif |
396 | 379 |
397 #endif | 380 #endif |
OLD | NEW |