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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 225 |
226 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, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); | 226 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, DEC_MVCO
STS, const struct mv *center_mv, struct mv *best_mv); |
227 #define vp9_full_search_sad vp9_full_search_sad_c | 227 #define vp9_full_search_sad vp9_full_search_sad_c |
228 | 228 |
229 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 229 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
230 #define vp9_fwht4x4 vp9_fwht4x4_c | 230 #define vp9_fwht4x4 vp9_fwht4x4_c |
231 | 231 |
232 unsigned int vp9_get_mb_ss_c(const int16_t *); | 232 unsigned int vp9_get_mb_ss_c(const int16_t *); |
233 #define vp9_get_mb_ss vp9_get_mb_ss_c | 233 #define vp9_get_mb_ss vp9_get_mb_ss_c |
234 | 234 |
| 235 void vp9_get_sse_sum_16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 236 #define vp9_get_sse_sum_16x16 vp9_get_sse_sum_16x16_c |
| 237 |
235 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 238 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
236 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c | 239 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c |
237 | 240 |
238 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 241 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
239 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 242 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
240 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 243 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
241 | 244 |
242 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 245 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
243 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 246 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
244 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 247 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 727 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
725 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c | 728 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c |
726 | 729 |
727 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 730 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
728 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c | 731 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c |
729 | 732 |
730 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 733 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
731 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c | 734 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c |
732 | 735 |
733 void vp9_rtcd(void); | 736 void vp9_rtcd(void); |
| 737 |
734 #include "vpx_config.h" | 738 #include "vpx_config.h" |
735 | 739 |
736 #ifdef RTCD_C | 740 #ifdef RTCD_C |
737 #include "vpx_ports/arm.h" | 741 #include "vpx_ports/arm.h" |
738 static void setup_rtcd_internal(void) | 742 static void setup_rtcd_internal(void) |
739 { | 743 { |
740 int flags = arm_cpu_caps(); | 744 int flags = arm_cpu_caps(); |
741 | 745 |
742 (void)flags; | 746 (void)flags; |
743 | 747 |
744 | |
745 | |
746 | |
747 | |
748 vp9_convolve8 = vp9_convolve8_c; | 748 vp9_convolve8 = vp9_convolve8_c; |
749 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon; | 749 if (flags & HAS_NEON) vp9_convolve8 = vp9_convolve8_neon; |
750 | |
751 vp9_convolve8_avg = vp9_convolve8_avg_c; | 750 vp9_convolve8_avg = vp9_convolve8_avg_c; |
752 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon; | 751 if (flags & HAS_NEON) vp9_convolve8_avg = vp9_convolve8_avg_neon; |
753 | |
754 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; | 752 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
755 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
; |
756 | |
757 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 754 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
758 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; |
759 | |
760 vp9_convolve8_horiz = vp9_convolve8_horiz_c; | 756 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
761 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; | 757 if (flags & HAS_NEON) vp9_convolve8_horiz = vp9_convolve8_horiz_neon; |
762 | |
763 vp9_convolve8_vert = vp9_convolve8_vert_c; | 758 vp9_convolve8_vert = vp9_convolve8_vert_c; |
764 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; | 759 if (flags & HAS_NEON) vp9_convolve8_vert = vp9_convolve8_vert_neon; |
765 | |
766 vp9_convolve_avg = vp9_convolve_avg_c; | 760 vp9_convolve_avg = vp9_convolve_avg_c; |
767 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; | 761 if (flags & HAS_NEON) vp9_convolve_avg = vp9_convolve_avg_neon; |
768 | |
769 vp9_convolve_copy = vp9_convolve_copy_c; | 762 vp9_convolve_copy = vp9_convolve_copy_c; |
770 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; | 763 if (flags & HAS_NEON) vp9_convolve_copy = vp9_convolve_copy_neon; |
771 | |
772 | |
773 | |
774 | |
775 | |
776 | |
777 | |
778 | |
779 | |
780 | |
781 | |
782 | |
783 | |
784 | |
785 | |
786 | |
787 | |
788 | |
789 | |
790 | |
791 | |
792 | |
793 | |
794 | |
795 | |
796 | |
797 | |
798 | |
799 | |
800 | |
801 | |
802 | |
803 | |
804 | |
805 | |
806 | |
807 | |
808 | |
809 | |
810 | |
811 | |
812 | |
813 | |
814 | |
815 | |
816 | |
817 | |
818 | |
819 | |
820 | |
821 | |
822 | |
823 | |
824 | |
825 | |
826 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 764 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
827 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; | 765 if (flags & HAS_NEON) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_neon; |
828 | |
829 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | 766 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
830 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; | 767 if (flags & HAS_NEON) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_neon; |
831 | |
832 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 768 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
833 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; | 769 if (flags & HAS_NEON) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_neon; |
834 | |
835 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 770 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
836 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon; | 771 if (flags & HAS_NEON) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_neon; |
837 | |
838 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; | 772 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; |
839 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon; | 773 if (flags & HAS_NEON) vp9_idct16x16_10_add = vp9_idct16x16_10_add_neon; |
840 | |
841 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; | 774 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; |
842 if (flags & HAS_NEON) vp9_idct16x16_1_add = vp9_idct16x16_1_add_neon; | 775 if (flags & HAS_NEON) vp9_idct16x16_1_add = vp9_idct16x16_1_add_neon; |
843 | |
844 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; | 776 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; |
845 if (flags & HAS_NEON) vp9_idct16x16_256_add = vp9_idct16x16_256_add_neon; | 777 if (flags & HAS_NEON) vp9_idct16x16_256_add = vp9_idct16x16_256_add_neon; |
846 | |
847 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; | 778 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; |
848 if (flags & HAS_NEON) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_neon; | 779 if (flags & HAS_NEON) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_neon; |
849 | |
850 vp9_idct32x32_1_add = vp9_idct32x32_1_add_c; | 780 vp9_idct32x32_1_add = vp9_idct32x32_1_add_c; |
851 if (flags & HAS_NEON) vp9_idct32x32_1_add = vp9_idct32x32_1_add_neon; | 781 if (flags & HAS_NEON) vp9_idct32x32_1_add = vp9_idct32x32_1_add_neon; |
852 | |
853 vp9_idct32x32_34_add = vp9_idct32x32_34_add_c; | 782 vp9_idct32x32_34_add = vp9_idct32x32_34_add_c; |
854 if (flags & HAS_NEON) vp9_idct32x32_34_add = vp9_idct32x32_1024_add_neon; | 783 if (flags & HAS_NEON) vp9_idct32x32_34_add = vp9_idct32x32_1024_add_neon; |
855 | |
856 vp9_idct4x4_16_add = vp9_idct4x4_16_add_c; | 784 vp9_idct4x4_16_add = vp9_idct4x4_16_add_c; |
857 if (flags & HAS_NEON) vp9_idct4x4_16_add = vp9_idct4x4_16_add_neon; | 785 if (flags & HAS_NEON) vp9_idct4x4_16_add = vp9_idct4x4_16_add_neon; |
858 | |
859 vp9_idct4x4_1_add = vp9_idct4x4_1_add_c; | 786 vp9_idct4x4_1_add = vp9_idct4x4_1_add_c; |
860 if (flags & HAS_NEON) vp9_idct4x4_1_add = vp9_idct4x4_1_add_neon; | 787 if (flags & HAS_NEON) vp9_idct4x4_1_add = vp9_idct4x4_1_add_neon; |
861 | |
862 vp9_idct8x8_10_add = vp9_idct8x8_10_add_c; | 788 vp9_idct8x8_10_add = vp9_idct8x8_10_add_c; |
863 if (flags & HAS_NEON) vp9_idct8x8_10_add = vp9_idct8x8_10_add_neon; | 789 if (flags & HAS_NEON) vp9_idct8x8_10_add = vp9_idct8x8_10_add_neon; |
864 | |
865 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c; | 790 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c; |
866 if (flags & HAS_NEON) vp9_idct8x8_1_add = vp9_idct8x8_1_add_neon; | 791 if (flags & HAS_NEON) vp9_idct8x8_1_add = vp9_idct8x8_1_add_neon; |
867 | |
868 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; | 792 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; |
869 if (flags & HAS_NEON) vp9_idct8x8_64_add = vp9_idct8x8_64_add_neon; | 793 if (flags & HAS_NEON) vp9_idct8x8_64_add = vp9_idct8x8_64_add_neon; |
870 | |
871 | |
872 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; | 794 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; |
873 if (flags & HAS_NEON) vp9_iht4x4_16_add = vp9_iht4x4_16_add_neon; | 795 if (flags & HAS_NEON) vp9_iht4x4_16_add = vp9_iht4x4_16_add_neon; |
874 | |
875 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; | 796 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
876 if (flags & HAS_NEON) vp9_iht8x8_64_add = vp9_iht8x8_64_add_neon; | 797 if (flags & HAS_NEON) vp9_iht8x8_64_add = vp9_iht8x8_64_add_neon; |
877 | |
878 | |
879 | |
880 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; | 798 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; |
881 if (flags & HAS_NEON) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_neon; | 799 if (flags & HAS_NEON) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_neon; |
882 | |
883 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; | 800 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; |
884 if (flags & HAS_NEON) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_neon; | 801 if (flags & HAS_NEON) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_neon; |
885 | |
886 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; | 802 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; |
887 if (flags & HAS_NEON) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
neon; | 803 if (flags & HAS_NEON) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_
neon; |
888 | |
889 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; | 804 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; |
890 if (flags & HAS_NEON) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_neon; | 805 if (flags & HAS_NEON) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_neon; |
891 | |
892 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; | 806 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; |
893 if (flags & HAS_NEON) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
neon; | 807 if (flags & HAS_NEON) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_
neon; |
894 | |
895 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; | 808 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; |
896 if (flags & HAS_NEON) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_neon; | 809 if (flags & HAS_NEON) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_neon; |
897 | |
898 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; | 810 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; |
899 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne
on; | 811 if (flags & HAS_NEON) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ne
on; |
900 | |
901 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; | 812 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; |
902 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon; | 813 if (flags & HAS_NEON) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_neon; |
903 | |
904 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; | 814 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; |
905 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; | 815 if (flags & HAS_NEON) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_neon
; |
906 | |
907 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; | 816 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; |
908 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; | 817 if (flags & HAS_NEON) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_neon; |
909 | |
910 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; | 818 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; |
911 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; | 819 if (flags & HAS_NEON) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_neon
; |
912 | |
913 | |
914 | |
915 | |
916 | |
917 | |
918 | |
919 | |
920 | |
921 | |
922 | |
923 | |
924 | |
925 | |
926 | |
927 | |
928 | |
929 | |
930 | |
931 | |
932 | |
933 | |
934 | |
935 | |
936 | |
937 | |
938 | |
939 | |
940 | |
941 | |
942 | |
943 | |
944 | |
945 | |
946 | |
947 | |
948 | |
949 | |
950 | |
951 | |
952 | |
953 | |
954 | |
955 | |
956 | |
957 | |
958 | |
959 | |
960 | |
961 | |
962 | |
963 | |
964 | |
965 | |
966 | |
967 | |
968 | |
969 | |
970 | |
971 | |
972 | |
973 | |
974 | |
975 | |
976 | |
977 | |
978 | |
979 | |
980 | |
981 | |
982 | |
983 | |
984 | |
985 | |
986 | |
987 | |
988 | |
989 | |
990 | |
991 | |
992 | |
993 | |
994 | |
995 | |
996 | |
997 | |
998 | |
999 | |
1000 | |
1001 | |
1002 | |
1003 | |
1004 | |
1005 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; | 820 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; |
1006 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; | 821 if (flags & HAS_NEON) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_neon; |
1007 | |
1008 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; | 822 vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_c; |
1009 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; | 823 if (flags & HAS_NEON) vp9_tm_predictor_32x32 = vp9_tm_predictor_32x32_neon; |
1010 | |
1011 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; | 824 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; |
1012 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; | 825 if (flags & HAS_NEON) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_neon; |
1013 | |
1014 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; | 826 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; |
1015 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; | 827 if (flags & HAS_NEON) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_neon; |
1016 | |
1017 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; | 828 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; |
1018 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; | 829 if (flags & HAS_NEON) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_neon; |
1019 | |
1020 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | 830 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
1021 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; | 831 if (flags & HAS_NEON) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_neon; |
1022 | |
1023 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; | 832 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; |
1024 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; | 833 if (flags & HAS_NEON) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_neon; |
1025 | |
1026 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | 834 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
1027 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; | 835 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; |
1028 } | 836 } |
1029 #endif | 837 #endif |
1030 | 838 |
1031 #ifdef __cplusplus | 839 #ifdef __cplusplus |
1032 } // extern "C" | 840 } // extern "C" |
1033 #endif | 841 #endif |
1034 | 842 |
1035 #endif | 843 #endif |
OLD | NEW |