Line | Count | Source |
1 | | // This file is generated. Do not edit. |
2 | | #ifndef VP9_RTCD_H_ |
3 | | #define VP9_RTCD_H_ |
4 | | |
5 | | #ifdef RTCD_C |
6 | | #define RTCD_EXTERN |
7 | | #else |
8 | | #define RTCD_EXTERN extern |
9 | | #endif |
10 | | |
11 | | /* |
12 | | * VP9 |
13 | | */ |
14 | | |
15 | | #include "vpx/vpx_integer.h" |
16 | | #include "vp9/common/vp9_common.h" |
17 | | #include "vp9/common/vp9_enums.h" |
18 | | #include "vp9/common/vp9_filter.h" |
19 | | |
20 | | struct macroblockd; |
21 | | |
22 | | /* Encoder forward decls */ |
23 | | struct macroblock; |
24 | | struct vp9_variance_vtable; |
25 | | struct search_site_config; |
26 | | struct mv; |
27 | | union int_mv; |
28 | | struct yv12_buffer_config; |
29 | | |
30 | | #ifdef __cplusplus |
31 | | extern "C" { |
32 | | #endif |
33 | | |
34 | | void vp9_highbd_iht16x16_256_add_c(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
35 | | void vp9_highbd_iht16x16_256_add_sse4_1(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
36 | | RTCD_EXTERN void (*vp9_highbd_iht16x16_256_add)(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
37 | | |
38 | | void vp9_highbd_iht4x4_16_add_c(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
39 | | void vp9_highbd_iht4x4_16_add_sse4_1(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
40 | | RTCD_EXTERN void (*vp9_highbd_iht4x4_16_add)(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
41 | | |
42 | | void vp9_highbd_iht8x8_64_add_c(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
43 | | void vp9_highbd_iht8x8_64_add_sse4_1(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
44 | | RTCD_EXTERN void (*vp9_highbd_iht8x8_64_add)(const tran_low_t *input, uint16_t *dest, int stride, int tx_type, int bd); |
45 | | |
46 | | void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
47 | | void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
48 | 58.3k | #define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2 |
49 | | |
50 | | void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
51 | | void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
52 | 203k | #define vp9_iht4x4_16_add vp9_iht4x4_16_add_sse2 |
53 | | |
54 | | void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
55 | | void vp9_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int stride, int tx_type); |
56 | 113k | #define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2 |
57 | | |
58 | | void vp9_rtcd(void); |
59 | | |
60 | | #ifdef RTCD_C |
61 | | #include "vpx_ports/x86.h" |
62 | | static void setup_rtcd_internal(void) |
63 | 1 | { |
64 | 1 | int flags = x86_simd_caps(); |
65 | | |
66 | 1 | (void)flags; |
67 | | |
68 | 1 | vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_c; |
69 | 1 | if (flags & HAS_SSE4_1) vp9_highbd_iht16x16_256_add = vp9_highbd_iht16x16_256_add_sse4_1; |
70 | 1 | vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_c; |
71 | 1 | if (flags & HAS_SSE4_1) vp9_highbd_iht4x4_16_add = vp9_highbd_iht4x4_16_add_sse4_1; |
72 | 1 | vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_c; |
73 | 1 | if (flags & HAS_SSE4_1) vp9_highbd_iht8x8_64_add = vp9_highbd_iht8x8_64_add_sse4_1; |
74 | 1 | } |
75 | | #endif |
76 | | |
77 | | #ifdef __cplusplus |
78 | | } // extern "C" |
79 | | #endif |
80 | | |
81 | | #endif |