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

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

Issue 478033002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 months 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
OLDNEW
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 #ifdef __cplusplus 10 #ifdef __cplusplus
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); 210 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
211 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c 211 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
212 212
213 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); 213 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
214 #define vp9_fdct4x4 vp9_fdct4x4_c 214 #define vp9_fdct4x4 vp9_fdct4x4_c
215 215
216 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); 216 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride);
217 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c 217 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c
218 218
219 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); 219 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
220 #define vp9_fdct8x8 vp9_fdct8x8_c 220 void vp9_fdct8x8_neon(const int16_t *input, int16_t *output, int stride);
221 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid e);
221 222
222 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); 223 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride);
223 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c 224 void vp9_fdct8x8_1_neon(const int16_t *input, int16_t *output, int stride);
225 RTCD_EXTERN void (*vp9_fdct8x8_1)(const int16_t *input, int16_t *output, int str ide);
224 226
225 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty pe); 227 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty pe);
226 #define vp9_fht16x16 vp9_fht16x16_c 228 #define vp9_fht16x16 vp9_fht16x16_c
227 229
228 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type ); 230 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type );
229 #define vp9_fht4x4 vp9_fht4x4_c 231 #define vp9_fht4x4 vp9_fht4x4_c
230 232
231 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type ); 233 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type );
232 #define vp9_fht8x8 vp9_fht8x8_c 234 #define vp9_fht8x8 vp9_fht8x8_c
233 235
234 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv); 236 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site _config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c enter_mv);
235 #define vp9_full_range_search vp9_full_range_search_c 237 #define vp9_full_range_search vp9_full_range_search_c
236 238
237 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv); 239 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st ruct mv *center_mv, struct mv *best_mv);
238 #define vp9_full_search_sad vp9_full_search_sad_c 240 #define vp9_full_search_sad vp9_full_search_sad_c
239 241
240 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); 242 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
241 #define vp9_fwht4x4 vp9_fwht4x4_c 243 #define vp9_fwht4x4 vp9_fwht4x4_c
242 244
243 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 245 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
244 #define vp9_get16x16var vp9_get16x16var_c 246 void vp9_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
247 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
245 248
246 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum); 249 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sse, int *sum);
247 #define vp9_get8x8var vp9_get8x8var_c 250 void vp9_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
251 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
248 252
249 unsigned int vp9_get_mb_ss_c(const int16_t *); 253 unsigned int vp9_get_mb_ss_c(const int16_t *);
250 #define vp9_get_mb_ss vp9_get_mb_ss_c 254 #define vp9_get_mb_ss vp9_get_mb_ss_c
251 255
252 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 256 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
253 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 257 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
254 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 258 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
255 259
256 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 260 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
257 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 261 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 386 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
383 #define vp9_mse8x8 vp9_mse8x8_c 387 #define vp9_mse8x8 vp9_mse8x8_c
384 388
385 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan , const int16_t *iscan); 389 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan , const int16_t *iscan);
386 #define vp9_quantize_b vp9_quantize_b_c 390 #define vp9_quantize_b vp9_quantize_b_c
387 391
388 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); 392 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant _ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
389 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c 393 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
390 394
391 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca n, const int16_t *iscan); 395 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca n, const int16_t *iscan);
392 #define vp9_quantize_fp vp9_quantize_fp_c 396 void vp9_quantize_fp_neon(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_ block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p tr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t * scan, const int16_t *iscan);
397 RTCD_EXTERN void (*vp9_quantize_fp)(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_ t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqco eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
393 398
394 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr , const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_ t *scan, const int16_t *iscan); 399 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr , const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_ t *scan, const int16_t *iscan);
395 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c 400 #define vp9_quantize_fp_32x32 vp9_quantize_fp_32x32_c
396 401
397 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru ct mv *center_mv); 402 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru ct mv *center_mv);
398 #define vp9_refining_search_sad vp9_refining_search_sad_c 403 #define vp9_refining_search_sad vp9_refining_search_sad_c
399 404
400 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride); 405 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
401 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride); 406 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
402 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride); 407 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 549 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
545 #define vp9_sad8x4_avg vp9_sad8x4_avg_c 550 #define vp9_sad8x4_avg vp9_sad8x4_avg_c
546 551
547 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 552 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
548 #define vp9_sad8x4x4d vp9_sad8x4x4d_c 553 #define vp9_sad8x4x4d vp9_sad8x4x4d_c
549 554
550 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 555 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
551 #define vp9_sad8x4x8 vp9_sad8x4x8_c 556 #define vp9_sad8x4x8 vp9_sad8x4x8_c
552 557
553 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride); 558 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
554 #define vp9_sad8x8 vp9_sad8x8_c 559 unsigned int vp9_sad8x8_neon(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
560 RTCD_EXTERN unsigned int (*vp9_sad8x8)(const uint8_t *src_ptr, int source_stride , const uint8_t *ref_ptr, int ref_stride);
555 561
556 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 562 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
557 #define vp9_sad8x8_avg vp9_sad8x8_avg_c 563 #define vp9_sad8x8_avg vp9_sad8x8_avg_c
558 564
559 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 565 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
560 #define vp9_sad8x8x3 vp9_sad8x8x3_c 566 #define vp9_sad8x8x3 vp9_sad8x8x3_c
561 567
562 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 568 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
563 #define vp9_sad8x8x4d vp9_sad8x8x4d_c 569 #define vp9_sad8x8x4d vp9_sad8x8x4d_c
564 570
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred); 604 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse, const uint8_t *second_pred);
599 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c 605 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
600 606
601 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred); 607 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse, const uint8_t *second_pred);
602 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c 608 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
603 609
604 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred); 610 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse, const uint8_t *second_pred);
605 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c 611 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
606 612
607 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 613 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
608 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c 614 unsigned int vp9_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
615 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
609 616
610 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 617 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
611 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c 618 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
612 619
613 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 620 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
614 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c 621 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
615 622
616 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 623 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
617 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c 624 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
618 625
619 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 626 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
620 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c 627 unsigned int vp9_sub_pixel_variance32x32_neon(const uint8_t *src_ptr, int source _stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi gned int *sse);
628 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x32)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st ride, unsigned int *sse);
621 629
622 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 630 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
623 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c 631 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
624 632
625 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 633 unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
626 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c 634 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
627 635
628 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 636 unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse);
629 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c 637 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
630 638
631 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 639 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
632 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c 640 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
633 641
634 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse); 642 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne d int *sse);
635 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c 643 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
636 644
637 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 645 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
638 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c 646 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
639 647
640 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse); 648 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i nt *sse);
641 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c 649 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
642 650
643 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 651 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
644 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c 652 unsigned int vp9_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
653 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse);
645 654
646 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride); 655 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride);
647 #define vp9_subtract_block vp9_subtract_block_c 656 void vp9_subtract_block_neon(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr , ptrdiff_t pred_stride);
657 RTCD_EXTERN void (*vp9_subtract_block)(int rows, int cols, int16_t *diff_ptr, pt rdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride);
648 658
649 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); 659 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);
650 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c 660 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
651 661
652 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 662 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
653 void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 663 void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
654 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left); 664 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left);
655 665
656 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 666 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
657 void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 667 void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
(...skipping 17 matching lines...) Expand all
675 685
676 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 686 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
677 void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 687 void vp9_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
678 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 688 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
679 689
680 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 690 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
681 void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 691 void vp9_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
682 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 692 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
683 693
684 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 694 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
685 #define vp9_variance16x16 vp9_variance16x16_c 695 unsigned int vp9_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
696 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
686 697
687 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 698 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
688 #define vp9_variance16x32 vp9_variance16x32_c 699 #define vp9_variance16x32 vp9_variance16x32_c
689 700
690 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 701 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
691 #define vp9_variance16x8 vp9_variance16x8_c 702 #define vp9_variance16x8 vp9_variance16x8_c
692 703
693 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 704 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
694 #define vp9_variance32x16 vp9_variance32x16_c 705 #define vp9_variance32x16 vp9_variance32x16_c
695 706
696 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 707 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
697 #define vp9_variance32x32 vp9_variance32x32_c 708 unsigned int vp9_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
709 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
698 710
699 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 711 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
700 #define vp9_variance32x64 vp9_variance32x64_c 712 #define vp9_variance32x64 vp9_variance32x64_c
701 713
702 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 714 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
703 #define vp9_variance4x4 vp9_variance4x4_c 715 #define vp9_variance4x4 vp9_variance4x4_c
704 716
705 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 717 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
706 #define vp9_variance4x8 vp9_variance4x8_c 718 #define vp9_variance4x8 vp9_variance4x8_c
707 719
708 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 720 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
709 #define vp9_variance64x32 vp9_variance64x32_c 721 #define vp9_variance64x32 vp9_variance64x32_c
710 722
711 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 723 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
712 #define vp9_variance64x64 vp9_variance64x64_c 724 #define vp9_variance64x64 vp9_variance64x64_c
713 725
714 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 726 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
715 #define vp9_variance8x16 vp9_variance8x16_c 727 #define vp9_variance8x16 vp9_variance8x16_c
716 728
717 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 729 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
718 #define vp9_variance8x4 vp9_variance8x4_c 730 #define vp9_variance8x4 vp9_variance8x4_c
719 731
720 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 732 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
721 #define vp9_variance8x8 vp9_variance8x8_c 733 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
734 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
722 735
723 void vp9_rtcd(void); 736 void vp9_rtcd(void);
724 737
725 #include "vpx_config.h" 738 #include "vpx_config.h"
726 739
727 #ifdef RTCD_C 740 #ifdef RTCD_C
728 #include "vpx_ports/arm.h" 741 #include "vpx_ports/arm.h"
729 static void setup_rtcd_internal(void) 742 static void setup_rtcd_internal(void)
730 { 743 {
731 int flags = arm_cpu_caps(); 744 int flags = arm_cpu_caps();
732 745
733 (void)flags; 746 (void)flags;
734 747
735 vp9_convolve8 = vp9_convolve8_c; 748 vp9_convolve8 = vp9_convolve8_c;
736 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon; 749 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon;
737 vp9_convolve8_avg = vp9_convolve8_avg_c; 750 vp9_convolve8_avg = vp9_convolve8_avg_c;
738 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon; 751 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon;
739 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; 752 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
740 if (flags & HAS_NEON) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_neon ; 753 if (flags & HAS_NEON) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_neon ;
741 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; 754 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
742 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon; 755 if (flags & HAS_NEON) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_neon;
743 vp9_convolve8_horiz = vp9_convolve8_horiz_c; 756 vp9_convolve8_horiz = vp9_convolve8_horiz_c;
744 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; 757 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon;
745 vp9_convolve8_vert = vp9_convolve8_vert_c; 758 vp9_convolve8_vert = vp9_convolve8_vert_c;
746 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; 759 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon;
747 vp9_convolve_avg = vp9_convolve_avg_c; 760 vp9_convolve_avg = vp9_convolve_avg_c;
748 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; 761 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon;
749 vp9_convolve_copy = vp9_convolve_copy_c; 762 vp9_convolve_copy = vp9_convolve_copy_c;
750 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; 763 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon;
764 vp9_fdct8x8 = vp9_fdct8x8_c;
765 if (flags & HAS_NEON) vp9_fdct8x8 = vp9_fdct8x8_neon;
766 vp9_fdct8x8_1 = vp9_fdct8x8_1_c;
767 if (flags & HAS_NEON) vp9_fdct8x8_1 = vp9_fdct8x8_1_neon;
768 vp9_get16x16var = vp9_get16x16var_c;
769 if (flags & HAS_NEON) vp9_get16x16var = vp9_get16x16var_neon;
770 vp9_get8x8var = vp9_get8x8var_c;
771 if (flags & HAS_NEON) vp9_get8x8var = vp9_get8x8var_neon;
751 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; 772 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c;
752 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; 773 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon;
753 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; 774 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c;
754 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; 775 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon;
755 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; 776 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c;
756 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; 777 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon;
757 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; 778 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c;
758 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon; 779 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon;
759 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 780 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
760 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon; 781 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; 818 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c;
798 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne on; 819 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne on;
799 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 820 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
800 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon; 821 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon;
801 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 822 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
802 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon ; 823 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon ;
803 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 824 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
804 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; 825 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon;
805 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 826 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
806 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon ; 827 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon ;
828 vp9_quantize_fp = vp9_quantize_fp_c;
829 if (flags & HAS_NEON) vp9_quantize_fp = vp9_quantize_fp_neon;
807 vp9_sad16x16 = vp9_sad16x16_c; 830 vp9_sad16x16 = vp9_sad16x16_c;
808 if (flags & HAS_NEON) vp9_sad16x16 = vp9_sad16x16_neon; 831 if (flags & HAS_NEON) vp9_sad16x16 = vp9_sad16x16_neon;
809 vp9_sad32x32 = vp9_sad32x32_c; 832 vp9_sad32x32 = vp9_sad32x32_c;
810 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon; 833 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon;
811 vp9_sad64x64 = vp9_sad64x64_c; 834 vp9_sad64x64 = vp9_sad64x64_c;
812 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon; 835 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon;
836 vp9_sad8x8 = vp9_sad8x8_c;
837 if (flags & HAS_NEON) vp9_sad8x8 = vp9_sad8x8_neon;
838 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c;
839 if (flags & HAS_NEON) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16 x16_neon;
840 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c;
841 if (flags & HAS_NEON) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32 x32_neon;
842 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c;
843 if (flags & HAS_NEON) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_ neon;
844 vp9_subtract_block = vp9_subtract_block_c;
845 if (flags & HAS_NEON) vp9_subtract_block = vp9_subtract_block_neon;
813 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; 846 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c;
814 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; 847 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon;
815 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; 848 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c;
816 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; 849 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon;
817 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; 850 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c;
818 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; 851 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon;
819 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; 852 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c;
820 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; 853 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon;
821 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; 854 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c;
822 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; 855 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon;
823 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; 856 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c;
824 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; 857 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon;
825 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; 858 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c;
826 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; 859 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon;
827 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; 860 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c;
828 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; 861 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon;
862 vp9_variance16x16 = vp9_variance16x16_c;
863 if (flags & HAS_NEON) vp9_variance16x16 = vp9_variance16x16_neon;
864 vp9_variance32x32 = vp9_variance32x32_c;
865 if (flags & HAS_NEON) vp9_variance32x32 = vp9_variance32x32_neon;
866 vp9_variance8x8 = vp9_variance8x8_c;
867 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon;
829 } 868 }
830 #endif 869 #endif
831 870
832 #ifdef __cplusplus 871 #ifdef __cplusplus
833 } // extern "C" 872 } // extern "C"
834 #endif 873 #endif
835 874
836 #endif 875 #endif
OLDNEW
« no previous file with comments | « source/config/linux/arm-neon-cpu-detect/vp8_rtcd.h ('k') | source/config/linux/arm-neon-cpu-detect/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698