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

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

Issue 1641773002: Roll src/third_party/libvpx_new/source/libvpx/ c0307e6ce..d6996849f (23 commits). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 594
595 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 595 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
596 unsigned int vpx_sad4x4_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 596 unsigned int vpx_sad4x4_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
597 RTCD_EXTERN unsigned int (*vpx_sad4x4_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 597 RTCD_EXTERN unsigned int (*vpx_sad4x4_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
598 598
599 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 599 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
600 void vpx_sad4x4x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 600 void vpx_sad4x4x3_sse3(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
601 RTCD_EXTERN void (*vpx_sad4x4x3)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 601 RTCD_EXTERN void (*vpx_sad4x4x3)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
602 602
603 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array); 603 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
604 void vpx_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array); 604 void vpx_sad4x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
605 RTCD_EXTERN void (*vpx_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 605 RTCD_EXTERN void (*vpx_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
606 606
607 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 607 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
608 void vpx_sad4x4x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array); 608 void vpx_sad4x4x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t * ref_ptr, int ref_stride, uint32_t *sad_array);
609 RTCD_EXTERN void (*vpx_sad4x4x8)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 609 RTCD_EXTERN void (*vpx_sad4x4x8)(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
610 610
611 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 611 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
612 unsigned int vpx_sad4x8_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride); 612 unsigned int vpx_sad4x8_sse2(const uint8_t *src_ptr, int src_stride, const uint8 _t *ref_ptr, int ref_stride);
613 RTCD_EXTERN unsigned int (*vpx_sad4x8)(const uint8_t *src_ptr, int src_stride, c onst uint8_t *ref_ptr, int ref_stride); 613 RTCD_EXTERN unsigned int (*vpx_sad4x8)(const uint8_t *src_ptr, int src_stride, c onst uint8_t *ref_ptr, int ref_stride);
614 614
615 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 615 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint 8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
616 unsigned int vpx_sad4x8_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 616 unsigned int vpx_sad4x8_avg_sse2(const uint8_t *src_ptr, int src_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
617 RTCD_EXTERN unsigned int (*vpx_sad4x8_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); 617 RTCD_EXTERN unsigned int (*vpx_sad4x8_avg)(const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
618 618
619 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array); 619 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con st ref_ptr[], int ref_stride, uint32_t *sad_array);
620 void vpx_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t * c onst ref_ptr[], int ref_stride, uint32_t *sad_array); 620 void vpx_sad4x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
621 RTCD_EXTERN void (*vpx_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 621 RTCD_EXTERN void (*vpx_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
622 622
623 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 623 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
624 #define vpx_sad4x8x8 vpx_sad4x8x8_c 624 #define vpx_sad4x8x8 vpx_sad4x8x8_c
625 625
626 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride); 626 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_ t *ref_ptr, int ref_stride);
627 unsigned int vpx_sad64x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride); 627 unsigned int vpx_sad64x32_sse2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
628 unsigned int vpx_sad64x32_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride); 628 unsigned int vpx_sad64x32_avx2(const uint8_t *src_ptr, int src_stride, const uin t8_t *ref_ptr, int ref_stride);
629 RTCD_EXTERN unsigned int (*vpx_sad64x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 629 RTCD_EXTERN unsigned int (*vpx_sad64x32)(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
630 630
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 vpx_sad32x64x4d = vpx_sad32x64x4d_c; 1264 vpx_sad32x64x4d = vpx_sad32x64x4d_c;
1265 if (flags & HAS_SSE2) vpx_sad32x64x4d = vpx_sad32x64x4d_sse2; 1265 if (flags & HAS_SSE2) vpx_sad32x64x4d = vpx_sad32x64x4d_sse2;
1266 vpx_sad4x4 = vpx_sad4x4_c; 1266 vpx_sad4x4 = vpx_sad4x4_c;
1267 if (flags & HAS_MMX) vpx_sad4x4 = vpx_sad4x4_mmx; 1267 if (flags & HAS_MMX) vpx_sad4x4 = vpx_sad4x4_mmx;
1268 if (flags & HAS_SSE2) vpx_sad4x4 = vpx_sad4x4_sse2; 1268 if (flags & HAS_SSE2) vpx_sad4x4 = vpx_sad4x4_sse2;
1269 vpx_sad4x4_avg = vpx_sad4x4_avg_c; 1269 vpx_sad4x4_avg = vpx_sad4x4_avg_c;
1270 if (flags & HAS_SSE2) vpx_sad4x4_avg = vpx_sad4x4_avg_sse2; 1270 if (flags & HAS_SSE2) vpx_sad4x4_avg = vpx_sad4x4_avg_sse2;
1271 vpx_sad4x4x3 = vpx_sad4x4x3_c; 1271 vpx_sad4x4x3 = vpx_sad4x4x3_c;
1272 if (flags & HAS_SSE3) vpx_sad4x4x3 = vpx_sad4x4x3_sse3; 1272 if (flags & HAS_SSE3) vpx_sad4x4x3 = vpx_sad4x4x3_sse3;
1273 vpx_sad4x4x4d = vpx_sad4x4x4d_c; 1273 vpx_sad4x4x4d = vpx_sad4x4x4d_c;
1274 if (flags & HAS_SSE) vpx_sad4x4x4d = vpx_sad4x4x4d_sse; 1274 if (flags & HAS_SSE2) vpx_sad4x4x4d = vpx_sad4x4x4d_sse2;
1275 vpx_sad4x4x8 = vpx_sad4x4x8_c; 1275 vpx_sad4x4x8 = vpx_sad4x4x8_c;
1276 if (flags & HAS_SSE4_1) vpx_sad4x4x8 = vpx_sad4x4x8_sse4_1; 1276 if (flags & HAS_SSE4_1) vpx_sad4x4x8 = vpx_sad4x4x8_sse4_1;
1277 vpx_sad4x8 = vpx_sad4x8_c; 1277 vpx_sad4x8 = vpx_sad4x8_c;
1278 if (flags & HAS_SSE2) vpx_sad4x8 = vpx_sad4x8_sse2; 1278 if (flags & HAS_SSE2) vpx_sad4x8 = vpx_sad4x8_sse2;
1279 vpx_sad4x8_avg = vpx_sad4x8_avg_c; 1279 vpx_sad4x8_avg = vpx_sad4x8_avg_c;
1280 if (flags & HAS_SSE2) vpx_sad4x8_avg = vpx_sad4x8_avg_sse2; 1280 if (flags & HAS_SSE2) vpx_sad4x8_avg = vpx_sad4x8_avg_sse2;
1281 vpx_sad4x8x4d = vpx_sad4x8x4d_c; 1281 vpx_sad4x8x4d = vpx_sad4x8x4d_c;
1282 if (flags & HAS_SSE) vpx_sad4x8x4d = vpx_sad4x8x4d_sse; 1282 if (flags & HAS_SSE2) vpx_sad4x8x4d = vpx_sad4x8x4d_sse2;
1283 vpx_sad64x32 = vpx_sad64x32_c; 1283 vpx_sad64x32 = vpx_sad64x32_c;
1284 if (flags & HAS_SSE2) vpx_sad64x32 = vpx_sad64x32_sse2; 1284 if (flags & HAS_SSE2) vpx_sad64x32 = vpx_sad64x32_sse2;
1285 if (flags & HAS_AVX2) vpx_sad64x32 = vpx_sad64x32_avx2; 1285 if (flags & HAS_AVX2) vpx_sad64x32 = vpx_sad64x32_avx2;
1286 vpx_sad64x32_avg = vpx_sad64x32_avg_c; 1286 vpx_sad64x32_avg = vpx_sad64x32_avg_c;
1287 if (flags & HAS_SSE2) vpx_sad64x32_avg = vpx_sad64x32_avg_sse2; 1287 if (flags & HAS_SSE2) vpx_sad64x32_avg = vpx_sad64x32_avg_sse2;
1288 if (flags & HAS_AVX2) vpx_sad64x32_avg = vpx_sad64x32_avg_avx2; 1288 if (flags & HAS_AVX2) vpx_sad64x32_avg = vpx_sad64x32_avg_avx2;
1289 vpx_sad64x32x4d = vpx_sad64x32x4d_c; 1289 vpx_sad64x32x4d = vpx_sad64x32x4d_c;
1290 if (flags & HAS_SSE2) vpx_sad64x32x4d = vpx_sad64x32x4d_sse2; 1290 if (flags & HAS_SSE2) vpx_sad64x32x4d = vpx_sad64x32x4d_sse2;
1291 vpx_sad64x64 = vpx_sad64x64_c; 1291 vpx_sad64x64 = vpx_sad64x64_c;
1292 if (flags & HAS_SSE2) vpx_sad64x64 = vpx_sad64x64_sse2; 1292 if (flags & HAS_SSE2) vpx_sad64x64 = vpx_sad64x64_sse2;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 vpx_vector_var = vpx_vector_var_c; 1482 vpx_vector_var = vpx_vector_var_c;
1483 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2; 1483 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2;
1484 } 1484 }
1485 #endif 1485 #endif
1486 1486
1487 #ifdef __cplusplus 1487 #ifdef __cplusplus
1488 } // extern "C" 1488 } // extern "C"
1489 #endif 1489 #endif
1490 1490
1491 #endif 1491 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698