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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 209 |
210 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); | 210 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); |
211 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c | 211 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_ro
w_c |
212 | 212 |
213 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); | 213 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); |
214 #define vp8_refining_search_sad vp8_refining_search_sad_c | 214 #define vp8_refining_search_sad vp8_refining_search_sad_c |
215 | 215 |
216 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 216 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
217 #define vp8_regular_quantize_b vp8_regular_quantize_b_c | 217 #define vp8_regular_quantize_b vp8_regular_quantize_b_c |
218 | 218 |
219 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); | |
220 unsigned int vp8_sad16x16_armv6(const unsigned char *src_ptr, int src_stride, co
nst unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
221 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); | |
222 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
223 | |
224 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); | |
225 #define vp8_sad16x16x3 vp8_sad16x16x3_c | |
226 | |
227 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); | |
228 #define vp8_sad16x16x4d vp8_sad16x16x4d_c | |
229 | |
230 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
231 #define vp8_sad16x16x8 vp8_sad16x16x8_c | |
232 | |
233 unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const u
nsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
234 unsigned int vp8_sad16x8_neon(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
235 RTCD_EXTERN unsigned int (*vp8_sad16x8)(const unsigned char *src_ptr, int src_st
ride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
236 | |
237 void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
238 #define vp8_sad16x8x3 vp8_sad16x8x3_c | |
239 | |
240 void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
241 #define vp8_sad16x8x4d vp8_sad16x8x4d_c | |
242 | |
243 void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
244 #define vp8_sad16x8x8 vp8_sad16x8x8_c | |
245 | |
246 unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int max_sad); | |
247 unsigned int vp8_sad4x4_neon(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
248 RTCD_EXTERN unsigned int (*vp8_sad4x4)(const unsigned char *src_ptr, int src_str
ide, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
249 | |
250 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
251 #define vp8_sad4x4x3 vp8_sad4x4x3_c | |
252 | |
253 void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
254 #define vp8_sad4x4x4d vp8_sad4x4x4d_c | |
255 | |
256 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
257 #define vp8_sad4x4x8 vp8_sad4x4x8_c | |
258 | |
259 unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const u
nsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
260 unsigned int vp8_sad8x16_neon(const unsigned char *src_ptr, int src_stride, cons
t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
261 RTCD_EXTERN unsigned int (*vp8_sad8x16)(const unsigned char *src_ptr, int src_st
ride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
262 | |
263 void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
264 #define vp8_sad8x16x3 vp8_sad8x16x3_c | |
265 | |
266 void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsign
ed char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
267 #define vp8_sad8x16x4d vp8_sad8x16x4d_c | |
268 | |
269 void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
270 #define vp8_sad8x16x8 vp8_sad8x16x8_c | |
271 | |
272 unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const un
signed char *ref_ptr, int ref_stride, unsigned int max_sad); | |
273 unsigned int vp8_sad8x8_neon(const unsigned char *src_ptr, int src_stride, const
unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
274 RTCD_EXTERN unsigned int (*vp8_sad8x8)(const unsigned char *src_ptr, int src_str
ide, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); | |
275 | |
276 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned int *sad_array); | |
277 #define vp8_sad8x8x3 vp8_sad8x8x3_c | |
278 | |
279 void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigne
d char * const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
280 #define vp8_sad8x8x4d vp8_sad8x8x4d_c | |
281 | |
282 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned
char *ref_ptr, int ref_stride, unsigned short *sad_array); | |
283 #define vp8_sad8x8x8 vp8_sad8x8x8_c | |
284 | |
285 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); | 219 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); |
286 void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); | 220 void vp8_short_fdct4x4_armv6(short *input, short *output, int pitch); |
287 void vp8_short_fdct4x4_neon(short *input, short *output, int pitch); | 221 void vp8_short_fdct4x4_neon(short *input, short *output, int pitch); |
288 RTCD_EXTERN void (*vp8_short_fdct4x4)(short *input, short *output, int pitch); | 222 RTCD_EXTERN void (*vp8_short_fdct4x4)(short *input, short *output, int pitch); |
289 | 223 |
290 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); | 224 void vp8_short_fdct8x4_c(short *input, short *output, int pitch); |
291 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); | 225 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch); |
292 void vp8_short_fdct8x4_neon(short *input, short *output, int pitch); | 226 void vp8_short_fdct8x4_neon(short *input, short *output, int pitch); |
293 RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); | 227 RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); |
294 | 228 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6; | 392 vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6; |
459 if (flags & HAS_NEON) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon; | 393 if (flags & HAS_NEON) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon; |
460 vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6; | 394 vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6; |
461 if (flags & HAS_NEON) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon; | 395 if (flags & HAS_NEON) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon; |
462 vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_armv6; | 396 vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_armv6; |
463 if (flags & HAS_NEON) vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon
; | 397 if (flags & HAS_NEON) vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon
; |
464 vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_armv6; | 398 vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_armv6; |
465 if (flags & HAS_NEON) vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon
; | 399 if (flags & HAS_NEON) vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon
; |
466 vp8_mse16x16 = vp8_mse16x16_armv6; | 400 vp8_mse16x16 = vp8_mse16x16_armv6; |
467 if (flags & HAS_NEON) vp8_mse16x16 = vp8_mse16x16_neon; | 401 if (flags & HAS_NEON) vp8_mse16x16 = vp8_mse16x16_neon; |
468 vp8_sad16x16 = vp8_sad16x16_armv6; | |
469 if (flags & HAS_NEON) vp8_sad16x16 = vp8_sad16x16_neon; | |
470 vp8_sad16x8 = vp8_sad16x8_c; | |
471 if (flags & HAS_NEON) vp8_sad16x8 = vp8_sad16x8_neon; | |
472 vp8_sad4x4 = vp8_sad4x4_c; | |
473 if (flags & HAS_NEON) vp8_sad4x4 = vp8_sad4x4_neon; | |
474 vp8_sad8x16 = vp8_sad8x16_c; | |
475 if (flags & HAS_NEON) vp8_sad8x16 = vp8_sad8x16_neon; | |
476 vp8_sad8x8 = vp8_sad8x8_c; | |
477 if (flags & HAS_NEON) vp8_sad8x8 = vp8_sad8x8_neon; | |
478 vp8_short_fdct4x4 = vp8_short_fdct4x4_armv6; | 402 vp8_short_fdct4x4 = vp8_short_fdct4x4_armv6; |
479 if (flags & HAS_NEON) vp8_short_fdct4x4 = vp8_short_fdct4x4_neon; | 403 if (flags & HAS_NEON) vp8_short_fdct4x4 = vp8_short_fdct4x4_neon; |
480 vp8_short_fdct8x4 = vp8_short_fdct8x4_armv6; | 404 vp8_short_fdct8x4 = vp8_short_fdct8x4_armv6; |
481 if (flags & HAS_NEON) vp8_short_fdct8x4 = vp8_short_fdct8x4_neon; | 405 if (flags & HAS_NEON) vp8_short_fdct8x4 = vp8_short_fdct8x4_neon; |
482 vp8_short_idct4x4llm = vp8_short_idct4x4llm_v6_dual; | 406 vp8_short_idct4x4llm = vp8_short_idct4x4llm_v6_dual; |
483 if (flags & HAS_NEON) vp8_short_idct4x4llm = vp8_short_idct4x4llm_neon; | 407 if (flags & HAS_NEON) vp8_short_idct4x4llm = vp8_short_idct4x4llm_neon; |
484 vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_v6; | 408 vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_v6; |
485 if (flags & HAS_NEON) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_neon; | 409 if (flags & HAS_NEON) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_neon; |
486 vp8_short_walsh4x4 = vp8_short_walsh4x4_armv6; | 410 vp8_short_walsh4x4 = vp8_short_walsh4x4_armv6; |
487 if (flags & HAS_NEON) vp8_short_walsh4x4 = vp8_short_walsh4x4_neon; | 411 if (flags & HAS_NEON) vp8_short_walsh4x4 = vp8_short_walsh4x4_neon; |
(...skipping 28 matching lines...) Expand all Loading... |
516 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_armv6; | 440 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_armv6; |
517 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_neon; | 441 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_neon; |
518 } | 442 } |
519 #endif | 443 #endif |
520 | 444 |
521 #ifdef __cplusplus | 445 #ifdef __cplusplus |
522 } // extern "C" | 446 } // extern "C" |
523 #endif | 447 #endif |
524 | 448 |
525 #endif | 449 #endif |
OLD | NEW |