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

Side by Side Diff: third_party/libvpx_new/source/config/mac/x64/vpx_dsp_rtcd.h

Issue 1392983002: Roll src/third_party/libvpx_new/source/libvpx/ 7d28d12ef..ce3f4ade6 (56 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 RTCD_EXTERN void (*vpx_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left); 128 RTCD_EXTERN void (*vpx_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
129 129
130 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 130 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
131 void vpx_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 131 void vpx_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
132 RTCD_EXTERN void (*vpx_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 132 RTCD_EXTERN void (*vpx_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
133 133
134 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 134 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
135 void vpx_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 135 void vpx_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
136 RTCD_EXTERN void (*vpx_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 136 RTCD_EXTERN void (*vpx_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
137 137
138 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
139 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
140
138 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 141 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
139 void vpx_d63_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 142 void vpx_d63_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
140 RTCD_EXTERN void (*vpx_d63_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left); 143 RTCD_EXTERN void (*vpx_d63_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
141 144
142 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 145 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
143 void vpx_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left); 146 void vpx_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8 _t *above, const uint8_t *left);
144 RTCD_EXTERN void (*vpx_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left); 147 RTCD_EXTERN void (*vpx_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left);
145 148
146 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 149 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
147 void vpx_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 150 void vpx_d63_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
148 RTCD_EXTERN void (*vpx_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 151 RTCD_EXTERN void (*vpx_d63_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
149 152
150 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 153 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
151 void vpx_d63_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 154 void vpx_d63_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
152 RTCD_EXTERN void (*vpx_d63_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 155 RTCD_EXTERN void (*vpx_d63_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
153 156
157 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
158 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
159
154 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 160 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
155 void vpx_dc_128_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left); 161 void vpx_dc_128_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
156 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_sse2 162 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_sse2
157 163
158 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 164 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
159 void vpx_dc_128_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left); 165 void vpx_dc_128_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uin t8_t *above, const uint8_t *left);
160 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_sse2 166 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_sse2
161 167
162 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 168 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
163 void vpx_dc_128_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left); 169 void vpx_dc_128_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_ t *above, const uint8_t *left);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 287 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
282 288
283 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 289 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
284 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 290 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
285 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 291 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
286 292
287 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 293 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
288 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 294 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
289 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 295 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
290 296
297 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
298 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
299
291 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide); 300 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str ide);
292 void vpx_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride); 301 void vpx_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_ stride);
293 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_sse2 302 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_sse2
294 303
295 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de); 304 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri de);
296 void vpx_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride); 305 void vpx_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s tride);
297 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_sse2 306 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_sse2
298 307
299 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride); 308 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st ride);
300 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest _stride); 309 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest _stride);
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 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); 919 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);
911 uint32_t vpx_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 920 uint32_t vpx_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
912 uint32_t vpx_variance_halfpixvar16x16_hv_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 921 uint32_t vpx_variance_halfpixvar16x16_hv_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
913 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_sse2 922 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_sse2
914 923
915 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); 924 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);
916 uint32_t vpx_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int so urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 925 uint32_t vpx_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int so urce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
917 uint32_t vpx_variance_halfpixvar16x16_v_sse2(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 926 uint32_t vpx_variance_halfpixvar16x16_v_sse2(const unsigned char *src_ptr, int s ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse);
918 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_sse2 927 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_sse2
919 928
929 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo ve, const uint8_t *left);
930 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
931
920 void vpx_dsp_rtcd(void); 932 void vpx_dsp_rtcd(void);
921 933
922 #ifdef RTCD_C 934 #ifdef RTCD_C
923 #include "vpx_ports/x86.h" 935 #include "vpx_ports/x86.h"
924 static void setup_rtcd_internal(void) 936 static void setup_rtcd_internal(void)
925 { 937 {
926 int flags = x86_simd_caps(); 938 int flags = x86_simd_caps();
927 939
928 (void)flags; 940 (void)flags;
929 941
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 vpx_variance64x64 = vpx_variance64x64_sse2; 1129 vpx_variance64x64 = vpx_variance64x64_sse2;
1118 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; 1130 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2;
1119 } 1131 }
1120 #endif 1132 #endif
1121 1133
1122 #ifdef __cplusplus 1134 #ifdef __cplusplus
1123 } // extern "C" 1135 } // extern "C"
1124 #endif 1136 #endif
1125 1137
1126 #endif 1138 #endif
OLDNEW
« no previous file with comments | « third_party/libvpx_new/source/config/mac/x64/vp8_rtcd.h ('k') | third_party/libvpx_new/source/config/nacl/vp8_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698