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

Side by Side Diff: third_party/libvpx/source/config/mac/ia32/vpx_dsp_rtcd.h

Issue 2915763004: Roll src/third_party/libvpx/source/libvpx/ b3bf91bdc..b9649d240 (22 commits) (Closed)
Patch Set: Created 3 years, 6 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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 #define vpx_highbd_h_predictor_4x4 vpx_highbd_h_predictor_4x4_c 1022 #define vpx_highbd_h_predictor_4x4 vpx_highbd_h_predictor_4x4_c
1023 1023
1024 void vpx_highbd_h_predictor_8x8_c(uint16_t *dst, ptrdiff_t y_stride, const uint1 6_t *above, const uint16_t *left, int bd); 1024 void vpx_highbd_h_predictor_8x8_c(uint16_t *dst, ptrdiff_t y_stride, const uint1 6_t *above, const uint16_t *left, int bd);
1025 #define vpx_highbd_h_predictor_8x8 vpx_highbd_h_predictor_8x8_c 1025 #define vpx_highbd_h_predictor_8x8 vpx_highbd_h_predictor_8x8_c
1026 1026
1027 void vpx_highbd_idct16x16_10_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1027 void vpx_highbd_idct16x16_10_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1028 void vpx_highbd_idct16x16_10_add_sse2(const tran_low_t *input, uint16_t *dest, i nt stride, int bd); 1028 void vpx_highbd_idct16x16_10_add_sse2(const tran_low_t *input, uint16_t *dest, i nt stride, int bd);
1029 RTCD_EXTERN void (*vpx_highbd_idct16x16_10_add)(const tran_low_t *input, uint16_ t *dest, int stride, int bd); 1029 RTCD_EXTERN void (*vpx_highbd_idct16x16_10_add)(const tran_low_t *input, uint16_ t *dest, int stride, int bd);
1030 1030
1031 void vpx_highbd_idct16x16_1_add_c(const tran_low_t *input, uint16_t *dest, int s tride, int bd); 1031 void vpx_highbd_idct16x16_1_add_c(const tran_low_t *input, uint16_t *dest, int s tride, int bd);
1032 #define vpx_highbd_idct16x16_1_add vpx_highbd_idct16x16_1_add_c 1032 void vpx_highbd_idct16x16_1_add_sse2(const tran_low_t *input, uint16_t *dest, in t stride, int bd);
1033 RTCD_EXTERN void (*vpx_highbd_idct16x16_1_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1033 1034
1034 void vpx_highbd_idct16x16_256_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1035 void vpx_highbd_idct16x16_256_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1035 void vpx_highbd_idct16x16_256_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1036 void vpx_highbd_idct16x16_256_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1036 RTCD_EXTERN void (*vpx_highbd_idct16x16_256_add)(const tran_low_t *input, uint16 _t *dest, int stride, int bd); 1037 RTCD_EXTERN void (*vpx_highbd_idct16x16_256_add)(const tran_low_t *input, uint16 _t *dest, int stride, int bd);
1037 1038
1038 void vpx_highbd_idct16x16_38_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1039 void vpx_highbd_idct16x16_38_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1039 void vpx_highbd_idct16x16_256_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1040 void vpx_highbd_idct16x16_256_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1040 RTCD_EXTERN void (*vpx_highbd_idct16x16_38_add)(const tran_low_t *input, uint16_ t *dest, int stride, int bd); 1041 RTCD_EXTERN void (*vpx_highbd_idct16x16_38_add)(const tran_low_t *input, uint16_ t *dest, int stride, int bd);
1041 1042
1042 void vpx_highbd_idct32x32_1024_add_c(const tran_low_t *input, uint16_t *dest, in t stride, int bd); 1043 void vpx_highbd_idct32x32_1024_add_c(const tran_low_t *input, uint16_t *dest, in t stride, int bd);
1043 #define vpx_highbd_idct32x32_1024_add vpx_highbd_idct32x32_1024_add_c 1044 #define vpx_highbd_idct32x32_1024_add vpx_highbd_idct32x32_1024_add_c
1044 1045
1045 void vpx_highbd_idct32x32_135_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1046 void vpx_highbd_idct32x32_135_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1046 #define vpx_highbd_idct32x32_135_add vpx_highbd_idct32x32_135_add_c 1047 #define vpx_highbd_idct32x32_135_add vpx_highbd_idct32x32_135_add_c
1047 1048
1048 void vpx_highbd_idct32x32_1_add_c(const tran_low_t *input, uint16_t *dest, int s tride, int bd); 1049 void vpx_highbd_idct32x32_1_add_c(const tran_low_t *input, uint16_t *dest, int s tride, int bd);
1049 void vpx_highbd_idct32x32_1_add_sse2(const tran_low_t *input, uint16_t *dest, in t stride, int bd); 1050 void vpx_highbd_idct32x32_1_add_sse2(const tran_low_t *input, uint16_t *dest, in t stride, int bd);
1050 RTCD_EXTERN void (*vpx_highbd_idct32x32_1_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1051 RTCD_EXTERN void (*vpx_highbd_idct32x32_1_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1051 1052
1052 void vpx_highbd_idct32x32_34_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1053 void vpx_highbd_idct32x32_34_add_c(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1053 #define vpx_highbd_idct32x32_34_add vpx_highbd_idct32x32_34_add_c 1054 #define vpx_highbd_idct32x32_34_add vpx_highbd_idct32x32_34_add_c
1054 1055
1055 void vpx_highbd_idct4x4_16_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd); 1056 void vpx_highbd_idct4x4_16_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd);
1056 void vpx_highbd_idct4x4_16_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1057 void vpx_highbd_idct4x4_16_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1057 RTCD_EXTERN void (*vpx_highbd_idct4x4_16_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1058 RTCD_EXTERN void (*vpx_highbd_idct4x4_16_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1058 1059
1059 void vpx_highbd_idct4x4_1_add_c(const tran_low_t *input, uint16_t *dest, int str ide, int bd); 1060 void vpx_highbd_idct4x4_1_add_c(const tran_low_t *input, uint16_t *dest, int str ide, int bd);
1060 #define vpx_highbd_idct4x4_1_add vpx_highbd_idct4x4_1_add_c 1061 void vpx_highbd_idct4x4_1_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1062 RTCD_EXTERN void (*vpx_highbd_idct4x4_1_add)(const tran_low_t *input, uint16_t * dest, int stride, int bd);
1061 1063
1062 void vpx_highbd_idct8x8_12_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd); 1064 void vpx_highbd_idct8x8_12_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd);
1063 void vpx_highbd_idct8x8_12_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1065 void vpx_highbd_idct8x8_12_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1064 RTCD_EXTERN void (*vpx_highbd_idct8x8_12_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1066 RTCD_EXTERN void (*vpx_highbd_idct8x8_12_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1065 1067
1066 void vpx_highbd_idct8x8_1_add_c(const tran_low_t *input, uint16_t *dest, int str ide, int bd); 1068 void vpx_highbd_idct8x8_1_add_c(const tran_low_t *input, uint16_t *dest, int str ide, int bd);
1067 #define vpx_highbd_idct8x8_1_add vpx_highbd_idct8x8_1_add_c 1069 void vpx_highbd_idct8x8_1_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1070 RTCD_EXTERN void (*vpx_highbd_idct8x8_1_add)(const tran_low_t *input, uint16_t * dest, int stride, int bd);
1068 1071
1069 void vpx_highbd_idct8x8_64_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd); 1072 void vpx_highbd_idct8x8_64_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd);
1070 void vpx_highbd_idct8x8_64_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1073 void vpx_highbd_idct8x8_64_add_sse2(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1071 RTCD_EXTERN void (*vpx_highbd_idct8x8_64_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd); 1074 RTCD_EXTERN void (*vpx_highbd_idct8x8_64_add)(const tran_low_t *input, uint16_t *dest, int stride, int bd);
1072 1075
1073 void vpx_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd); 1076 void vpx_highbd_iwht4x4_16_add_c(const tran_low_t *input, uint16_t *dest, int st ride, int bd);
1074 #define vpx_highbd_iwht4x4_16_add vpx_highbd_iwht4x4_16_add_c 1077 #define vpx_highbd_iwht4x4_16_add vpx_highbd_iwht4x4_16_add_c
1075 1078
1076 void vpx_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint16_t *dest, int str ide, int bd); 1079 void vpx_highbd_iwht4x4_1_add_c(const tran_low_t *input, uint16_t *dest, int str ide, int bd);
1077 #define vpx_highbd_iwht4x4_1_add vpx_highbd_iwht4x4_1_add_c 1080 #define vpx_highbd_iwht4x4_1_add vpx_highbd_iwht4x4_1_add_c
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2402 vpx_highbd_fdct32x32 = vpx_highbd_fdct32x32_c; 2405 vpx_highbd_fdct32x32 = vpx_highbd_fdct32x32_c;
2403 if (flags & HAS_SSE2) vpx_highbd_fdct32x32 = vpx_highbd_fdct32x32_sse2; 2406 if (flags & HAS_SSE2) vpx_highbd_fdct32x32 = vpx_highbd_fdct32x32_sse2;
2404 vpx_highbd_fdct32x32_rd = vpx_highbd_fdct32x32_rd_c; 2407 vpx_highbd_fdct32x32_rd = vpx_highbd_fdct32x32_rd_c;
2405 if (flags & HAS_SSE2) vpx_highbd_fdct32x32_rd = vpx_highbd_fdct32x32_rd_sse2 ; 2408 if (flags & HAS_SSE2) vpx_highbd_fdct32x32_rd = vpx_highbd_fdct32x32_rd_sse2 ;
2406 vpx_highbd_fdct4x4 = vpx_highbd_fdct4x4_c; 2409 vpx_highbd_fdct4x4 = vpx_highbd_fdct4x4_c;
2407 if (flags & HAS_SSE2) vpx_highbd_fdct4x4 = vpx_highbd_fdct4x4_sse2; 2410 if (flags & HAS_SSE2) vpx_highbd_fdct4x4 = vpx_highbd_fdct4x4_sse2;
2408 vpx_highbd_fdct8x8 = vpx_highbd_fdct8x8_c; 2411 vpx_highbd_fdct8x8 = vpx_highbd_fdct8x8_c;
2409 if (flags & HAS_SSE2) vpx_highbd_fdct8x8 = vpx_highbd_fdct8x8_sse2; 2412 if (flags & HAS_SSE2) vpx_highbd_fdct8x8 = vpx_highbd_fdct8x8_sse2;
2410 vpx_highbd_idct16x16_10_add = vpx_highbd_idct16x16_10_add_c; 2413 vpx_highbd_idct16x16_10_add = vpx_highbd_idct16x16_10_add_c;
2411 if (flags & HAS_SSE2) vpx_highbd_idct16x16_10_add = vpx_highbd_idct16x16_10_ add_sse2; 2414 if (flags & HAS_SSE2) vpx_highbd_idct16x16_10_add = vpx_highbd_idct16x16_10_ add_sse2;
2415 vpx_highbd_idct16x16_1_add = vpx_highbd_idct16x16_1_add_c;
2416 if (flags & HAS_SSE2) vpx_highbd_idct16x16_1_add = vpx_highbd_idct16x16_1_ad d_sse2;
2412 vpx_highbd_idct16x16_256_add = vpx_highbd_idct16x16_256_add_c; 2417 vpx_highbd_idct16x16_256_add = vpx_highbd_idct16x16_256_add_c;
2413 if (flags & HAS_SSE2) vpx_highbd_idct16x16_256_add = vpx_highbd_idct16x16_25 6_add_sse2; 2418 if (flags & HAS_SSE2) vpx_highbd_idct16x16_256_add = vpx_highbd_idct16x16_25 6_add_sse2;
2414 vpx_highbd_idct16x16_38_add = vpx_highbd_idct16x16_38_add_c; 2419 vpx_highbd_idct16x16_38_add = vpx_highbd_idct16x16_38_add_c;
2415 if (flags & HAS_SSE2) vpx_highbd_idct16x16_38_add = vpx_highbd_idct16x16_256 _add_sse2; 2420 if (flags & HAS_SSE2) vpx_highbd_idct16x16_38_add = vpx_highbd_idct16x16_256 _add_sse2;
2416 vpx_highbd_idct32x32_1_add = vpx_highbd_idct32x32_1_add_c; 2421 vpx_highbd_idct32x32_1_add = vpx_highbd_idct32x32_1_add_c;
2417 if (flags & HAS_SSE2) vpx_highbd_idct32x32_1_add = vpx_highbd_idct32x32_1_ad d_sse2; 2422 if (flags & HAS_SSE2) vpx_highbd_idct32x32_1_add = vpx_highbd_idct32x32_1_ad d_sse2;
2418 vpx_highbd_idct4x4_16_add = vpx_highbd_idct4x4_16_add_c; 2423 vpx_highbd_idct4x4_16_add = vpx_highbd_idct4x4_16_add_c;
2419 if (flags & HAS_SSE2) vpx_highbd_idct4x4_16_add = vpx_highbd_idct4x4_16_add_ sse2; 2424 if (flags & HAS_SSE2) vpx_highbd_idct4x4_16_add = vpx_highbd_idct4x4_16_add_ sse2;
2425 vpx_highbd_idct4x4_1_add = vpx_highbd_idct4x4_1_add_c;
2426 if (flags & HAS_SSE2) vpx_highbd_idct4x4_1_add = vpx_highbd_idct4x4_1_add_ss e2;
2420 vpx_highbd_idct8x8_12_add = vpx_highbd_idct8x8_12_add_c; 2427 vpx_highbd_idct8x8_12_add = vpx_highbd_idct8x8_12_add_c;
2421 if (flags & HAS_SSE2) vpx_highbd_idct8x8_12_add = vpx_highbd_idct8x8_12_add_ sse2; 2428 if (flags & HAS_SSE2) vpx_highbd_idct8x8_12_add = vpx_highbd_idct8x8_12_add_ sse2;
2429 vpx_highbd_idct8x8_1_add = vpx_highbd_idct8x8_1_add_c;
2430 if (flags & HAS_SSE2) vpx_highbd_idct8x8_1_add = vpx_highbd_idct8x8_1_add_ss e2;
2422 vpx_highbd_idct8x8_64_add = vpx_highbd_idct8x8_64_add_c; 2431 vpx_highbd_idct8x8_64_add = vpx_highbd_idct8x8_64_add_c;
2423 if (flags & HAS_SSE2) vpx_highbd_idct8x8_64_add = vpx_highbd_idct8x8_64_add_ sse2; 2432 if (flags & HAS_SSE2) vpx_highbd_idct8x8_64_add = vpx_highbd_idct8x8_64_add_ sse2;
2424 vpx_highbd_lpf_horizontal_16 = vpx_highbd_lpf_horizontal_16_c; 2433 vpx_highbd_lpf_horizontal_16 = vpx_highbd_lpf_horizontal_16_c;
2425 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_16 = vpx_highbd_lpf_horizont al_16_sse2; 2434 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_16 = vpx_highbd_lpf_horizont al_16_sse2;
2426 vpx_highbd_lpf_horizontal_16_dual = vpx_highbd_lpf_horizontal_16_dual_c; 2435 vpx_highbd_lpf_horizontal_16_dual = vpx_highbd_lpf_horizontal_16_dual_c;
2427 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_16_dual = vpx_highbd_lpf_hor izontal_16_dual_sse2; 2436 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_16_dual = vpx_highbd_lpf_hor izontal_16_dual_sse2;
2428 vpx_highbd_lpf_horizontal_4 = vpx_highbd_lpf_horizontal_4_c; 2437 vpx_highbd_lpf_horizontal_4 = vpx_highbd_lpf_horizontal_4_c;
2429 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_4 = vpx_highbd_lpf_horizonta l_4_sse2; 2438 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_4 = vpx_highbd_lpf_horizonta l_4_sse2;
2430 vpx_highbd_lpf_horizontal_4_dual = vpx_highbd_lpf_horizontal_4_dual_c; 2439 vpx_highbd_lpf_horizontal_4_dual = vpx_highbd_lpf_horizontal_4_dual_c;
2431 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_4_dual = vpx_highbd_lpf_hori zontal_4_dual_sse2; 2440 if (flags & HAS_SSE2) vpx_highbd_lpf_horizontal_4_dual = vpx_highbd_lpf_hori zontal_4_dual_sse2;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
2871 vpx_vector_var = vpx_vector_var_c; 2880 vpx_vector_var = vpx_vector_var_c;
2872 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2; 2881 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2;
2873 } 2882 }
2874 #endif 2883 #endif
2875 2884
2876 #ifdef __cplusplus 2885 #ifdef __cplusplus
2877 } // extern "C" 2886 } // extern "C"
2878 #endif 2887 #endif
2879 2888
2880 #endif 2889 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698