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

Side by Side Diff: source/config/mac/ia32/vp9_rtcd.h

Issue 232133009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 8 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
« no previous file with comments | « source/config/mac/ia32/vp8_rtcd.h ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv); 242 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ ptr, DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv);
243 243
244 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); 244 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
245 #define vp9_fwht4x4 vp9_fwht4x4_c 245 #define vp9_fwht4x4 vp9_fwht4x4_c
246 246
247 unsigned int vp9_get_mb_ss_c(const int16_t *); 247 unsigned int vp9_get_mb_ss_c(const int16_t *);
248 unsigned int vp9_get_mb_ss_mmx(const int16_t *); 248 unsigned int vp9_get_mb_ss_mmx(const int16_t *);
249 unsigned int vp9_get_mb_ss_sse2(const int16_t *); 249 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
250 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *); 250 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
251 251
252 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);
253 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
254 RTCD_EXTERN void (*vp9_get_sse_sum_16x16)(const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
255
252 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); 256 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);
253 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 257 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
254 RTCD_EXTERN void (*vp9_get_sse_sum_8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 258 RTCD_EXTERN void (*vp9_get_sse_sum_8x8)(const uint8_t *src_ptr, int source_strid e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
255 259
256 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 260 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
257 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c 261 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
258 262
259 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 263 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
260 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c 264 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
261 265
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 void vp9_rtcd(void); 777 void vp9_rtcd(void);
774 778
775 #ifdef RTCD_C 779 #ifdef RTCD_C
776 #include "vpx_ports/x86.h" 780 #include "vpx_ports/x86.h"
777 static void setup_rtcd_internal(void) 781 static void setup_rtcd_internal(void)
778 { 782 {
779 int flags = x86_simd_caps(); 783 int flags = x86_simd_caps();
780 784
781 (void)flags; 785 (void)flags;
782 786
783
784
785
786
787 vp9_convolve8 = vp9_convolve8_c; 787 vp9_convolve8 = vp9_convolve8_c;
788 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2; 788 if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2;
789 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; 789 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
790
791 vp9_convolve8_avg = vp9_convolve8_avg_c; 790 vp9_convolve8_avg = vp9_convolve8_avg_c;
792 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2; 791 if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2;
793 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; 792 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
794
795 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; 793 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
796 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ; 794 if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2 ;
797 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3; 795 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss e3;
798
799 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; 796 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
800 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; 797 if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
801 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ; 798 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3 ;
802
803 vp9_convolve8_horiz = vp9_convolve8_horiz_c; 799 vp9_convolve8_horiz = vp9_convolve8_horiz_c;
804 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2; 800 if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
805 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; 801 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
806
807 vp9_convolve8_vert = vp9_convolve8_vert_c; 802 vp9_convolve8_vert = vp9_convolve8_vert_c;
808 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2; 803 if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2;
809 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; 804 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853 vp9_diamond_search_sad = vp9_diamond_search_sad_c; 805 vp9_diamond_search_sad = vp9_diamond_search_sad_c;
854 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; 806 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4;
855
856 vp9_fdct16x16 = vp9_fdct16x16_c; 807 vp9_fdct16x16 = vp9_fdct16x16_c;
857 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; 808 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
858
859 vp9_fdct32x32 = vp9_fdct32x32_c; 809 vp9_fdct32x32 = vp9_fdct32x32_c;
860 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; 810 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
861
862 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; 811 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c;
863 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; 812 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2;
864
865 vp9_fdct4x4 = vp9_fdct4x4_c; 813 vp9_fdct4x4 = vp9_fdct4x4_c;
866 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; 814 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2;
867
868 vp9_fdct8x8 = vp9_fdct8x8_c; 815 vp9_fdct8x8 = vp9_fdct8x8_c;
869 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; 816 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2;
870
871 vp9_fht16x16 = vp9_fht16x16_c; 817 vp9_fht16x16 = vp9_fht16x16_c;
872 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2; 818 if (flags & HAS_SSE2) vp9_fht16x16 = vp9_fht16x16_sse2;
873
874 vp9_fht4x4 = vp9_fht4x4_c; 819 vp9_fht4x4 = vp9_fht4x4_c;
875 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2; 820 if (flags & HAS_SSE2) vp9_fht4x4 = vp9_fht4x4_sse2;
876
877 vp9_fht8x8 = vp9_fht8x8_c; 821 vp9_fht8x8 = vp9_fht8x8_c;
878 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; 822 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2;
879
880
881 vp9_full_search_sad = vp9_full_search_sad_c; 823 vp9_full_search_sad = vp9_full_search_sad_c;
882 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 824 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
883 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 825 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
884
885
886 vp9_get_mb_ss = vp9_get_mb_ss_c; 826 vp9_get_mb_ss = vp9_get_mb_ss_c;
887 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx; 827 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx;
888 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; 828 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
889 829 vp9_get_sse_sum_16x16 = vp9_get_sse_sum_16x16_c;
830 if (flags & HAS_SSE2) vp9_get_sse_sum_16x16 = vp9_get16x16var_sse2;
890 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c; 831 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c;
891 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2; 832 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2;
892
893
894
895
896
897 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; 833 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
898 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; 834 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
899
900 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; 835 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
901 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2; 836 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
902
903 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; 837 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
904 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; 838 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
905
906 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; 839 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
907 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2; 840 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
908
909 vp9_idct32x32_1_add = vp9_idct32x32_1_add_c; 841 vp9_idct32x32_1_add = vp9_idct32x32_1_add_c;
910 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2; 842 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2;
911
912 vp9_idct32x32_34_add = vp9_idct32x32_34_add_c; 843 vp9_idct32x32_34_add = vp9_idct32x32_34_add_c;
913 if (flags & HAS_SSE2) vp9_idct32x32_34_add = vp9_idct32x32_34_add_sse2; 844 if (flags & HAS_SSE2) vp9_idct32x32_34_add = vp9_idct32x32_34_add_sse2;
914
915 vp9_idct4x4_16_add = vp9_idct4x4_16_add_c; 845 vp9_idct4x4_16_add = vp9_idct4x4_16_add_c;
916 if (flags & HAS_SSE2) vp9_idct4x4_16_add = vp9_idct4x4_16_add_sse2; 846 if (flags & HAS_SSE2) vp9_idct4x4_16_add = vp9_idct4x4_16_add_sse2;
917
918 vp9_idct4x4_1_add = vp9_idct4x4_1_add_c; 847 vp9_idct4x4_1_add = vp9_idct4x4_1_add_c;
919 if (flags & HAS_SSE2) vp9_idct4x4_1_add = vp9_idct4x4_1_add_sse2; 848 if (flags & HAS_SSE2) vp9_idct4x4_1_add = vp9_idct4x4_1_add_sse2;
920
921 vp9_idct8x8_10_add = vp9_idct8x8_10_add_c; 849 vp9_idct8x8_10_add = vp9_idct8x8_10_add_c;
922 if (flags & HAS_SSE2) vp9_idct8x8_10_add = vp9_idct8x8_10_add_sse2; 850 if (flags & HAS_SSE2) vp9_idct8x8_10_add = vp9_idct8x8_10_add_sse2;
923
924 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c; 851 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c;
925 if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2; 852 if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2;
926
927 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; 853 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c;
928 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; 854 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
929
930 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; 855 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
931 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; 856 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
932
933 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; 857 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
934 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; 858 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
935
936 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; 859 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
937 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; 860 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
938
939
940
941 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c; 861 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_c;
942 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; 862 if (flags & HAS_SSE2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2;
943
944 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c; 863 vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_c;
945 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx; 864 if (flags & HAS_MMX) vp9_lpf_horizontal_4 = vp9_lpf_horizontal_4_mmx;
946
947 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c; 865 vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_c;
948 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_ sse2; 866 if (flags & HAS_SSE2) vp9_lpf_horizontal_4_dual = vp9_lpf_horizontal_4_dual_ sse2;
949
950 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c; 867 vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_c;
951 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2; 868 if (flags & HAS_SSE2) vp9_lpf_horizontal_8 = vp9_lpf_horizontal_8_sse2;
952
953 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c; 869 vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_c;
954 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_ sse2; 870 if (flags & HAS_SSE2) vp9_lpf_horizontal_8_dual = vp9_lpf_horizontal_8_dual_ sse2;
955
956 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c; 871 vp9_lpf_vertical_16 = vp9_lpf_vertical_16_c;
957 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2; 872 if (flags & HAS_SSE2) vp9_lpf_vertical_16 = vp9_lpf_vertical_16_sse2;
958
959 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c; 873 vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_c;
960 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2; 874 if (flags & HAS_SSE2) vp9_lpf_vertical_16_dual = vp9_lpf_vertical_16_dual_ss e2;
961
962 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c; 875 vp9_lpf_vertical_4 = vp9_lpf_vertical_4_c;
963 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx; 876 if (flags & HAS_MMX) vp9_lpf_vertical_4 = vp9_lpf_vertical_4_mmx;
964
965 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c; 877 vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_c;
966 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ; 878 if (flags & HAS_SSE2) vp9_lpf_vertical_4_dual = vp9_lpf_vertical_4_dual_sse2 ;
967
968 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; 879 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c;
969 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; 880 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2;
970
971 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; 881 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c;
972 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ; 882 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2 ;
973
974 vp9_mse16x16 = vp9_mse16x16_c; 883 vp9_mse16x16 = vp9_mse16x16_c;
975 if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx; 884 if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx;
976
977
978
979
980
981
982 vp9_refining_search_sad = vp9_refining_search_sad_c; 885 vp9_refining_search_sad = vp9_refining_search_sad_c;
983 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; 886 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4;
984
985 vp9_sad16x16 = vp9_sad16x16_c; 887 vp9_sad16x16 = vp9_sad16x16_c;
986 if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx; 888 if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx;
987
988
989 vp9_sad16x16x3 = vp9_sad16x16x3_c; 889 vp9_sad16x16x3 = vp9_sad16x16x3_c;
990 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; 890 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
991 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; 891 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
992
993 vp9_sad16x16x4d = vp9_sad16x16x4d_c; 892 vp9_sad16x16x4d = vp9_sad16x16x4d_c;
994 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2; 893 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
995
996
997
998
999 vp9_sad16x32x4d = vp9_sad16x32x4d_c; 894 vp9_sad16x32x4d = vp9_sad16x32x4d_c;
1000 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2; 895 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
1001
1002 vp9_sad16x8 = vp9_sad16x8_c; 896 vp9_sad16x8 = vp9_sad16x8_c;
1003 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx; 897 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx;
1004
1005
1006 vp9_sad16x8x3 = vp9_sad16x8x3_c; 898 vp9_sad16x8x3 = vp9_sad16x8x3_c;
1007 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; 899 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
1008 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; 900 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
1009
1010 vp9_sad16x8x4d = vp9_sad16x8x4d_c; 901 vp9_sad16x8x4d = vp9_sad16x8x4d_c;
1011 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; 902 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
1012
1013
1014
1015
1016 vp9_sad32x16x4d = vp9_sad32x16x4d_c; 903 vp9_sad32x16x4d = vp9_sad32x16x4d_c;
1017 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; 904 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
1018
1019
1020
1021
1022 vp9_sad32x32x4d = vp9_sad32x32x4d_c; 905 vp9_sad32x32x4d = vp9_sad32x32x4d_c;
1023 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; 906 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
1024
1025
1026
1027
1028 vp9_sad32x64x4d = vp9_sad32x64x4d_c; 907 vp9_sad32x64x4d = vp9_sad32x64x4d_c;
1029 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; 908 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
1030
1031 vp9_sad4x4 = vp9_sad4x4_c; 909 vp9_sad4x4 = vp9_sad4x4_c;
1032 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx; 910 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx;
1033
1034
1035 vp9_sad4x4x3 = vp9_sad4x4x3_c; 911 vp9_sad4x4x3 = vp9_sad4x4x3_c;
1036 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; 912 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
1037
1038 vp9_sad4x4x4d = vp9_sad4x4x4d_c; 913 vp9_sad4x4x4d = vp9_sad4x4x4d_c;
1039 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; 914 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
1040
1041
1042
1043
1044 vp9_sad4x8x4d = vp9_sad4x8x4d_c; 915 vp9_sad4x8x4d = vp9_sad4x8x4d_c;
1045 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; 916 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
1046
1047
1048
1049
1050 vp9_sad64x32x4d = vp9_sad64x32x4d_c; 917 vp9_sad64x32x4d = vp9_sad64x32x4d_c;
1051 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; 918 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
1052
1053
1054
1055
1056 vp9_sad64x64x4d = vp9_sad64x64x4d_c; 919 vp9_sad64x64x4d = vp9_sad64x64x4d_c;
1057 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; 920 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
1058
1059
1060 vp9_sad8x16 = vp9_sad8x16_c; 921 vp9_sad8x16 = vp9_sad8x16_c;
1061 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx; 922 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx;
1062
1063
1064 vp9_sad8x16x3 = vp9_sad8x16x3_c; 923 vp9_sad8x16x3 = vp9_sad8x16x3_c;
1065 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; 924 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
1066
1067 vp9_sad8x16x4d = vp9_sad8x16x4d_c; 925 vp9_sad8x16x4d = vp9_sad8x16x4d_c;
1068 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; 926 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
1069
1070
1071
1072
1073 vp9_sad8x4x4d = vp9_sad8x4x4d_c; 927 vp9_sad8x4x4d = vp9_sad8x4x4d_c;
1074 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; 928 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
1075
1076
1077 vp9_sad8x8 = vp9_sad8x8_c; 929 vp9_sad8x8 = vp9_sad8x8_c;
1078 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx; 930 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx;
1079
1080
1081 vp9_sad8x8x3 = vp9_sad8x8x3_c; 931 vp9_sad8x8x3 = vp9_sad8x8x3_c;
1082 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; 932 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
1083
1084 vp9_sad8x8x4d = vp9_sad8x8x4d_c; 933 vp9_sad8x8x4d = vp9_sad8x8x4d_c;
1085 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; 934 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; 935 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
1118 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2; 936 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128 vp9_variance16x16 = vp9_variance16x16_c; 937 vp9_variance16x16 = vp9_variance16x16_c;
1129 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx; 938 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx;
1130
1131
1132 vp9_variance16x8 = vp9_variance16x8_c; 939 vp9_variance16x8 = vp9_variance16x8_c;
1133 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx; 940 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx;
1134
1135
1136
1137
1138 vp9_variance4x4 = vp9_variance4x4_c; 941 vp9_variance4x4 = vp9_variance4x4_c;
1139 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx; 942 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx;
1140
1141
1142
1143
1144 vp9_variance8x16 = vp9_variance8x16_c; 943 vp9_variance8x16 = vp9_variance8x16_c;
1145 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx; 944 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx;
1146
1147
1148 vp9_variance8x8 = vp9_variance8x8_c; 945 vp9_variance8x8 = vp9_variance8x8_c;
1149 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; 946 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx;
1150 } 947 }
1151 #endif 948 #endif
1152 949
1153 #ifdef __cplusplus 950 #ifdef __cplusplus
1154 } // extern "C" 951 } // extern "C"
1155 #endif 952 #endif
1156 953
1157 #endif 954 #endif
OLDNEW
« no previous file with comments | « source/config/mac/ia32/vp8_rtcd.h ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698