| OLD | NEW |
| 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse
); | 473 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse
); |
| 474 unsigned int vp8_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); | 474 unsigned int vp8_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); |
| 475 unsigned int vp8_variance_halfpixvar16x16_hv_wmt(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); | 475 unsigned int vp8_variance_halfpixvar16x16_hv_wmt(const unsigned char *src_ptr, i
nt source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *s
se); |
| 476 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_wmt | 476 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_wmt |
| 477 | 477 |
| 478 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse)
; | 478 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse)
; |
| 479 unsigned int vp8_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); | 479 unsigned int vp8_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); |
| 480 unsigned int vp8_variance_halfpixvar16x16_v_wmt(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); | 480 unsigned int vp8_variance_halfpixvar16x16_v_wmt(const unsigned char *src_ptr, in
t source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *ss
e); |
| 481 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_wmt | 481 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_wmt |
| 482 | 482 |
| 483 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv
12_buffer_config *dst_ybc); | |
| 484 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c | |
| 485 | |
| 486 void vp8_rtcd(void); | 483 void vp8_rtcd(void); |
| 487 | 484 |
| 488 #ifdef RTCD_C | 485 #ifdef RTCD_C |
| 489 #include "vpx_ports/x86.h" | 486 #include "vpx_ports/x86.h" |
| 490 static void setup_rtcd_internal(void) | 487 static void setup_rtcd_internal(void) |
| 491 { | 488 { |
| 492 int flags = x86_simd_caps(); | 489 int flags = x86_simd_caps(); |
| 493 | 490 |
| 494 (void)flags; | 491 (void)flags; |
| 495 | 492 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; | 558 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; |
| 562 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16
x8_ssse3; | 559 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16
x8_ssse3; |
| 563 } | 560 } |
| 564 #endif | 561 #endif |
| 565 | 562 |
| 566 #ifdef __cplusplus | 563 #ifdef __cplusplus |
| 567 } // extern "C" | 564 } // extern "C" |
| 568 #endif | 565 #endif |
| 569 | 566 |
| 570 #endif | 567 #endif |
| OLD | NEW |