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 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1438 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride)
; | 1438 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride)
; |
1439 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int stri
de); | 1439 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int stri
de); |
1440 RTCD_EXTERN void (*vpx_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int stride); | 1440 RTCD_EXTERN void (*vpx_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int stride); |
1441 | 1441 |
1442 void vpx_idct16x16_38_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1442 void vpx_idct16x16_38_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1443 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int stri
de); | 1443 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int stri
de); |
1444 RTCD_EXTERN void (*vpx_idct16x16_38_add)(const tran_low_t *input, uint8_t *dest,
int stride); | 1444 RTCD_EXTERN void (*vpx_idct16x16_38_add)(const tran_low_t *input, uint8_t *dest,
int stride); |
1445 | 1445 |
1446 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int stride
); | 1446 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int stride
); |
1447 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int str
ide); | 1447 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int str
ide); |
| 1448 void vpx_idct32x32_1024_add_ssse3(const tran_low_t *input, uint8_t *dest, int st
ride); |
1448 RTCD_EXTERN void (*vpx_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int stride); | 1449 RTCD_EXTERN void (*vpx_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int stride); |
1449 | 1450 |
1450 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int stride)
; | 1451 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int stride)
; |
1451 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int str
ide); | 1452 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int str
ide); |
| 1453 void vpx_idct32x32_135_add_ssse3(const tran_low_t *input, uint8_t *dest, int str
ide); |
1452 RTCD_EXTERN void (*vpx_idct32x32_135_add)(const tran_low_t *input, uint8_t *dest
, int stride); | 1454 RTCD_EXTERN void (*vpx_idct32x32_135_add)(const tran_low_t *input, uint8_t *dest
, int stride); |
1453 | 1455 |
1454 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1456 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1455 void vpx_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int stride
); | 1457 void vpx_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int stride
); |
1456 RTCD_EXTERN void (*vpx_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int stride); | 1458 RTCD_EXTERN void (*vpx_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int stride); |
1457 | 1459 |
1458 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1460 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1459 void vpx_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int strid
e); | 1461 void vpx_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int strid
e); |
| 1462 void vpx_idct32x32_34_add_ssse3(const tran_low_t *input, uint8_t *dest, int stri
de); |
1460 RTCD_EXTERN void (*vpx_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int stride); | 1463 RTCD_EXTERN void (*vpx_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int stride); |
1461 | 1464 |
1462 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1465 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1463 void vpx_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int stride)
; | 1466 void vpx_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int stride)
; |
1464 RTCD_EXTERN void (*vpx_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt stride); | 1467 RTCD_EXTERN void (*vpx_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt stride); |
1465 | 1468 |
1466 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1469 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1467 void vpx_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int stride); | 1470 void vpx_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int stride); |
1468 RTCD_EXTERN void (*vpx_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t stride); | 1471 RTCD_EXTERN void (*vpx_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t stride); |
1469 | 1472 |
1470 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1473 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1471 void vpx_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int stride)
; | 1474 void vpx_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int stride)
; |
| 1475 void vpx_idct8x8_12_add_ssse3(const tran_low_t *input, uint8_t *dest, int stride
); |
1472 RTCD_EXTERN void (*vpx_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt stride); | 1476 RTCD_EXTERN void (*vpx_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt stride); |
1473 | 1477 |
1474 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1478 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1475 void vpx_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int stride); | 1479 void vpx_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int stride); |
1476 RTCD_EXTERN void (*vpx_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t stride); | 1480 RTCD_EXTERN void (*vpx_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t stride); |
1477 | 1481 |
1478 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride); | 1482 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride); |
1479 void vpx_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int stride)
; | 1483 void vpx_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int stride)
; |
| 1484 void vpx_idct8x8_64_add_ssse3(const tran_low_t *input, uint8_t *dest, int stride
); |
1480 RTCD_EXTERN void (*vpx_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt stride); | 1485 RTCD_EXTERN void (*vpx_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt stride); |
1481 | 1486 |
1482 int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width); | 1487 int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width); |
1483 int16_t vpx_int_pro_col_sse2(const uint8_t *ref, const int width); | 1488 int16_t vpx_int_pro_col_sse2(const uint8_t *ref, const int width); |
1484 RTCD_EXTERN int16_t (*vpx_int_pro_col)(const uint8_t *ref, const int width); | 1489 RTCD_EXTERN int16_t (*vpx_int_pro_col)(const uint8_t *ref, const int width); |
1485 | 1490 |
1486 void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride,
const int height); | 1491 void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride,
const int height); |
1487 void vpx_int_pro_row_sse2(int16_t *hbuf, const uint8_t *ref, const int ref_strid
e, const int height); | 1492 void vpx_int_pro_row_sse2(int16_t *hbuf, const uint8_t *ref, const int ref_strid
e, const int height); |
1488 RTCD_EXTERN void (*vpx_int_pro_row)(int16_t *hbuf, const uint8_t *ref, const int
ref_stride, const int height); | 1493 RTCD_EXTERN void (*vpx_int_pro_row)(int16_t *hbuf, const uint8_t *ref, const int
ref_stride, const int height); |
1489 | 1494 |
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2574 vpx_idct16x16_10_add = vpx_idct16x16_10_add_c; | 2579 vpx_idct16x16_10_add = vpx_idct16x16_10_add_c; |
2575 if (flags & HAS_SSE2) vpx_idct16x16_10_add = vpx_idct16x16_10_add_sse2; | 2580 if (flags & HAS_SSE2) vpx_idct16x16_10_add = vpx_idct16x16_10_add_sse2; |
2576 vpx_idct16x16_1_add = vpx_idct16x16_1_add_c; | 2581 vpx_idct16x16_1_add = vpx_idct16x16_1_add_c; |
2577 if (flags & HAS_SSE2) vpx_idct16x16_1_add = vpx_idct16x16_1_add_sse2; | 2582 if (flags & HAS_SSE2) vpx_idct16x16_1_add = vpx_idct16x16_1_add_sse2; |
2578 vpx_idct16x16_256_add = vpx_idct16x16_256_add_c; | 2583 vpx_idct16x16_256_add = vpx_idct16x16_256_add_c; |
2579 if (flags & HAS_SSE2) vpx_idct16x16_256_add = vpx_idct16x16_256_add_sse2; | 2584 if (flags & HAS_SSE2) vpx_idct16x16_256_add = vpx_idct16x16_256_add_sse2; |
2580 vpx_idct16x16_38_add = vpx_idct16x16_38_add_c; | 2585 vpx_idct16x16_38_add = vpx_idct16x16_38_add_c; |
2581 if (flags & HAS_SSE2) vpx_idct16x16_38_add = vpx_idct16x16_256_add_sse2; | 2586 if (flags & HAS_SSE2) vpx_idct16x16_38_add = vpx_idct16x16_256_add_sse2; |
2582 vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_c; | 2587 vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_c; |
2583 if (flags & HAS_SSE2) vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_sse2; | 2588 if (flags & HAS_SSE2) vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_sse2; |
| 2589 if (flags & HAS_SSSE3) vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_ssse3
; |
2584 vpx_idct32x32_135_add = vpx_idct32x32_135_add_c; | 2590 vpx_idct32x32_135_add = vpx_idct32x32_135_add_c; |
2585 if (flags & HAS_SSE2) vpx_idct32x32_135_add = vpx_idct32x32_1024_add_sse2; | 2591 if (flags & HAS_SSE2) vpx_idct32x32_135_add = vpx_idct32x32_1024_add_sse2; |
| 2592 if (flags & HAS_SSSE3) vpx_idct32x32_135_add = vpx_idct32x32_135_add_ssse3; |
2586 vpx_idct32x32_1_add = vpx_idct32x32_1_add_c; | 2593 vpx_idct32x32_1_add = vpx_idct32x32_1_add_c; |
2587 if (flags & HAS_SSE2) vpx_idct32x32_1_add = vpx_idct32x32_1_add_sse2; | 2594 if (flags & HAS_SSE2) vpx_idct32x32_1_add = vpx_idct32x32_1_add_sse2; |
2588 vpx_idct32x32_34_add = vpx_idct32x32_34_add_c; | 2595 vpx_idct32x32_34_add = vpx_idct32x32_34_add_c; |
2589 if (flags & HAS_SSE2) vpx_idct32x32_34_add = vpx_idct32x32_34_add_sse2; | 2596 if (flags & HAS_SSE2) vpx_idct32x32_34_add = vpx_idct32x32_34_add_sse2; |
| 2597 if (flags & HAS_SSSE3) vpx_idct32x32_34_add = vpx_idct32x32_34_add_ssse3; |
2590 vpx_idct4x4_16_add = vpx_idct4x4_16_add_c; | 2598 vpx_idct4x4_16_add = vpx_idct4x4_16_add_c; |
2591 if (flags & HAS_SSE2) vpx_idct4x4_16_add = vpx_idct4x4_16_add_sse2; | 2599 if (flags & HAS_SSE2) vpx_idct4x4_16_add = vpx_idct4x4_16_add_sse2; |
2592 vpx_idct4x4_1_add = vpx_idct4x4_1_add_c; | 2600 vpx_idct4x4_1_add = vpx_idct4x4_1_add_c; |
2593 if (flags & HAS_SSE2) vpx_idct4x4_1_add = vpx_idct4x4_1_add_sse2; | 2601 if (flags & HAS_SSE2) vpx_idct4x4_1_add = vpx_idct4x4_1_add_sse2; |
2594 vpx_idct8x8_12_add = vpx_idct8x8_12_add_c; | 2602 vpx_idct8x8_12_add = vpx_idct8x8_12_add_c; |
2595 if (flags & HAS_SSE2) vpx_idct8x8_12_add = vpx_idct8x8_12_add_sse2; | 2603 if (flags & HAS_SSE2) vpx_idct8x8_12_add = vpx_idct8x8_12_add_sse2; |
| 2604 if (flags & HAS_SSSE3) vpx_idct8x8_12_add = vpx_idct8x8_12_add_ssse3; |
2596 vpx_idct8x8_1_add = vpx_idct8x8_1_add_c; | 2605 vpx_idct8x8_1_add = vpx_idct8x8_1_add_c; |
2597 if (flags & HAS_SSE2) vpx_idct8x8_1_add = vpx_idct8x8_1_add_sse2; | 2606 if (flags & HAS_SSE2) vpx_idct8x8_1_add = vpx_idct8x8_1_add_sse2; |
2598 vpx_idct8x8_64_add = vpx_idct8x8_64_add_c; | 2607 vpx_idct8x8_64_add = vpx_idct8x8_64_add_c; |
2599 if (flags & HAS_SSE2) vpx_idct8x8_64_add = vpx_idct8x8_64_add_sse2; | 2608 if (flags & HAS_SSE2) vpx_idct8x8_64_add = vpx_idct8x8_64_add_sse2; |
| 2609 if (flags & HAS_SSSE3) vpx_idct8x8_64_add = vpx_idct8x8_64_add_ssse3; |
2600 vpx_int_pro_col = vpx_int_pro_col_c; | 2610 vpx_int_pro_col = vpx_int_pro_col_c; |
2601 if (flags & HAS_SSE2) vpx_int_pro_col = vpx_int_pro_col_sse2; | 2611 if (flags & HAS_SSE2) vpx_int_pro_col = vpx_int_pro_col_sse2; |
2602 vpx_int_pro_row = vpx_int_pro_row_c; | 2612 vpx_int_pro_row = vpx_int_pro_row_c; |
2603 if (flags & HAS_SSE2) vpx_int_pro_row = vpx_int_pro_row_sse2; | 2613 if (flags & HAS_SSE2) vpx_int_pro_row = vpx_int_pro_row_sse2; |
2604 vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_c; | 2614 vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_c; |
2605 if (flags & HAS_SSE2) vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_sse2; | 2615 if (flags & HAS_SSE2) vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_sse2; |
2606 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_c; | 2616 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_c; |
2607 if (flags & HAS_SSE2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2; | 2617 if (flags & HAS_SSE2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2; |
2608 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2; | 2618 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2; |
2609 vpx_lpf_horizontal_16_dual = vpx_lpf_horizontal_16_dual_c; | 2619 vpx_lpf_horizontal_16_dual = vpx_lpf_horizontal_16_dual_c; |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2902 vpx_vector_var = vpx_vector_var_c; | 2912 vpx_vector_var = vpx_vector_var_c; |
2903 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2; | 2913 if (flags & HAS_SSE2) vpx_vector_var = vpx_vector_var_sse2; |
2904 } | 2914 } |
2905 #endif | 2915 #endif |
2906 | 2916 |
2907 #ifdef __cplusplus | 2917 #ifdef __cplusplus |
2908 } // extern "C" | 2918 } // extern "C" |
2909 #endif | 2919 #endif |
2910 | 2920 |
2911 #endif | 2921 #endif |
OLD | NEW |