Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h

Issue 756673003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « libvpx_srcs_x86_intrinsics.gypi ('k') | source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 void vp8_dequantize_b_c(struct blockd*, short *dqc); 115 void vp8_dequantize_b_c(struct blockd*, short *dqc);
116 void vp8_dequantize_b_v6(struct blockd*, short *dqc); 116 void vp8_dequantize_b_v6(struct blockd*, short *dqc);
117 void vp8_dequantize_b_neon(struct blockd*, short *dqc); 117 void vp8_dequantize_b_neon(struct blockd*, short *dqc);
118 RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short *dqc); 118 RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short *dqc);
119 119
120 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); 120 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);
121 #define vp8_diamond_search_sad vp8_diamond_search_sad_c 121 #define vp8_diamond_search_sad vp8_diamond_search_sad_c
122 122
123 void vp8_fast_quantize_b_c(struct block *, struct blockd *); 123 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
124 void vp8_fast_quantize_b_armv6(struct block *, struct blockd *);
125 void vp8_fast_quantize_b_neon(struct block *, struct blockd *); 124 void vp8_fast_quantize_b_neon(struct block *, struct blockd *);
126 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); 125 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *);
127 126
128 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block d *d1, struct blockd *d2);
129 void vp8_fast_quantize_b_pair_neon(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2);
130 RTCD_EXTERN void (*vp8_fast_quantize_b_pair)(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
131
132 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch ar *dst, int dst_stride, int src_weight); 127 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned ch ar *dst, int dst_stride, int src_weight);
133 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c 128 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_c
134 129
135 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 130 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
136 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 131 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
137 132
138 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 133 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
139 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c 134 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_c
140 135
141 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd * d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable * fn_ptr, int *mvcost[2], union int_mv *center_mv); 136 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd * d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable * fn_ptr, int *mvcost[2], union int_mv *center_mv);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 203 unsigned int vp8_mse16x16_armv6(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
209 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 204 unsigned int vp8_mse16x16_neon(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
210 RTCD_EXTERN unsigned int (*vp8_mse16x16)(const unsigned char *src_ptr, int sourc e_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 205 RTCD_EXTERN unsigned int (*vp8_mse16x16)(const unsigned char *src_ptr, int sourc e_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
211 206
212 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); 207 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);
213 #define vp8_plane_add_noise vp8_plane_add_noise_c 208 #define vp8_plane_add_noise vp8_plane_add_noise_c
214 209
215 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);
216 #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
217 212
218 void vp8_quantize_mb_c(struct macroblock *);
219 void vp8_quantize_mb_neon(struct macroblock *);
220 RTCD_EXTERN void (*vp8_quantize_mb)(struct macroblock *);
221
222 void vp8_quantize_mbuv_c(struct macroblock *);
223 void vp8_quantize_mbuv_neon(struct macroblock *);
224 RTCD_EXTERN void (*vp8_quantize_mbuv)(struct macroblock *);
225
226 void vp8_quantize_mby_c(struct macroblock *);
227 void vp8_quantize_mby_neon(struct macroblock *);
228 RTCD_EXTERN void (*vp8_quantize_mby)(struct macroblock *);
229
230 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);
231 #define vp8_refining_search_sad vp8_refining_search_sad_c 214 #define vp8_refining_search_sad vp8_refining_search_sad_c
232 215
233 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 216 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
234 #define vp8_regular_quantize_b vp8_regular_quantize_b_c 217 #define vp8_regular_quantize_b vp8_regular_quantize_b_c
235 218
236 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2);
237 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
238
239 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); 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);
240 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); 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);
241 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); 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);
242 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); 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);
243 223
244 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); 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);
245 #define vp8_sad16x16x3 vp8_sad16x16x3_c 225 #define vp8_sad16x16x3 vp8_sad16x16x3_c
246 226
247 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); 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);
248 #define vp8_sad16x16x4d vp8_sad16x16x4d_c 228 #define vp8_sad16x16x4d vp8_sad16x16x4d_c
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 345
366 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int so urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst ride, unsigned int *sse); 346 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int so urce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refst ride, unsigned int *sse);
367 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c 347 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
368 348
369 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int sou rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr ide, unsigned int *sse); 349 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int sou rce_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstr ide, unsigned int *sse);
370 unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Re fstride, unsigned int *sse); 350 unsigned int vp8_sub_pixel_variance8x8_armv6(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Re fstride, unsigned int *sse);
371 unsigned int vp8_sub_pixel_variance8x8_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Ref stride, unsigned int *sse); 351 unsigned int vp8_sub_pixel_variance8x8_neon(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Ref stride, unsigned int *sse);
372 RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance8x8)(const unsigned char *src_ ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_pt r, int Refstride, unsigned int *sse); 352 RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance8x8)(const unsigned char *src_ ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_pt r, int Refstride, unsigned int *sse);
373 353
374 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); 354 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
375 void vp8_subtract_b_armv6(struct block *be, struct blockd *bd, int pitch);
376 void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch); 355 void vp8_subtract_b_neon(struct block *be, struct blockd *bd, int pitch);
377 RTCD_EXTERN void (*vp8_subtract_b)(struct block *be, struct blockd *bd, int pitc h); 356 RTCD_EXTERN void (*vp8_subtract_b)(struct block *be, struct blockd *bd, int pitc h);
378 357
379 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 358 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
380 void vp8_subtract_mbuv_armv6(short *diff, unsigned char *usrc, unsigned char *vs rc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride) ;
381 void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsr c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 359 void vp8_subtract_mbuv_neon(short *diff, unsigned char *usrc, unsigned char *vsr c, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
382 RTCD_EXTERN void (*vp8_subtract_mbuv)(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pre d_stride); 360 RTCD_EXTERN void (*vp8_subtract_mbuv)(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pre d_stride);
383 361
384 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride); 362 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigne d char *pred, int pred_stride);
385 void vp8_subtract_mby_armv6(short *diff, unsigned char *src, int src_stride, uns igned char *pred, int pred_stride);
386 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride); 363 void vp8_subtract_mby_neon(short *diff, unsigned char *src, int src_stride, unsi gned char *pred, int pred_stride);
387 RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_st ride, unsigned char *pred, int pred_stride); 364 RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_st ride, unsigned char *pred, int pred_stride);
388 365
389 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 366 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride , const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
390 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_st ride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 367 unsigned int vp8_variance16x16_armv6(const unsigned char *src_ptr, int source_st ride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
391 unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_str ide, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 368 unsigned int vp8_variance16x16_neon(const unsigned char *src_ptr, int source_str ide, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
392 RTCD_EXTERN unsigned int (*vp8_variance16x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ; 369 RTCD_EXTERN unsigned int (*vp8_variance16x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse) ;
393 370
394 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 371 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
395 unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 372 unsigned int vp8_variance16x8_neon(const unsigned char *src_ptr, int source_stri de, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_c; 436 vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_c;
460 if (flags & HAS_NEON) vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_neon; 437 if (flags & HAS_NEON) vp8_denoiser_filter_uv = vp8_denoiser_filter_uv_neon;
461 vp8_dequant_idct_add = vp8_dequant_idct_add_v6; 438 vp8_dequant_idct_add = vp8_dequant_idct_add_v6;
462 if (flags & HAS_NEON) vp8_dequant_idct_add = vp8_dequant_idct_add_neon; 439 if (flags & HAS_NEON) vp8_dequant_idct_add = vp8_dequant_idct_add_neon;
463 vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_v6; 440 vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_v6;
464 if (flags & HAS_NEON) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_u v_block_neon; 441 if (flags & HAS_NEON) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_u v_block_neon;
465 vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_v6; 442 vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_v6;
466 if (flags & HAS_NEON) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_ block_neon; 443 if (flags & HAS_NEON) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_ block_neon;
467 vp8_dequantize_b = vp8_dequantize_b_v6; 444 vp8_dequantize_b = vp8_dequantize_b_v6;
468 if (flags & HAS_NEON) vp8_dequantize_b = vp8_dequantize_b_neon; 445 if (flags & HAS_NEON) vp8_dequantize_b = vp8_dequantize_b_neon;
469 vp8_fast_quantize_b = vp8_fast_quantize_b_armv6; 446 vp8_fast_quantize_b = vp8_fast_quantize_b_c;
470 if (flags & HAS_NEON) vp8_fast_quantize_b = vp8_fast_quantize_b_neon; 447 if (flags & HAS_NEON) vp8_fast_quantize_b = vp8_fast_quantize_b_neon;
471 vp8_fast_quantize_b_pair = vp8_fast_quantize_b_pair_c;
472 if (flags & HAS_NEON) vp8_fast_quantize_b_pair = vp8_fast_quantize_b_pair_ne on;
473 vp8_get4x4sse_cs = vp8_get4x4sse_cs_c; 448 vp8_get4x4sse_cs = vp8_get4x4sse_cs_c;
474 if (flags & HAS_NEON) vp8_get4x4sse_cs = vp8_get4x4sse_cs_neon; 449 if (flags & HAS_NEON) vp8_get4x4sse_cs = vp8_get4x4sse_cs_neon;
475 vp8_loop_filter_bh = vp8_loop_filter_bh_armv6; 450 vp8_loop_filter_bh = vp8_loop_filter_bh_armv6;
476 if (flags & HAS_NEON) vp8_loop_filter_bh = vp8_loop_filter_bh_neon; 451 if (flags & HAS_NEON) vp8_loop_filter_bh = vp8_loop_filter_bh_neon;
477 vp8_loop_filter_bv = vp8_loop_filter_bv_armv6; 452 vp8_loop_filter_bv = vp8_loop_filter_bv_armv6;
478 if (flags & HAS_NEON) vp8_loop_filter_bv = vp8_loop_filter_bv_neon; 453 if (flags & HAS_NEON) vp8_loop_filter_bv = vp8_loop_filter_bv_neon;
479 vp8_loop_filter_mbh = vp8_loop_filter_mbh_armv6; 454 vp8_loop_filter_mbh = vp8_loop_filter_mbh_armv6;
480 if (flags & HAS_NEON) vp8_loop_filter_mbh = vp8_loop_filter_mbh_neon; 455 if (flags & HAS_NEON) vp8_loop_filter_mbh = vp8_loop_filter_mbh_neon;
481 vp8_loop_filter_mbv = vp8_loop_filter_mbv_armv6; 456 vp8_loop_filter_mbv = vp8_loop_filter_mbv_armv6;
482 if (flags & HAS_NEON) vp8_loop_filter_mbv = vp8_loop_filter_mbv_neon; 457 if (flags & HAS_NEON) vp8_loop_filter_mbv = vp8_loop_filter_mbv_neon;
483 vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6; 458 vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_armv6;
484 if (flags & HAS_NEON) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon; 459 if (flags & HAS_NEON) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_neon;
485 vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6; 460 vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_armv6;
486 if (flags & HAS_NEON) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon; 461 if (flags & HAS_NEON) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_neon;
487 vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_armv6; 462 vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_armv6;
488 if (flags & HAS_NEON) vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon ; 463 if (flags & HAS_NEON) vp8_loop_filter_simple_mbh = vp8_loop_filter_mbhs_neon ;
489 vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_armv6; 464 vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_armv6;
490 if (flags & HAS_NEON) vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon ; 465 if (flags & HAS_NEON) vp8_loop_filter_simple_mbv = vp8_loop_filter_mbvs_neon ;
491 vp8_mse16x16 = vp8_mse16x16_armv6; 466 vp8_mse16x16 = vp8_mse16x16_armv6;
492 if (flags & HAS_NEON) vp8_mse16x16 = vp8_mse16x16_neon; 467 if (flags & HAS_NEON) vp8_mse16x16 = vp8_mse16x16_neon;
493 vp8_quantize_mb = vp8_quantize_mb_c;
494 if (flags & HAS_NEON) vp8_quantize_mb = vp8_quantize_mb_neon;
495 vp8_quantize_mbuv = vp8_quantize_mbuv_c;
496 if (flags & HAS_NEON) vp8_quantize_mbuv = vp8_quantize_mbuv_neon;
497 vp8_quantize_mby = vp8_quantize_mby_c;
498 if (flags & HAS_NEON) vp8_quantize_mby = vp8_quantize_mby_neon;
499 vp8_sad16x16 = vp8_sad16x16_armv6; 468 vp8_sad16x16 = vp8_sad16x16_armv6;
500 if (flags & HAS_NEON) vp8_sad16x16 = vp8_sad16x16_neon; 469 if (flags & HAS_NEON) vp8_sad16x16 = vp8_sad16x16_neon;
501 vp8_sad16x8 = vp8_sad16x8_c; 470 vp8_sad16x8 = vp8_sad16x8_c;
502 if (flags & HAS_NEON) vp8_sad16x8 = vp8_sad16x8_neon; 471 if (flags & HAS_NEON) vp8_sad16x8 = vp8_sad16x8_neon;
503 vp8_sad4x4 = vp8_sad4x4_c; 472 vp8_sad4x4 = vp8_sad4x4_c;
504 if (flags & HAS_NEON) vp8_sad4x4 = vp8_sad4x4_neon; 473 if (flags & HAS_NEON) vp8_sad4x4 = vp8_sad4x4_neon;
505 vp8_sad8x16 = vp8_sad8x16_c; 474 vp8_sad8x16 = vp8_sad8x16_c;
506 if (flags & HAS_NEON) vp8_sad8x16 = vp8_sad8x16_neon; 475 if (flags & HAS_NEON) vp8_sad8x16 = vp8_sad8x16_neon;
507 vp8_sad8x8 = vp8_sad8x8_c; 476 vp8_sad8x8 = vp8_sad8x8_c;
508 if (flags & HAS_NEON) vp8_sad8x8 = vp8_sad8x8_neon; 477 if (flags & HAS_NEON) vp8_sad8x8 = vp8_sad8x8_neon;
(...skipping 10 matching lines...) Expand all
519 vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_armv6; 488 vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_armv6;
520 if (flags & HAS_NEON) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_neon ; 489 if (flags & HAS_NEON) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_neon ;
521 vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_armv6; 490 vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_armv6;
522 if (flags & HAS_NEON) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_neon; 491 if (flags & HAS_NEON) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_neon;
523 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6; 492 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_armv6;
524 if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon; 493 if (flags & HAS_NEON) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_neon;
525 vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_armv6; 494 vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_armv6;
526 if (flags & HAS_NEON) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16 x16_neon; 495 if (flags & HAS_NEON) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16 x16_neon;
527 vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_armv6; 496 vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_armv6;
528 if (flags & HAS_NEON) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_ neon; 497 if (flags & HAS_NEON) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_ neon;
529 vp8_subtract_b = vp8_subtract_b_armv6; 498 vp8_subtract_b = vp8_subtract_b_c;
530 if (flags & HAS_NEON) vp8_subtract_b = vp8_subtract_b_neon; 499 if (flags & HAS_NEON) vp8_subtract_b = vp8_subtract_b_neon;
531 vp8_subtract_mbuv = vp8_subtract_mbuv_armv6; 500 vp8_subtract_mbuv = vp8_subtract_mbuv_c;
532 if (flags & HAS_NEON) vp8_subtract_mbuv = vp8_subtract_mbuv_neon; 501 if (flags & HAS_NEON) vp8_subtract_mbuv = vp8_subtract_mbuv_neon;
533 vp8_subtract_mby = vp8_subtract_mby_armv6; 502 vp8_subtract_mby = vp8_subtract_mby_c;
534 if (flags & HAS_NEON) vp8_subtract_mby = vp8_subtract_mby_neon; 503 if (flags & HAS_NEON) vp8_subtract_mby = vp8_subtract_mby_neon;
535 vp8_variance16x16 = vp8_variance16x16_armv6; 504 vp8_variance16x16 = vp8_variance16x16_armv6;
536 if (flags & HAS_NEON) vp8_variance16x16 = vp8_variance16x16_neon; 505 if (flags & HAS_NEON) vp8_variance16x16 = vp8_variance16x16_neon;
537 vp8_variance16x8 = vp8_variance16x8_c; 506 vp8_variance16x8 = vp8_variance16x8_c;
538 if (flags & HAS_NEON) vp8_variance16x8 = vp8_variance16x8_neon; 507 if (flags & HAS_NEON) vp8_variance16x8 = vp8_variance16x8_neon;
539 vp8_variance8x16 = vp8_variance8x16_c; 508 vp8_variance8x16 = vp8_variance8x16_c;
540 if (flags & HAS_NEON) vp8_variance8x16 = vp8_variance8x16_neon; 509 if (flags & HAS_NEON) vp8_variance8x16 = vp8_variance8x16_neon;
541 vp8_variance8x8 = vp8_variance8x8_armv6; 510 vp8_variance8x8 = vp8_variance8x8_armv6;
542 if (flags & HAS_NEON) vp8_variance8x8 = vp8_variance8x8_neon; 511 if (flags & HAS_NEON) vp8_variance8x8 = vp8_variance8x8_neon;
543 vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_armv6; 512 vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_armv6;
544 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixv ar16x16_h_neon; 513 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixv ar16x16_h_neon;
545 vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_armv6; 514 vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_armv6;
546 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpix var16x16_hv_neon; 515 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpix var16x16_hv_neon;
547 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_armv6; 516 vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_armv6;
548 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv ar16x16_v_neon; 517 if (flags & HAS_NEON) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv ar16x16_v_neon;
549 } 518 }
550 #endif 519 #endif
551 520
552 #ifdef __cplusplus 521 #ifdef __cplusplus
553 } // extern "C" 522 } // extern "C"
554 #endif 523 #endif
555 524
556 #endif 525 #endif
OLDNEW
« no previous file with comments | « libvpx_srcs_x86_intrinsics.gypi ('k') | source/config/linux/arm-neon-cpu-detect/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698