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

Side by Side Diff: third_party/libvpx/source/config/linux/x64/vp8_rtcd.h

Issue 2528543002: Roll src/third_party/libvpx/source/libvpx/ 5c64c01c7..d7f1d60c5 (36 commits). (Closed)
Patch Set: rebase for DEPS Created 4 years 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 VP8_RTCD_H_ 1 #ifndef VP8_RTCD_H_
2 #define VP8_RTCD_H_ 2 #define VP8_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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 int vp8_mbblock_error_c(struct macroblock *mb, int dc); 162 int vp8_mbblock_error_c(struct macroblock *mb, int dc);
163 int vp8_mbblock_error_sse2(struct macroblock *mb, int dc); 163 int vp8_mbblock_error_sse2(struct macroblock *mb, int dc);
164 #define vp8_mbblock_error vp8_mbblock_error_sse2 164 #define vp8_mbblock_error vp8_mbblock_error_sse2
165 165
166 int vp8_mbuverror_c(struct macroblock *mb); 166 int vp8_mbuverror_c(struct macroblock *mb);
167 int vp8_mbuverror_sse2(struct macroblock *mb); 167 int vp8_mbuverror_sse2(struct macroblock *mb);
168 #define vp8_mbuverror vp8_mbuverror_sse2 168 #define vp8_mbuverror vp8_mbuverror_sse2
169 169
170 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv); 170 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv);
171 int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv); 171 int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct bloc kd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtab le *fn_ptr, int *mvcost[2], union int_mv *center_mv);
172 RTCD_EXTERN int (*vp8_refining_search_sad)(struct macroblock *x, struct block *b , struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 172 #define vp8_refining_search_sad vp8_refining_search_sadx4
173 173
174 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 174 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
175 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); 175 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *);
176 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *); 176 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *);
177 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); 177 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *);
178 178
179 void vp8_short_fdct4x4_c(short *input, short *output, int pitch); 179 void vp8_short_fdct4x4_c(short *input, short *output, int pitch);
180 void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch); 180 void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch);
181 #define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2 181 #define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2
182 182
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16 _ssse3; 233 if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16 _ssse3;
234 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2; 234 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2;
235 if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sss e3; 235 if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sss e3;
236 vp8_copy32xn = vp8_copy32xn_sse2; 236 vp8_copy32xn = vp8_copy32xn_sse2;
237 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3; 237 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3;
238 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; 238 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
239 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; 239 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
240 vp8_full_search_sad = vp8_full_search_sad_c; 240 vp8_full_search_sad = vp8_full_search_sad_c;
241 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; 241 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3;
242 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; 242 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8;
243 vp8_refining_search_sad = vp8_refining_search_sad_c;
244 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4;
245 vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; 243 vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
246 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4 _1; 244 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4 _1;
247 vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2; 245 vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2;
248 if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sss e3; 246 if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sss e3;
249 vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx; 247 vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx;
250 if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3; 248 if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3;
251 vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2; 249 vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2;
252 if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3; 250 if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3;
253 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2; 251 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2;
254 if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3; 252 if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3;
255 } 253 }
256 #endif 254 #endif
257 255
258 #ifdef __cplusplus 256 #ifdef __cplusplus
259 } // extern "C" 257 } // extern "C"
260 #endif 258 #endif
261 259
262 #endif 260 #endif
OLDNEW
« no previous file with comments | « third_party/libvpx/source/config/linux/ia32/vpx_dsp_rtcd.h ('k') | third_party/libvpx/source/config/linux/x64/vpx_dsp_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698