Line | Count | Source (jump to first uncovered line) |
1 | | // This file is generated. Do not edit. |
2 | | #ifndef VP8_RTCD_H_ |
3 | | #define VP8_RTCD_H_ |
4 | | |
5 | | #ifdef RTCD_C |
6 | | #define RTCD_EXTERN |
7 | | #else |
8 | | #define RTCD_EXTERN extern |
9 | | #endif |
10 | | |
11 | | /* |
12 | | * VP8 |
13 | | */ |
14 | | |
15 | | struct blockd; |
16 | | struct macroblockd; |
17 | | struct loop_filter_info; |
18 | | |
19 | | /* Encoder forward decls */ |
20 | | struct block; |
21 | | struct macroblock; |
22 | | struct variance_vtable; |
23 | | union int_mv; |
24 | | struct yv12_buffer_config; |
25 | | |
26 | | #ifdef __cplusplus |
27 | | extern "C" { |
28 | | #endif |
29 | | |
30 | | void vp8_bilinear_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
31 | | void vp8_bilinear_predict16x16_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
32 | | void vp8_bilinear_predict16x16_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
33 | | RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
34 | | |
35 | | void vp8_bilinear_predict4x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
36 | | void vp8_bilinear_predict4x4_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
37 | 3.17k | #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_sse2 |
38 | | |
39 | | void vp8_bilinear_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
40 | | void vp8_bilinear_predict8x4_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
41 | 3.17k | #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_sse2 |
42 | | |
43 | | void vp8_bilinear_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
44 | | void vp8_bilinear_predict8x8_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
45 | | void vp8_bilinear_predict8x8_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
46 | | RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
47 | | |
48 | | void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride); |
49 | | #define vp8_blend_b vp8_blend_b_c |
50 | | |
51 | | void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride); |
52 | | #define vp8_blend_mb_inner vp8_blend_mb_inner_c |
53 | | |
54 | | void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride); |
55 | | #define vp8_blend_mb_outer vp8_blend_mb_outer_c |
56 | | |
57 | | void vp8_copy_mem16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride); |
58 | | void vp8_copy_mem16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride); |
59 | 2.30M | #define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2 |
60 | | |
61 | | void vp8_copy_mem8x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride); |
62 | | void vp8_copy_mem8x4_mmx(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride); |
63 | 1.06M | #define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx |
64 | | |
65 | | void vp8_copy_mem8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride); |
66 | | void vp8_copy_mem8x8_mmx(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride); |
67 | 5.33M | #define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx |
68 | | |
69 | | void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride); |
70 | | void vp8_dc_only_idct_add_mmx(short input_dc, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride); |
71 | 2.25G | #define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx |
72 | | |
73 | | void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *dest, int stride); |
74 | | void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *dest, int stride); |
75 | 2.62G | #define vp8_dequant_idct_add vp8_dequant_idct_add_mmx |
76 | | |
77 | | void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); |
78 | | void vp8_dequant_idct_add_uv_block_sse2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); |
79 | 818M | #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2 |
80 | | |
81 | | void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs); |
82 | | void vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs); |
83 | 52.2M | #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2 |
84 | | |
85 | | void vp8_dequantize_b_c(struct blockd*, short *DQC); |
86 | | void vp8_dequantize_b_mmx(struct blockd*, short *DQC); |
87 | 9.03M | #define vp8_dequantize_b vp8_dequantize_b_mmx |
88 | | |
89 | | void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); |
90 | | void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); |
91 | 0 | #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2 |
92 | | |
93 | | void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); |
94 | 0 | #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c |
95 | | |
96 | | void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); |
97 | | void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); |
98 | 0 | #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2 |
99 | | |
100 | | void vp8_loop_filter_bh_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
101 | | void vp8_loop_filter_bh_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
102 | 224M | #define vp8_loop_filter_bh vp8_loop_filter_bh_sse2 |
103 | | |
104 | | void vp8_loop_filter_bv_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
105 | | void vp8_loop_filter_bv_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
106 | 224M | #define vp8_loop_filter_bv vp8_loop_filter_bv_sse2 |
107 | | |
108 | | void vp8_loop_filter_mbh_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
109 | | void vp8_loop_filter_mbh_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
110 | 227M | #define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2 |
111 | | |
112 | | void vp8_loop_filter_mbv_c(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
113 | | void vp8_loop_filter_mbv_sse2(unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr, int y_stride, int uv_stride, struct loop_filter_info *lfi); |
114 | 227M | #define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2 |
115 | | |
116 | | void vp8_loop_filter_bhs_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
117 | | void vp8_loop_filter_bhs_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
118 | 171M | #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2 |
119 | | |
120 | | void vp8_loop_filter_bvs_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
121 | | void vp8_loop_filter_bvs_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
122 | 171M | #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2 |
123 | | |
124 | | void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
125 | | void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
126 | 171M | #define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2 |
127 | | |
128 | | void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
129 | | void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char *y_ptr, int y_stride, const unsigned char *blimit); |
130 | 170M | #define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2 |
131 | | |
132 | | void vp8_short_idct4x4llm_c(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride); |
133 | | void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred_ptr, int pred_stride, unsigned char *dst_ptr, int dst_stride); |
134 | | #define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx |
135 | | |
136 | | void vp8_short_inv_walsh4x4_c(short *input, short *mb_dqcoeff); |
137 | | void vp8_short_inv_walsh4x4_sse2(short *input, short *mb_dqcoeff); |
138 | 9.03M | #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2 |
139 | | |
140 | | void vp8_short_inv_walsh4x4_1_c(short *input, short *mb_dqcoeff); |
141 | 42.9M | #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c |
142 | | |
143 | | void vp8_sixtap_predict16x16_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
144 | | void vp8_sixtap_predict16x16_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
145 | | void vp8_sixtap_predict16x16_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
146 | | RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
147 | | |
148 | | void vp8_sixtap_predict4x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
149 | | void vp8_sixtap_predict4x4_mmx(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
150 | | void vp8_sixtap_predict4x4_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
151 | | RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
152 | | |
153 | | void vp8_sixtap_predict8x4_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
154 | | void vp8_sixtap_predict8x4_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
155 | | void vp8_sixtap_predict8x4_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
156 | | RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
157 | | |
158 | | void vp8_sixtap_predict8x8_c(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
159 | | void vp8_sixtap_predict8x8_sse2(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
160 | | void vp8_sixtap_predict8x8_ssse3(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
161 | | RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src_ptr, int src_pixels_per_line, int xoffset, int yoffset, unsigned char *dst_ptr, int dst_pitch); |
162 | | |
163 | | void vp8_rtcd(void); |
164 | | |
165 | | #ifdef RTCD_C |
166 | | #include "vpx_ports/x86.h" |
167 | | static void setup_rtcd_internal(void) |
168 | 1 | { |
169 | 1 | int flags = x86_simd_caps(); |
170 | | |
171 | 1 | (void)flags; |
172 | | |
173 | 1 | vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2; |
174 | 1 | if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3; |
175 | 1 | vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2; |
176 | 1 | if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3; |
177 | 1 | vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2; |
178 | 1 | if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3; |
179 | 1 | vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx; |
180 | 1 | if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3; |
181 | 1 | vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2; |
182 | 1 | if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3; |
183 | 1 | vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2; |
184 | 1 | if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3; |
185 | 1 | } |
186 | | #endif |
187 | | |
188 | | #ifdef __cplusplus |
189 | | } // extern "C" |
190 | | #endif |
191 | | |
192 | | #endif |