OLD | NEW |
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 /* | 10 /* |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 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); | 631 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); |
632 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c | 632 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c |
633 | 633 |
634 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); | 634 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); |
635 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c | 635 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c |
636 | 636 |
637 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); | 637 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); |
638 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c | 638 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c |
639 | 639 |
640 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); | 640 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); |
641 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c | 641 unsigned int vp9_sub_pixel_variance64x64_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); |
| 642 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x64)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); |
642 | 643 |
643 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); | 644 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); |
644 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c | 645 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c |
645 | 646 |
646 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); | 647 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); |
647 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c | 648 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
648 | 649 |
649 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); | 650 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); |
650 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); | 651 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); |
651 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); | 652 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); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 #define vp9_variance16x8 vp9_variance16x8_c | 701 #define vp9_variance16x8 vp9_variance16x8_c |
701 | 702 |
702 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); | 703 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); |
703 #define vp9_variance32x16 vp9_variance32x16_c | 704 #define vp9_variance32x16 vp9_variance32x16_c |
704 | 705 |
705 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); | 706 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); |
706 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); | 707 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); |
707 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); | 708 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); |
708 | 709 |
709 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); | 710 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); |
710 #define vp9_variance32x64 vp9_variance32x64_c | 711 unsigned int vp9_variance32x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 712 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
711 | 713 |
712 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); |
713 #define vp9_variance4x4 vp9_variance4x4_c | 715 #define vp9_variance4x4 vp9_variance4x4_c |
714 | 716 |
715 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); |
716 #define vp9_variance4x8 vp9_variance4x8_c | 718 #define vp9_variance4x8 vp9_variance4x8_c |
717 | 719 |
718 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); |
719 #define vp9_variance64x32 vp9_variance64x32_c | 721 unsigned int vp9_variance64x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 722 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
720 | 723 |
721 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); | 724 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); |
722 #define vp9_variance64x64 vp9_variance64x64_c | 725 unsigned int vp9_variance64x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 726 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
723 | 727 |
724 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 728 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
725 #define vp9_variance8x16 vp9_variance8x16_c | 729 #define vp9_variance8x16 vp9_variance8x16_c |
726 | 730 |
727 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 731 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
728 #define vp9_variance8x4 vp9_variance8x4_c | 732 #define vp9_variance8x4 vp9_variance8x4_c |
729 | 733 |
730 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 734 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
731 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); | 735 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); |
732 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); | 736 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); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 vp9_sad32x32 = vp9_sad32x32_c; | 834 vp9_sad32x32 = vp9_sad32x32_c; |
831 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon; | 835 if (flags & HAS_NEON) vp9_sad32x32 = vp9_sad32x32_neon; |
832 vp9_sad64x64 = vp9_sad64x64_c; | 836 vp9_sad64x64 = vp9_sad64x64_c; |
833 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon; | 837 if (flags & HAS_NEON) vp9_sad64x64 = vp9_sad64x64_neon; |
834 vp9_sad8x8 = vp9_sad8x8_c; | 838 vp9_sad8x8 = vp9_sad8x8_c; |
835 if (flags & HAS_NEON) vp9_sad8x8 = vp9_sad8x8_neon; | 839 if (flags & HAS_NEON) vp9_sad8x8 = vp9_sad8x8_neon; |
836 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c; | 840 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c; |
837 if (flags & HAS_NEON) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16
x16_neon; | 841 if (flags & HAS_NEON) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16
x16_neon; |
838 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; | 842 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; |
839 if (flags & HAS_NEON) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_neon; | 843 if (flags & HAS_NEON) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_neon; |
| 844 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; |
| 845 if (flags & HAS_NEON) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_neon; |
840 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c; | 846 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c; |
841 if (flags & HAS_NEON) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_
neon; | 847 if (flags & HAS_NEON) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_
neon; |
842 vp9_subtract_block = vp9_subtract_block_c; | 848 vp9_subtract_block = vp9_subtract_block_c; |
843 if (flags & HAS_NEON) vp9_subtract_block = vp9_subtract_block_neon; | 849 if (flags & HAS_NEON) vp9_subtract_block = vp9_subtract_block_neon; |
844 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; | 850 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; |
845 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; | 851 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; |
846 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; | 852 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; |
847 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; | 853 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; |
848 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; | 854 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; |
849 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; | 855 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; |
850 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; | 856 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; |
851 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; | 857 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; |
852 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; | 858 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; |
853 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; | 859 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; |
854 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | 860 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
855 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; | 861 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; |
856 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; | 862 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; |
857 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; | 863 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; |
858 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | 864 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
859 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; | 865 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; |
860 vp9_variance16x16 = vp9_variance16x16_c; | 866 vp9_variance16x16 = vp9_variance16x16_c; |
861 if (flags & HAS_NEON) vp9_variance16x16 = vp9_variance16x16_neon; | 867 if (flags & HAS_NEON) vp9_variance16x16 = vp9_variance16x16_neon; |
862 vp9_variance32x32 = vp9_variance32x32_c; | 868 vp9_variance32x32 = vp9_variance32x32_c; |
863 if (flags & HAS_NEON) vp9_variance32x32 = vp9_variance32x32_neon; | 869 if (flags & HAS_NEON) vp9_variance32x32 = vp9_variance32x32_neon; |
| 870 vp9_variance32x64 = vp9_variance32x64_c; |
| 871 if (flags & HAS_NEON) vp9_variance32x64 = vp9_variance32x64_neon; |
| 872 vp9_variance64x32 = vp9_variance64x32_c; |
| 873 if (flags & HAS_NEON) vp9_variance64x32 = vp9_variance64x32_neon; |
| 874 vp9_variance64x64 = vp9_variance64x64_c; |
| 875 if (flags & HAS_NEON) vp9_variance64x64 = vp9_variance64x64_neon; |
864 vp9_variance8x8 = vp9_variance8x8_c; | 876 vp9_variance8x8 = vp9_variance8x8_c; |
865 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; | 877 if (flags & HAS_NEON) vp9_variance8x8 = vp9_variance8x8_neon; |
866 } | 878 } |
867 #endif | 879 #endif |
868 | 880 |
869 #ifdef __cplusplus | 881 #ifdef __cplusplus |
870 } // extern "C" | 882 } // extern "C" |
871 #endif | 883 #endif |
872 | 884 |
873 #endif | 885 #endif |
OLD | NEW |