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

Side by Side Diff: source/config/mac/x64/vp8_rtcd.h

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « source/config/mac/ia32/vpx_config.asm ('k') | source/config/mac/x64/vp9_rtcd.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 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 #ifdef __cplusplus 10 #ifdef __cplusplus
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 void vp8_quantize_mby_c(struct macroblock *); 240 void vp8_quantize_mby_c(struct macroblock *);
241 #define vp8_quantize_mby vp8_quantize_mby_c 241 #define vp8_quantize_mby vp8_quantize_mby_c
242 242
243 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); 243 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);
244 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); 244 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);
245 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); 245 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);
246 246
247 void vp8_regular_quantize_b_c(struct block *, struct blockd *); 247 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
248 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); 248 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *);
249 #define vp8_regular_quantize_b vp8_regular_quantize_b_sse2 249 void vp8_regular_quantize_b_sse4_1(struct block *, struct blockd *);
250 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *);
250 251
251 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2); 252 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl ockd *d1, struct blockd *d2);
252 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c 253 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
253 254
254 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 255 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
255 unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 256 unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
256 unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 257 unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, cons t unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
257 unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 258 unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, con st unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
258 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 259 RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_s tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
259 260
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3; 501 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3;
501 vp8_diamond_search_sad = vp8_diamond_search_sad_c; 502 vp8_diamond_search_sad = vp8_diamond_search_sad_c;
502 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; 503 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4;
503 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; 504 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
504 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; 505 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
505 vp8_full_search_sad = vp8_full_search_sad_c; 506 vp8_full_search_sad = vp8_full_search_sad_c;
506 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; 507 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3;
507 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; 508 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8;
508 vp8_refining_search_sad = vp8_refining_search_sad_c; 509 vp8_refining_search_sad = vp8_refining_search_sad_c;
509 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; 510 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4;
511 vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
512 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4 _1;
510 vp8_sad16x16 = vp8_sad16x16_wmt; 513 vp8_sad16x16 = vp8_sad16x16_wmt;
511 if (flags & HAS_SSE3) vp8_sad16x16 = vp8_sad16x16_sse3; 514 if (flags & HAS_SSE3) vp8_sad16x16 = vp8_sad16x16_sse3;
512 vp8_sad16x16x3 = vp8_sad16x16x3_c; 515 vp8_sad16x16x3 = vp8_sad16x16x3_c;
513 if (flags & HAS_SSE3) vp8_sad16x16x3 = vp8_sad16x16x3_sse3; 516 if (flags & HAS_SSE3) vp8_sad16x16x3 = vp8_sad16x16x3_sse3;
514 if (flags & HAS_SSSE3) vp8_sad16x16x3 = vp8_sad16x16x3_ssse3; 517 if (flags & HAS_SSSE3) vp8_sad16x16x3 = vp8_sad16x16x3_ssse3;
515 vp8_sad16x16x4d = vp8_sad16x16x4d_c; 518 vp8_sad16x16x4d = vp8_sad16x16x4d_c;
516 if (flags & HAS_SSE3) vp8_sad16x16x4d = vp8_sad16x16x4d_sse3; 519 if (flags & HAS_SSE3) vp8_sad16x16x4d = vp8_sad16x16x4d_sse3;
517 vp8_sad16x16x8 = vp8_sad16x16x8_c; 520 vp8_sad16x16x8 = vp8_sad16x16x8_c;
518 if (flags & HAS_SSE4_1) vp8_sad16x16x8 = vp8_sad16x16x8_sse4; 521 if (flags & HAS_SSE4_1) vp8_sad16x16x8 = vp8_sad16x16x8_sse4;
519 vp8_sad16x8x3 = vp8_sad16x8x3_c; 522 vp8_sad16x8x3 = vp8_sad16x8x3_c;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; 557 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt;
555 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16 x8_ssse3; 558 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16 x8_ssse3;
556 } 559 }
557 #endif 560 #endif
558 561
559 #ifdef __cplusplus 562 #ifdef __cplusplus
560 } // extern "C" 563 } // extern "C"
561 #endif 564 #endif
562 565
563 #endif 566 #endif
OLDNEW
« no previous file with comments | « source/config/mac/ia32/vpx_config.asm ('k') | source/config/mac/x64/vp9_rtcd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698