OLD | NEW |
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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 RTCD_EXTERN unsigned int (*vpx_variance8x16)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 975 RTCD_EXTERN unsigned int (*vpx_variance8x16)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
976 | 976 |
977 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 977 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
978 unsigned int vpx_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 978 unsigned int vpx_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
979 RTCD_EXTERN unsigned int (*vpx_variance8x4)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 979 RTCD_EXTERN unsigned int (*vpx_variance8x4)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
980 | 980 |
981 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 981 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
982 unsigned int vpx_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 982 unsigned int vpx_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
983 RTCD_EXTERN unsigned int (*vpx_variance8x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 983 RTCD_EXTERN unsigned int (*vpx_variance8x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
984 | 984 |
985 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
986 uint32_t vpx_variance_halfpixvar16x16_h_sse2(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
987 RTCD_EXTERN uint32_t (*vpx_variance_halfpixvar16x16_h)(const unsigned char *src_
ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t
*sse); | |
988 | |
989 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
990 uint32_t vpx_variance_halfpixvar16x16_hv_sse2(const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
991 RTCD_EXTERN uint32_t (*vpx_variance_halfpixvar16x16_hv)(const unsigned char *src
_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t
*sse); | |
992 | |
993 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
994 uint32_t vpx_variance_halfpixvar16x16_v_sse2(const unsigned char *src_ptr, int s
ource_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
995 RTCD_EXTERN uint32_t (*vpx_variance_halfpixvar16x16_v)(const unsigned char *src_
ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t
*sse); | |
996 | |
997 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | 985 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
998 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c | 986 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c |
999 | 987 |
1000 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl); | 988 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl); |
1001 int vpx_vector_var_sse2(const int16_t *ref, const int16_t *src, const int bwl); | 989 int vpx_vector_var_sse2(const int16_t *ref, const int16_t *src, const int bwl); |
1002 RTCD_EXTERN int (*vpx_vector_var)(const int16_t *ref, const int16_t *src, const
int bwl); | 990 RTCD_EXTERN int (*vpx_vector_var)(const int16_t *ref, const int16_t *src, const
int bwl); |
1003 | 991 |
1004 void vpx_dsp_rtcd(void); | 992 void vpx_dsp_rtcd(void); |
1005 | 993 |
1006 #ifdef RTCD_C | 994 #ifdef RTCD_C |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1462 if (flags & HAS_AVX2) vpx_variance64x32 = vpx_variance64x32_avx2; | 1450 if (flags & HAS_AVX2) vpx_variance64x32 = vpx_variance64x32_avx2; |
1463 vpx_variance64x64 = vpx_variance64x64_c; | 1451 vpx_variance64x64 = vpx_variance64x64_c; |
1464 if (flags & HAS_SSE2) vpx_variance64x64 = vpx_variance64x64_sse2; | 1452 if (flags & HAS_SSE2) vpx_variance64x64 = vpx_variance64x64_sse2; |
1465 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; | 1453 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; |
1466 vpx_variance8x16 = vpx_variance8x16_c; | 1454 vpx_variance8x16 = vpx_variance8x16_c; |
1467 if (flags & HAS_SSE2) vpx_variance8x16 = vpx_variance8x16_sse2; | 1455 if (flags & HAS_SSE2) vpx_variance8x16 = vpx_variance8x16_sse2; |
1468 vpx_variance8x4 = vpx_variance8x4_c; | 1456 vpx_variance8x4 = vpx_variance8x4_c; |
1469 if (flags & HAS_SSE2) vpx_variance8x4 = vpx_variance8x4_sse2; | 1457 if (flags & HAS_SSE2) vpx_variance8x4 = vpx_variance8x4_sse2; |
1470 vpx_variance8x8 = vpx_variance8x8_c; | 1458 vpx_variance8x8 = vpx_variance8x8_c; |
1471 if (flags & HAS_SSE2) vpx_variance8x8 = vpx_variance8x8_sse2; | 1459 if (flags & HAS_SSE2) vpx_variance8x8 = vpx_variance8x8_sse2; |
1472 vpx_variance_halfpixvar16x16_h = vpx_variance_halfpixvar16x16_h_c; | |
1473 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_h = vpx_variance_halfpixv
ar16x16_h_sse2; | |
1474 vpx_variance_halfpixvar16x16_hv = vpx_variance_halfpixvar16x16_hv_c; | |
1475 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_hv = vpx_variance_halfpix
var16x16_hv_sse2; | |
1476 vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixvar16x16_v_c; | |
1477 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixv
ar16x16_v_sse2; | |
1478 vpx_vector_var = vpx_vector_var_c; | 1460 vpx_vector_var = vpx_vector_var_c; |
1479 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2; | 1461 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2; |
1480 } | 1462 } |
1481 #endif | 1463 #endif |
1482 | 1464 |
1483 #ifdef __cplusplus | 1465 #ifdef __cplusplus |
1484 } // extern "C" | 1466 } // extern "C" |
1485 #endif | 1467 #endif |
1486 | 1468 |
1487 #endif | 1469 #endif |
OLD | NEW |