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

Side by Side Diff: third_party/libvpx/source/config/linux/arm-neon-cpu-detect/vpx_dsp_rtcd.h

Issue 2221193003: Roll src/third_party/libvpx/source/libvpx/ 82070ae93..2d1e63d0c (48 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 #ifndef VPX_DSP_RTCD_H_ 1 #ifndef VPX_DSP_RTCD_H_
2 #define VPX_DSP_RTCD_H_ 2 #define VPX_DSP_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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 #define vpx_mbpost_proc_across_ip vpx_mbpost_proc_across_ip_c 426 #define vpx_mbpost_proc_across_ip vpx_mbpost_proc_across_ip_c
427 427
428 void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit); 428 void vpx_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,in t flimit);
429 #define vpx_mbpost_proc_down vpx_mbpost_proc_down_c 429 #define vpx_mbpost_proc_down vpx_mbpost_proc_down_c
430 430
431 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max); 431 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi n, int *max);
432 void vpx_minmax_8x8_neon(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max); 432 void vpx_minmax_8x8_neon(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
433 RTCD_EXTERN void (*vpx_minmax_8x8)(const uint8_t *s, int p, const uint8_t *d, in t dp, int *min, int *max); 433 RTCD_EXTERN void (*vpx_minmax_8x8)(const uint8_t *s, int p, const uint8_t *d, in t dp, int *min, int *max);
434 434
435 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse); 435 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int recon_stride, unsigned int *sse);
436 unsigned int vpx_mse16x16_media(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
437 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 436 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
438 RTCD_EXTERN unsigned int (*vpx_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 437 RTCD_EXTERN unsigned int (*vpx_mse16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
439 438
440 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 439 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
441 #define vpx_mse16x8 vpx_mse16x8_c 440 #define vpx_mse16x8 vpx_mse16x8_c
442 441
443 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse); 442 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int recon_stride, unsigned int *sse);
444 #define vpx_mse8x16 vpx_mse8x16_c 443 #define vpx_mse8x16 vpx_mse8x16_c
445 444
446 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse); 445 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int recon_stride, unsigned int *sse);
447 #define vpx_mse8x8 vpx_mse8x8_c 446 #define vpx_mse8x8 vpx_mse8x8_c
448 447
449 void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, int whiteclamp, int width, int height, int pitch); 448 void vpx_plane_add_noise_c(uint8_t *start, const int8_t *noise, int blackclamp, int whiteclamp, int width, int height, int pitch);
450 #define vpx_plane_add_noise vpx_plane_add_noise_c 449 #define vpx_plane_add_noise vpx_plane_add_noise_c
451 450
452 void vpx_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); 451 void vpx_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);
453 #define vpx_post_proc_down_and_across_mb_row vpx_post_proc_down_and_across_mb_ro w_c 452 #define vpx_post_proc_down_and_across_mb_row vpx_post_proc_down_and_across_mb_ro w_c
454 453
455 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan); 454 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in t16_t *iscan);
456 #define vpx_quantize_b vpx_quantize_b_c 455 #define vpx_quantize_b vpx_quantize_b_c
457 456
458 void vpx_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan); 457 void vpx_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co nst int16_t *iscan);
459 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c 458 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
460 459
461 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride); 460 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
462 unsigned int vpx_sad16x16_media(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride);
463 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride); 461 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
464 RTCD_EXTERN unsigned int (*vpx_sad16x16)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 462 RTCD_EXTERN unsigned int (*vpx_sad16x16)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
465 463
466 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 464 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
467 #define vpx_sad16x16_avg vpx_sad16x16_avg_c 465 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
468 466
469 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 467 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
470 #define vpx_sad16x16x3 vpx_sad16x16x3_c 468 #define vpx_sad16x16x3 vpx_sad16x16x3_c
471 469
472 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array); 470 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred); 687 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
690 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c 688 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
691 689
692 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred); 690 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
693 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c 691 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
694 692
695 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred); 693 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse, const uint8_t *second_pred);
696 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c 694 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
697 695
698 uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se); 696 uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
699 uint32_t vpx_sub_pixel_variance16x16_media(const uint8_t *src_ptr, int source_st ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_ t *sse);
700 uint32_t vpx_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse); 697 uint32_t vpx_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
701 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse); 698 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance16x16)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
702 699
703 uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se); 700 uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
704 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c 701 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
705 702
706 uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss e); 703 uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss e);
707 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c 704 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
708 705
709 uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se); 706 uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride , int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s se);
(...skipping 19 matching lines...) Expand all
729 uint32_t vpx_sub_pixel_variance64x64_neon(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse); 726 uint32_t vpx_sub_pixel_variance64x64_neon(const uint8_t *src_ptr, int source_str ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
730 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse); 727 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance64x64)(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride , uint32_t *sse);
731 728
732 uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss e); 729 uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss e);
733 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c 730 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
734 731
735 uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse ); 732 uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse );
736 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c 733 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
737 734
738 uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse ); 735 uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse );
739 uint32_t vpx_sub_pixel_variance8x8_media(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
740 uint32_t vpx_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_strid e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t * sse); 736 uint32_t vpx_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_strid e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t * sse);
741 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance8x8)(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse); 737 RTCD_EXTERN uint32_t (*vpx_sub_pixel_variance8x8)(const uint8_t *src_ptr, int so urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
742 738
743 void vpx_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); 739 void vpx_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);
744 void vpx_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); 740 void vpx_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);
745 RTCD_EXTERN void (*vpx_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); 741 RTCD_EXTERN void (*vpx_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);
746 742
747 uint64_t vpx_sum_squares_2d_i16_c(const int16_t *src, int stride, int size); 743 uint64_t vpx_sum_squares_2d_i16_c(const int16_t *src, int stride, int size);
748 #define vpx_sum_squares_2d_i16 vpx_sum_squares_2d_i16_c 744 #define vpx_sum_squares_2d_i16 vpx_sum_squares_2d_i16_c
749 745
(...skipping 23 matching lines...) Expand all
773 769
774 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 770 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
775 void vpx_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 771 void vpx_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
776 RTCD_EXTERN void (*vpx_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 772 RTCD_EXTERN void (*vpx_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
777 773
778 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 774 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
779 void vpx_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 775 void vpx_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
780 RTCD_EXTERN void (*vpx_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 776 RTCD_EXTERN void (*vpx_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
781 777
782 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 778 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
783 unsigned int vpx_variance16x16_media(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
784 unsigned int vpx_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 779 unsigned int vpx_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
785 RTCD_EXTERN unsigned int (*vpx_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 780 RTCD_EXTERN unsigned int (*vpx_variance16x16)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
786 781
787 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 782 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
788 #define vpx_variance16x32 vpx_variance16x32_c 783 #define vpx_variance16x32 vpx_variance16x32_c
789 784
790 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 785 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
791 unsigned int vpx_variance16x8_neon(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 786 unsigned int vpx_variance16x8_neon(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
792 RTCD_EXTERN unsigned int (*vpx_variance16x8)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 787 RTCD_EXTERN unsigned int (*vpx_variance16x8)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
793 788
(...skipping 23 matching lines...) Expand all
817 RTCD_EXTERN unsigned int (*vpx_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 812 RTCD_EXTERN unsigned int (*vpx_variance64x64)(const uint8_t *src_ptr, int source _stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
818 813
819 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 814 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
820 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 815 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
821 RTCD_EXTERN unsigned int (*vpx_variance8x16)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 816 RTCD_EXTERN unsigned int (*vpx_variance8x16)(const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
822 817
823 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 818 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
824 #define vpx_variance8x4 vpx_variance8x4_c 819 #define vpx_variance8x4 vpx_variance8x4_c
825 820
826 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 821 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
827 unsigned int vpx_variance8x8_media(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
828 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 822 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
829 RTCD_EXTERN unsigned int (*vpx_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 823 RTCD_EXTERN unsigned int (*vpx_variance8x8)(const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
830 824
831 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 825 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
832 uint32_t vpx_variance_halfpixvar16x16_h_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 826 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c
833 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_media
834 827
835 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 828 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
836 uint32_t vpx_variance_halfpixvar16x16_hv_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 829 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c
837 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_media
838 830
839 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 831 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
840 uint32_t vpx_variance_halfpixvar16x16_v_media(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 832 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c
841 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_media
842 833
843 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left); 834 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
844 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c 835 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
845 836
846 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl); 837 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl);
847 int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl); 838 int vpx_vector_var_neon(const int16_t *ref, const int16_t *src, const int bwl);
848 RTCD_EXTERN int (*vpx_vector_var)(const int16_t *ref, const int16_t *src, const int bwl); 839 RTCD_EXTERN int (*vpx_vector_var)(const int16_t *ref, const int16_t *src, const int bwl);
849 840
850 void vpx_dsp_rtcd(void); 841 void vpx_dsp_rtcd(void);
851 842
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 vpx_lpf_vertical_4 = vpx_lpf_vertical_4_c; 979 vpx_lpf_vertical_4 = vpx_lpf_vertical_4_c;
989 if (flags & HAS_NEON) vpx_lpf_vertical_4 = vpx_lpf_vertical_4_neon; 980 if (flags & HAS_NEON) vpx_lpf_vertical_4 = vpx_lpf_vertical_4_neon;
990 vpx_lpf_vertical_4_dual = vpx_lpf_vertical_4_dual_c; 981 vpx_lpf_vertical_4_dual = vpx_lpf_vertical_4_dual_c;
991 if (flags & HAS_NEON) vpx_lpf_vertical_4_dual = vpx_lpf_vertical_4_dual_neon ; 982 if (flags & HAS_NEON) vpx_lpf_vertical_4_dual = vpx_lpf_vertical_4_dual_neon ;
992 vpx_lpf_vertical_8 = vpx_lpf_vertical_8_c; 983 vpx_lpf_vertical_8 = vpx_lpf_vertical_8_c;
993 if (flags & HAS_NEON) vpx_lpf_vertical_8 = vpx_lpf_vertical_8_neon; 984 if (flags & HAS_NEON) vpx_lpf_vertical_8 = vpx_lpf_vertical_8_neon;
994 vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_c; 985 vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_c;
995 if (flags & HAS_NEON) vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_neon ; 986 if (flags & HAS_NEON) vpx_lpf_vertical_8_dual = vpx_lpf_vertical_8_dual_neon ;
996 vpx_minmax_8x8 = vpx_minmax_8x8_c; 987 vpx_minmax_8x8 = vpx_minmax_8x8_c;
997 if (flags & HAS_NEON) vpx_minmax_8x8 = vpx_minmax_8x8_neon; 988 if (flags & HAS_NEON) vpx_minmax_8x8 = vpx_minmax_8x8_neon;
998 vpx_mse16x16 = vpx_mse16x16_media; 989 vpx_mse16x16 = vpx_mse16x16_c;
999 if (flags & HAS_NEON) vpx_mse16x16 = vpx_mse16x16_neon; 990 if (flags & HAS_NEON) vpx_mse16x16 = vpx_mse16x16_neon;
1000 vpx_sad16x16 = vpx_sad16x16_media; 991 vpx_sad16x16 = vpx_sad16x16_c;
1001 if (flags & HAS_NEON) vpx_sad16x16 = vpx_sad16x16_neon; 992 if (flags & HAS_NEON) vpx_sad16x16 = vpx_sad16x16_neon;
1002 vpx_sad16x16x4d = vpx_sad16x16x4d_c; 993 vpx_sad16x16x4d = vpx_sad16x16x4d_c;
1003 if (flags & HAS_NEON) vpx_sad16x16x4d = vpx_sad16x16x4d_neon; 994 if (flags & HAS_NEON) vpx_sad16x16x4d = vpx_sad16x16x4d_neon;
1004 vpx_sad16x8 = vpx_sad16x8_c; 995 vpx_sad16x8 = vpx_sad16x8_c;
1005 if (flags & HAS_NEON) vpx_sad16x8 = vpx_sad16x8_neon; 996 if (flags & HAS_NEON) vpx_sad16x8 = vpx_sad16x8_neon;
1006 vpx_sad32x32 = vpx_sad32x32_c; 997 vpx_sad32x32 = vpx_sad32x32_c;
1007 if (flags & HAS_NEON) vpx_sad32x32 = vpx_sad32x32_neon; 998 if (flags & HAS_NEON) vpx_sad32x32 = vpx_sad32x32_neon;
1008 vpx_sad32x32x4d = vpx_sad32x32x4d_c; 999 vpx_sad32x32x4d = vpx_sad32x32x4d_c;
1009 if (flags & HAS_NEON) vpx_sad32x32x4d = vpx_sad32x32x4d_neon; 1000 if (flags & HAS_NEON) vpx_sad32x32x4d = vpx_sad32x32x4d_neon;
1010 vpx_sad4x4 = vpx_sad4x4_c; 1001 vpx_sad4x4 = vpx_sad4x4_c;
1011 if (flags & HAS_NEON) vpx_sad4x4 = vpx_sad4x4_neon; 1002 if (flags & HAS_NEON) vpx_sad4x4 = vpx_sad4x4_neon;
1012 vpx_sad64x64 = vpx_sad64x64_c; 1003 vpx_sad64x64 = vpx_sad64x64_c;
1013 if (flags & HAS_NEON) vpx_sad64x64 = vpx_sad64x64_neon; 1004 if (flags & HAS_NEON) vpx_sad64x64 = vpx_sad64x64_neon;
1014 vpx_sad64x64x4d = vpx_sad64x64x4d_c; 1005 vpx_sad64x64x4d = vpx_sad64x64x4d_c;
1015 if (flags & HAS_NEON) vpx_sad64x64x4d = vpx_sad64x64x4d_neon; 1006 if (flags & HAS_NEON) vpx_sad64x64x4d = vpx_sad64x64x4d_neon;
1016 vpx_sad8x16 = vpx_sad8x16_c; 1007 vpx_sad8x16 = vpx_sad8x16_c;
1017 if (flags & HAS_NEON) vpx_sad8x16 = vpx_sad8x16_neon; 1008 if (flags & HAS_NEON) vpx_sad8x16 = vpx_sad8x16_neon;
1018 vpx_sad8x8 = vpx_sad8x8_c; 1009 vpx_sad8x8 = vpx_sad8x8_c;
1019 if (flags & HAS_NEON) vpx_sad8x8 = vpx_sad8x8_neon; 1010 if (flags & HAS_NEON) vpx_sad8x8 = vpx_sad8x8_neon;
1020 vpx_satd = vpx_satd_c; 1011 vpx_satd = vpx_satd_c;
1021 if (flags & HAS_NEON) vpx_satd = vpx_satd_neon; 1012 if (flags & HAS_NEON) vpx_satd = vpx_satd_neon;
1022 vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16x16_media; 1013 vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16x16_c;
1023 if (flags & HAS_NEON) vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16 x16_neon; 1014 if (flags & HAS_NEON) vpx_sub_pixel_variance16x16 = vpx_sub_pixel_variance16 x16_neon;
1024 vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32x32_c; 1015 vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32x32_c;
1025 if (flags & HAS_NEON) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32 x32_neon; 1016 if (flags & HAS_NEON) vpx_sub_pixel_variance32x32 = vpx_sub_pixel_variance32 x32_neon;
1026 vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64x64_c; 1017 vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64x64_c;
1027 if (flags & HAS_NEON) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64 x64_neon; 1018 if (flags & HAS_NEON) vpx_sub_pixel_variance64x64 = vpx_sub_pixel_variance64 x64_neon;
1028 vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_media; 1019 vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_c;
1029 if (flags & HAS_NEON) vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_ neon; 1020 if (flags & HAS_NEON) vpx_sub_pixel_variance8x8 = vpx_sub_pixel_variance8x8_ neon;
1030 vpx_subtract_block = vpx_subtract_block_c; 1021 vpx_subtract_block = vpx_subtract_block_c;
1031 if (flags & HAS_NEON) vpx_subtract_block = vpx_subtract_block_neon; 1022 if (flags & HAS_NEON) vpx_subtract_block = vpx_subtract_block_neon;
1032 vpx_tm_predictor_16x16 = vpx_tm_predictor_16x16_c; 1023 vpx_tm_predictor_16x16 = vpx_tm_predictor_16x16_c;
1033 if (flags & HAS_NEON) vpx_tm_predictor_16x16 = vpx_tm_predictor_16x16_neon; 1024 if (flags & HAS_NEON) vpx_tm_predictor_16x16 = vpx_tm_predictor_16x16_neon;
1034 vpx_tm_predictor_32x32 = vpx_tm_predictor_32x32_c; 1025 vpx_tm_predictor_32x32 = vpx_tm_predictor_32x32_c;
1035 if (flags & HAS_NEON) vpx_tm_predictor_32x32 = vpx_tm_predictor_32x32_neon; 1026 if (flags & HAS_NEON) vpx_tm_predictor_32x32 = vpx_tm_predictor_32x32_neon;
1036 vpx_tm_predictor_4x4 = vpx_tm_predictor_4x4_c; 1027 vpx_tm_predictor_4x4 = vpx_tm_predictor_4x4_c;
1037 if (flags & HAS_NEON) vpx_tm_predictor_4x4 = vpx_tm_predictor_4x4_neon; 1028 if (flags & HAS_NEON) vpx_tm_predictor_4x4 = vpx_tm_predictor_4x4_neon;
1038 vpx_tm_predictor_8x8 = vpx_tm_predictor_8x8_c; 1029 vpx_tm_predictor_8x8 = vpx_tm_predictor_8x8_c;
1039 if (flags & HAS_NEON) vpx_tm_predictor_8x8 = vpx_tm_predictor_8x8_neon; 1030 if (flags & HAS_NEON) vpx_tm_predictor_8x8 = vpx_tm_predictor_8x8_neon;
1040 vpx_v_predictor_16x16 = vpx_v_predictor_16x16_c; 1031 vpx_v_predictor_16x16 = vpx_v_predictor_16x16_c;
1041 if (flags & HAS_NEON) vpx_v_predictor_16x16 = vpx_v_predictor_16x16_neon; 1032 if (flags & HAS_NEON) vpx_v_predictor_16x16 = vpx_v_predictor_16x16_neon;
1042 vpx_v_predictor_32x32 = vpx_v_predictor_32x32_c; 1033 vpx_v_predictor_32x32 = vpx_v_predictor_32x32_c;
1043 if (flags & HAS_NEON) vpx_v_predictor_32x32 = vpx_v_predictor_32x32_neon; 1034 if (flags & HAS_NEON) vpx_v_predictor_32x32 = vpx_v_predictor_32x32_neon;
1044 vpx_v_predictor_4x4 = vpx_v_predictor_4x4_c; 1035 vpx_v_predictor_4x4 = vpx_v_predictor_4x4_c;
1045 if (flags & HAS_NEON) vpx_v_predictor_4x4 = vpx_v_predictor_4x4_neon; 1036 if (flags & HAS_NEON) vpx_v_predictor_4x4 = vpx_v_predictor_4x4_neon;
1046 vpx_v_predictor_8x8 = vpx_v_predictor_8x8_c; 1037 vpx_v_predictor_8x8 = vpx_v_predictor_8x8_c;
1047 if (flags & HAS_NEON) vpx_v_predictor_8x8 = vpx_v_predictor_8x8_neon; 1038 if (flags & HAS_NEON) vpx_v_predictor_8x8 = vpx_v_predictor_8x8_neon;
1048 vpx_variance16x16 = vpx_variance16x16_media; 1039 vpx_variance16x16 = vpx_variance16x16_c;
1049 if (flags & HAS_NEON) vpx_variance16x16 = vpx_variance16x16_neon; 1040 if (flags & HAS_NEON) vpx_variance16x16 = vpx_variance16x16_neon;
1050 vpx_variance16x8 = vpx_variance16x8_c; 1041 vpx_variance16x8 = vpx_variance16x8_c;
1051 if (flags & HAS_NEON) vpx_variance16x8 = vpx_variance16x8_neon; 1042 if (flags & HAS_NEON) vpx_variance16x8 = vpx_variance16x8_neon;
1052 vpx_variance32x32 = vpx_variance32x32_c; 1043 vpx_variance32x32 = vpx_variance32x32_c;
1053 if (flags & HAS_NEON) vpx_variance32x32 = vpx_variance32x32_neon; 1044 if (flags & HAS_NEON) vpx_variance32x32 = vpx_variance32x32_neon;
1054 vpx_variance32x64 = vpx_variance32x64_c; 1045 vpx_variance32x64 = vpx_variance32x64_c;
1055 if (flags & HAS_NEON) vpx_variance32x64 = vpx_variance32x64_neon; 1046 if (flags & HAS_NEON) vpx_variance32x64 = vpx_variance32x64_neon;
1056 vpx_variance64x32 = vpx_variance64x32_c; 1047 vpx_variance64x32 = vpx_variance64x32_c;
1057 if (flags & HAS_NEON) vpx_variance64x32 = vpx_variance64x32_neon; 1048 if (flags & HAS_NEON) vpx_variance64x32 = vpx_variance64x32_neon;
1058 vpx_variance64x64 = vpx_variance64x64_c; 1049 vpx_variance64x64 = vpx_variance64x64_c;
1059 if (flags & HAS_NEON) vpx_variance64x64 = vpx_variance64x64_neon; 1050 if (flags & HAS_NEON) vpx_variance64x64 = vpx_variance64x64_neon;
1060 vpx_variance8x16 = vpx_variance8x16_c; 1051 vpx_variance8x16 = vpx_variance8x16_c;
1061 if (flags & HAS_NEON) vpx_variance8x16 = vpx_variance8x16_neon; 1052 if (flags & HAS_NEON) vpx_variance8x16 = vpx_variance8x16_neon;
1062 vpx_variance8x8 = vpx_variance8x8_media; 1053 vpx_variance8x8 = vpx_variance8x8_c;
1063 if (flags & HAS_NEON) vpx_variance8x8 = vpx_variance8x8_neon; 1054 if (flags & HAS_NEON) vpx_variance8x8 = vpx_variance8x8_neon;
1064 vpx_vector_var = vpx_vector_var_c; 1055 vpx_vector_var = vpx_vector_var_c;
1065 if (flags & HAS_NEON) vpx_vector_var = vpx_vector_var_neon; 1056 if (flags & HAS_NEON) vpx_vector_var = vpx_vector_var_neon;
1066 } 1057 }
1067 #endif 1058 #endif
1068 1059
1069 #ifdef __cplusplus 1060 #ifdef __cplusplus
1070 } // extern "C" 1061 } // extern "C"
1071 #endif 1062 #endif
1072 1063
1073 #endif 1064 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698