| 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 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_hv)(const unsigned char
*src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsi
gned int *sse); | 476 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_hv)(const unsigned char
*src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsi
gned int *sse); |
| 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 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_v)(const unsigned char *
src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsig
ned int *sse); | 481 RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_v)(const unsigned char *
src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsig
ned int *sse); |
| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva
r16x16_v_mmx; | 734 if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixva
r16x16_v_mmx; |
| 738 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_wmt; | 735 if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixv
ar16x16_v_wmt; |
| 739 } | 736 } |
| 740 #endif | 737 #endif |
| 741 | 738 |
| 742 #ifdef __cplusplus | 739 #ifdef __cplusplus |
| 743 } // extern "C" | 740 } // extern "C" |
| 744 #endif | 741 #endif |
| 745 | 742 |
| 746 #endif | 743 #endif |
| OLD | NEW |