OLD | NEW |
| (Empty) |
1 #ifndef VPX_DSP_RTCD_H_ | |
2 #define VPX_DSP_RTCD_H_ | |
3 | |
4 #ifdef RTCD_C | |
5 #define RTCD_EXTERN | |
6 #else | |
7 #define RTCD_EXTERN extern | |
8 #endif | |
9 | |
10 /* | |
11 * DSP | |
12 */ | |
13 | |
14 #include "vpx/vpx_integer.h" | |
15 #include "vpx_dsp/vpx_dsp_common.h" | |
16 | |
17 | |
18 #ifdef __cplusplus | |
19 extern "C" { | |
20 #endif | |
21 | |
22 unsigned int vpx_avg_4x4_c(const uint8_t *, int p); | |
23 unsigned int vpx_avg_4x4_neon(const uint8_t *, int p); | |
24 #define vpx_avg_4x4 vpx_avg_4x4_neon | |
25 | |
26 unsigned int vpx_avg_8x8_c(const uint8_t *, int p); | |
27 unsigned int vpx_avg_8x8_neon(const uint8_t *, int p); | |
28 #define vpx_avg_8x8 vpx_avg_8x8_neon | |
29 | |
30 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int
height, const uint8_t *ref, int ref_stride); | |
31 #define vpx_comp_avg_pred vpx_comp_avg_pred_c | |
32 | |
33 void vpx_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | |
34 void vpx_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | |
35 #define vpx_convolve8 vpx_convolve8_neon | |
36 | |
37 void vpx_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | |
38 void vpx_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
39 #define vpx_convolve8_avg vpx_convolve8_avg_neon | |
40 | |
41 void vpx_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16
_t *filter_y, int y_step_q4, int w, int h); | |
42 void vpx_convolve8_avg_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | |
43 #define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_neon | |
44 | |
45 void vpx_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_
t *filter_y, int y_step_q4, int w, int h); | |
46 void vpx_convolve8_avg_vert_neon(const uint8_t *src, ptrdiff_t src_stride, uint8
_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int
16_t *filter_y, int y_step_q4, int w, int h); | |
47 #define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_neon | |
48 | |
49 void vpx_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | |
50 void vpx_convolve8_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t
*dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_
t *filter_y, int y_step_q4, int w, int h); | |
51 #define vpx_convolve8_horiz vpx_convolve8_horiz_neon | |
52 | |
53 void vpx_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst
, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f
ilter_y, int y_step_q4, int w, int h); | |
54 void vpx_convolve8_vert_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *
dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
55 #define vpx_convolve8_vert vpx_convolve8_vert_neon | |
56 | |
57 void vpx_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | |
58 void vpx_convolve_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | |
59 #define vpx_convolve_avg vpx_convolve_avg_neon | |
60 | |
61 void vpx_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | |
62 void vpx_convolve_copy_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
63 #define vpx_convolve_copy vpx_convolve_copy_neon | |
64 | |
65 void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
66 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c | |
67 | |
68 void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
69 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c | |
70 | |
71 void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
72 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c | |
73 | |
74 void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
75 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c | |
76 | |
77 void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
78 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c | |
79 | |
80 void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
81 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c | |
82 | |
83 void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
84 void vpx_d135_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
85 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_neon | |
86 | |
87 void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
88 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c | |
89 | |
90 void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
91 #define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c | |
92 | |
93 void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
94 #define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c | |
95 | |
96 void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
97 #define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c | |
98 | |
99 void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
100 #define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c | |
101 | |
102 void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
103 #define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c | |
104 | |
105 void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
106 #define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c | |
107 | |
108 void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
109 #define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c | |
110 | |
111 void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
112 #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c | |
113 | |
114 void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
115 #define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c | |
116 | |
117 void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
118 #define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c | |
119 | |
120 void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
121 #define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c | |
122 | |
123 void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
124 #define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c | |
125 | |
126 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
127 void vpx_d45_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
128 #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_neon | |
129 | |
130 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
131 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c | |
132 | |
133 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
134 void vpx_d45_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
135 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_neon | |
136 | |
137 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
138 void vpx_d45_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
139 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_neon | |
140 | |
141 void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
142 #define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c | |
143 | |
144 void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
145 #define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c | |
146 | |
147 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
148 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c | |
149 | |
150 void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
151 #define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c | |
152 | |
153 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
154 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c | |
155 | |
156 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
157 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c | |
158 | |
159 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
160 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c | |
161 | |
162 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
163 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c | |
164 | |
165 void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
166 #define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c | |
167 | |
168 void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
169 #define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c | |
170 | |
171 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
172 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c | |
173 | |
174 void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
175 #define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c | |
176 | |
177 void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
178 #define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c | |
179 | |
180 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
181 void vpx_dc_128_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
182 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_neon | |
183 | |
184 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
185 void vpx_dc_128_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
186 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_neon | |
187 | |
188 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
189 void vpx_dc_128_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
190 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_neon | |
191 | |
192 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
193 void vpx_dc_128_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
194 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_neon | |
195 | |
196 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
197 void vpx_dc_left_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const ui
nt8_t *above, const uint8_t *left); | |
198 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_neon | |
199 | |
200 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
201 void vpx_dc_left_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const ui
nt8_t *above, const uint8_t *left); | |
202 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_neon | |
203 | |
204 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
205 void vpx_dc_left_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint
8_t *above, const uint8_t *left); | |
206 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_neon | |
207 | |
208 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
209 void vpx_dc_left_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint
8_t *above, const uint8_t *left); | |
210 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_neon | |
211 | |
212 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
213 void vpx_dc_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
214 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_neon | |
215 | |
216 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
217 void vpx_dc_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
218 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_neon | |
219 | |
220 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
221 void vpx_dc_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
222 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_neon | |
223 | |
224 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
225 void vpx_dc_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
226 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_neon | |
227 | |
228 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
229 void vpx_dc_top_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
230 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_neon | |
231 | |
232 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
233 void vpx_dc_top_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uin
t8_t *above, const uint8_t *left); | |
234 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_neon | |
235 | |
236 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
237 void vpx_dc_top_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
238 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_neon | |
239 | |
240 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
241 void vpx_dc_top_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
242 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_neon | |
243 | |
244 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); | |
245 #define vpx_fdct16x16 vpx_fdct16x16_c | |
246 | |
247 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); | |
248 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c | |
249 | |
250 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); | |
251 #define vpx_fdct32x32 vpx_fdct32x32_c | |
252 | |
253 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); | |
254 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c | |
255 | |
256 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); | |
257 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c | |
258 | |
259 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); | |
260 #define vpx_fdct4x4 vpx_fdct4x4_c | |
261 | |
262 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); | |
263 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c | |
264 | |
265 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | |
266 void vpx_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | |
267 #define vpx_fdct8x8 vpx_fdct8x8_neon | |
268 | |
269 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | |
270 void vpx_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | |
271 #define vpx_fdct8x8_1 vpx_fdct8x8_1_neon | |
272 | |
273 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
274 void vpx_get16x16var_neon(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
275 #define vpx_get16x16var vpx_get16x16var_neon | |
276 | |
277 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | |
278 unsigned int vpx_get4x4sse_cs_neon(const unsigned char *src_ptr, int source_stri
de, const unsigned char *ref_ptr, int ref_stride); | |
279 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_neon | |
280 | |
281 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | |
282 void vpx_get8x8var_neon(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
283 #define vpx_get8x8var vpx_get8x8var_neon | |
284 | |
285 unsigned int vpx_get_mb_ss_c(const int16_t *); | |
286 #define vpx_get_mb_ss vpx_get_mb_ss_c | |
287 | |
288 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
289 void vpx_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
290 #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_neon | |
291 | |
292 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
293 void vpx_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
294 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_neon | |
295 | |
296 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
297 void vpx_h_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
298 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_neon | |
299 | |
300 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
301 void vpx_h_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
302 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_neon | |
303 | |
304 void vpx_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coef
f); | |
305 #define vpx_hadamard_16x16 vpx_hadamard_16x16_c | |
306 | |
307 void vpx_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff)
; | |
308 #define vpx_hadamard_8x8 vpx_hadamard_8x8_c | |
309 | |
310 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
311 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c | |
312 | |
313 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
314 void vpx_idct16x16_10_add_neon(const tran_low_t *input, uint8_t *dest, int dest_
stride); | |
315 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_neon | |
316 | |
317 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
318 void vpx_idct16x16_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
319 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_neon | |
320 | |
321 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
322 void vpx_idct16x16_256_add_neon(const tran_low_t *input, uint8_t *dest, int dest
_stride); | |
323 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_neon | |
324 | |
325 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
326 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
327 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_neon | |
328 | |
329 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
330 void vpx_idct32x32_1024_add_neon(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
331 #define vpx_idct32x32_135_add vpx_idct32x32_1024_add_neon | |
332 | |
333 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
334 void vpx_idct32x32_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
335 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_neon | |
336 | |
337 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
338 #define vpx_idct32x32_34_add vpx_idct32x32_34_add_c | |
339 | |
340 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
341 void vpx_idct4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
342 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_neon | |
343 | |
344 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
345 void vpx_idct4x4_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
346 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_neon | |
347 | |
348 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
349 void vpx_idct8x8_12_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
350 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_neon | |
351 | |
352 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
353 void vpx_idct8x8_1_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
354 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_neon | |
355 | |
356 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
357 void vpx_idct8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
358 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_neon | |
359 | |
360 int16_t vpx_int_pro_col_c(uint8_t const *ref, const int width); | |
361 int16_t vpx_int_pro_col_neon(uint8_t const *ref, const int width); | |
362 #define vpx_int_pro_col vpx_int_pro_col_neon | |
363 | |
364 void vpx_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride,
const int height); | |
365 void vpx_int_pro_row_neon(int16_t *hbuf, uint8_t const *ref, const int ref_strid
e, const int height); | |
366 #define vpx_int_pro_row vpx_int_pro_row_neon | |
367 | |
368 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
369 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c | |
370 | |
371 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
372 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c | |
373 | |
374 void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
375 #define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_c | |
376 | |
377 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
378 void vpx_lpf_horizontal_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh, int count); | |
379 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_neon | |
380 | |
381 void vpx_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | |
382 void vpx_lpf_horizontal_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit
0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const
uint8_t *limit1, const uint8_t *thresh1); | |
383 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_neon | |
384 | |
385 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
386 void vpx_lpf_horizontal_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, con
st uint8_t *limit, const uint8_t *thresh, int count); | |
387 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_neon | |
388 | |
389 void vpx_lpf_horizontal_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uin
t8_t *limit1, const uint8_t *thresh1); | |
390 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c | |
391 | |
392 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u
int8_t *limit, const uint8_t *thresh); | |
393 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c | |
394 | |
395 void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh); | |
396 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c | |
397 | |
398 void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | |
399 void vpx_lpf_vertical_4_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
400 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_neon | |
401 | |
402 void vpx_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | |
403 void vpx_lpf_vertical_4_dual_neon(uint8_t *s, int pitch, const uint8_t *blimit0,
const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const ui
nt8_t *limit1, const uint8_t *thresh1); | |
404 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_neon | |
405 | |
406 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | |
407 void vpx_lpf_vertical_8_neon(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
408 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_neon | |
409 | |
410 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | |
411 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c | |
412 | |
413 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); | |
414 #define vpx_minmax_8x8 vpx_minmax_8x8_c | |
415 | |
416 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
417 unsigned int vpx_mse16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
418 #define vpx_mse16x16 vpx_mse16x16_neon | |
419 | |
420 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
421 #define vpx_mse16x8 vpx_mse16x8_c | |
422 | |
423 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
424 #define vpx_mse8x16 vpx_mse8x16_c | |
425 | |
426 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
427 #define vpx_mse8x8 vpx_mse8x8_c | |
428 | |
429 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); | |
430 #define vpx_quantize_b vpx_quantize_b_c | |
431 | |
432 void vpx_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); | |
433 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c | |
434 | |
435 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
436 unsigned int vpx_sad16x16_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
437 #define vpx_sad16x16 vpx_sad16x16_neon | |
438 | |
439 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
440 #define vpx_sad16x16_avg vpx_sad16x16_avg_c | |
441 | |
442 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
443 #define vpx_sad16x16x3 vpx_sad16x16x3_c | |
444 | |
445 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
446 void vpx_sad16x16x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, uint32_t *sad_array); | |
447 #define vpx_sad16x16x4d vpx_sad16x16x4d_neon | |
448 | |
449 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
450 #define vpx_sad16x16x8 vpx_sad16x16x8_c | |
451 | |
452 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
453 #define vpx_sad16x32 vpx_sad16x32_c | |
454 | |
455 unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
456 #define vpx_sad16x32_avg vpx_sad16x32_avg_c | |
457 | |
458 void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
459 #define vpx_sad16x32x4d vpx_sad16x32x4d_c | |
460 | |
461 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
462 unsigned int vpx_sad16x8_neon(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); | |
463 #define vpx_sad16x8 vpx_sad16x8_neon | |
464 | |
465 unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
466 #define vpx_sad16x8_avg vpx_sad16x8_avg_c | |
467 | |
468 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
469 #define vpx_sad16x8x3 vpx_sad16x8x3_c | |
470 | |
471 void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co
nst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
472 #define vpx_sad16x8x4d vpx_sad16x8x4d_c | |
473 | |
474 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
475 #define vpx_sad16x8x8 vpx_sad16x8x8_c | |
476 | |
477 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
478 #define vpx_sad32x16 vpx_sad32x16_c | |
479 | |
480 unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
481 #define vpx_sad32x16_avg vpx_sad32x16_avg_c | |
482 | |
483 void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
484 #define vpx_sad32x16x4d vpx_sad32x16x4d_c | |
485 | |
486 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
487 unsigned int vpx_sad32x32_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
488 #define vpx_sad32x32 vpx_sad32x32_neon | |
489 | |
490 unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
491 #define vpx_sad32x32_avg vpx_sad32x32_avg_c | |
492 | |
493 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
494 #define vpx_sad32x32x3 vpx_sad32x32x3_c | |
495 | |
496 void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
497 void vpx_sad32x32x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, uint32_t *sad_array); | |
498 #define vpx_sad32x32x4d vpx_sad32x32x4d_neon | |
499 | |
500 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
501 #define vpx_sad32x32x8 vpx_sad32x32x8_c | |
502 | |
503 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
504 #define vpx_sad32x64 vpx_sad32x64_c | |
505 | |
506 unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
507 #define vpx_sad32x64_avg vpx_sad32x64_avg_c | |
508 | |
509 void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
510 #define vpx_sad32x64x4d vpx_sad32x64x4d_c | |
511 | |
512 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
513 unsigned int vpx_sad4x4_neon(const uint8_t *src_ptr, int src_stride, const uint8
_t *ref_ptr, int ref_stride); | |
514 #define vpx_sad4x4 vpx_sad4x4_neon | |
515 | |
516 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
517 #define vpx_sad4x4_avg vpx_sad4x4_avg_c | |
518 | |
519 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
520 #define vpx_sad4x4x3 vpx_sad4x4x3_c | |
521 | |
522 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
523 #define vpx_sad4x4x4d vpx_sad4x4x4d_c | |
524 | |
525 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
526 #define vpx_sad4x4x8 vpx_sad4x4x8_c | |
527 | |
528 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
529 #define vpx_sad4x8 vpx_sad4x8_c | |
530 | |
531 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
532 #define vpx_sad4x8_avg vpx_sad4x8_avg_c | |
533 | |
534 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
535 #define vpx_sad4x8x4d vpx_sad4x8x4d_c | |
536 | |
537 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
538 #define vpx_sad4x8x8 vpx_sad4x8x8_c | |
539 | |
540 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
541 #define vpx_sad64x32 vpx_sad64x32_c | |
542 | |
543 unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
544 #define vpx_sad64x32_avg vpx_sad64x32_avg_c | |
545 | |
546 void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
547 #define vpx_sad64x32x4d vpx_sad64x32x4d_c | |
548 | |
549 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
550 unsigned int vpx_sad64x64_neon(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | |
551 #define vpx_sad64x64 vpx_sad64x64_neon | |
552 | |
553 unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
554 #define vpx_sad64x64_avg vpx_sad64x64_avg_c | |
555 | |
556 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
557 #define vpx_sad64x64x3 vpx_sad64x64x3_c | |
558 | |
559 void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
560 void vpx_sad64x64x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, uint32_t *sad_array); | |
561 #define vpx_sad64x64x4d vpx_sad64x64x4d_neon | |
562 | |
563 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
564 #define vpx_sad64x64x8 vpx_sad64x64x8_c | |
565 | |
566 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
567 unsigned int vpx_sad8x16_neon(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); | |
568 #define vpx_sad8x16 vpx_sad8x16_neon | |
569 | |
570 unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
571 #define vpx_sad8x16_avg vpx_sad8x16_avg_c | |
572 | |
573 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
574 #define vpx_sad8x16x3 vpx_sad8x16x3_c | |
575 | |
576 void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co
nst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
577 #define vpx_sad8x16x4d vpx_sad8x16x4d_c | |
578 | |
579 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
580 #define vpx_sad8x16x8 vpx_sad8x16x8_c | |
581 | |
582 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
583 #define vpx_sad8x4 vpx_sad8x4_c | |
584 | |
585 unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
586 #define vpx_sad8x4_avg vpx_sad8x4_avg_c | |
587 | |
588 void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
589 #define vpx_sad8x4x4d vpx_sad8x4x4d_c | |
590 | |
591 void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
592 #define vpx_sad8x4x8 vpx_sad8x4x8_c | |
593 | |
594 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
595 unsigned int vpx_sad8x8_neon(const uint8_t *src_ptr, int src_stride, const uint8
_t *ref_ptr, int ref_stride); | |
596 #define vpx_sad8x8 vpx_sad8x8_neon | |
597 | |
598 unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
599 #define vpx_sad8x8_avg vpx_sad8x8_avg_c | |
600 | |
601 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
602 #define vpx_sad8x8x3 vpx_sad8x8x3_c | |
603 | |
604 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
605 #define vpx_sad8x8x4d vpx_sad8x8x4d_c | |
606 | |
607 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
608 #define vpx_sad8x8x8 vpx_sad8x8x8_c | |
609 | |
610 int vpx_satd_c(const int16_t *coeff, int length); | |
611 int vpx_satd_neon(const int16_t *coeff, int length); | |
612 #define vpx_satd vpx_satd_neon | |
613 | |
614 void vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | |
615 #define vpx_scaled_2d vpx_scaled_2d_c | |
616 | |
617 void vpx_scaled_avg_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | |
618 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c | |
619 | |
620 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | |
621 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c | |
622 | |
623 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | |
624 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c | |
625 | |
626 void vpx_scaled_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | |
627 #define vpx_scaled_horiz vpx_scaled_horiz_c | |
628 | |
629 void vpx_scaled_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, p
trdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filt
er_y, int y_step_q4, int w, int h); | |
630 #define vpx_scaled_vert vpx_scaled_vert_c | |
631 | |
632 uint32_t vpx_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
633 #define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c | |
634 | |
635 uint32_t vpx_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
636 #define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c | |
637 | |
638 uint32_t vpx_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
639 #define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c | |
640 | |
641 uint32_t vpx_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
642 #define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c | |
643 | |
644 uint32_t vpx_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
645 #define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c | |
646 | |
647 uint32_t vpx_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
648 #define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c | |
649 | |
650 uint32_t vpx_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
651 #define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c | |
652 | |
653 uint32_t vpx_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
654 #define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c | |
655 | |
656 uint32_t vpx_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
657 #define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c | |
658 | |
659 uint32_t vpx_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
660 #define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c | |
661 | |
662 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
663 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c | |
664 | |
665 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
666 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c | |
667 | |
668 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
669 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c | |
670 | |
671 uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
672 uint32_t vpx_sub_pixel_variance16x16_neon(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
673 #define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_neon | |
674 | |
675 uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
676 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c | |
677 | |
678 uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss
e); | |
679 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c | |
680 | |
681 uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
682 #define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c | |
683 | |
684 uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
685 uint32_t vpx_sub_pixel_variance32x32_neon(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
686 #define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_neon | |
687 | |
688 uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
689 #define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c | |
690 | |
691 uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
692 #define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c | |
693 | |
694 uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
695 #define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c | |
696 | |
697 uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
698 #define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c | |
699 | |
700 uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *s
se); | |
701 uint32_t vpx_sub_pixel_variance64x64_neon(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse); | |
702 #define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_neon | |
703 | |
704 uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *ss
e); | |
705 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c | |
706 | |
707 uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
708 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c | |
709 | |
710 uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride,
int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse
); | |
711 uint32_t vpx_sub_pixel_variance8x8_neon(const uint8_t *src_ptr, int source_strid
e, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *
sse); | |
712 #define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_neon | |
713 | |
714 void vpx_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_
stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p
trdiff_t pred_stride); | |
715 void vpx_subtract_block_neon(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di
ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr
, ptrdiff_t pred_stride); | |
716 #define vpx_subtract_block vpx_subtract_block_neon | |
717 | |
718 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
719 void vpx_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
720 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_neon | |
721 | |
722 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
723 void vpx_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
724 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_neon | |
725 | |
726 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
727 void vpx_tm_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
728 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_neon | |
729 | |
730 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
731 void vpx_tm_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
732 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_neon | |
733 | |
734 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
735 void vpx_v_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
736 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_neon | |
737 | |
738 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
739 void vpx_v_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
740 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_neon | |
741 | |
742 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
743 void vpx_v_predictor_4x4_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
744 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_neon | |
745 | |
746 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
747 void vpx_v_predictor_8x8_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
748 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_neon | |
749 | |
750 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
751 unsigned int vpx_variance16x16_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
752 #define vpx_variance16x16 vpx_variance16x16_neon | |
753 | |
754 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
755 #define vpx_variance16x32 vpx_variance16x32_c | |
756 | |
757 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
758 unsigned int vpx_variance16x8_neon(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
759 #define vpx_variance16x8 vpx_variance16x8_neon | |
760 | |
761 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
762 #define vpx_variance32x16 vpx_variance32x16_c | |
763 | |
764 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
765 unsigned int vpx_variance32x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
766 #define vpx_variance32x32 vpx_variance32x32_neon | |
767 | |
768 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
769 unsigned int vpx_variance32x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
770 #define vpx_variance32x64 vpx_variance32x64_neon | |
771 | |
772 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
773 #define vpx_variance4x4 vpx_variance4x4_c | |
774 | |
775 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
776 #define vpx_variance4x8 vpx_variance4x8_c | |
777 | |
778 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
779 unsigned int vpx_variance64x32_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
780 #define vpx_variance64x32 vpx_variance64x32_neon | |
781 | |
782 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
783 unsigned int vpx_variance64x64_neon(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
784 #define vpx_variance64x64 vpx_variance64x64_neon | |
785 | |
786 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
787 unsigned int vpx_variance8x16_neon(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
788 #define vpx_variance8x16 vpx_variance8x16_neon | |
789 | |
790 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
791 #define vpx_variance8x4 vpx_variance8x4_c | |
792 | |
793 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
794 unsigned int vpx_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
795 #define vpx_variance8x8 vpx_variance8x8_neon | |
796 | |
797 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); | |
798 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c | |
799 | |
800 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); | |
801 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c | |
802 | |
803 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); | |
804 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c | |
805 | |
806 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
807 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c | |
808 | |
809 int vpx_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); | |
810 int vpx_vector_var_neon(int16_t const *ref, int16_t const *src, const int bwl); | |
811 #define vpx_vector_var vpx_vector_var_neon | |
812 | |
813 void vpx_dsp_rtcd(void); | |
814 | |
815 #include "vpx_config.h" | |
816 | |
817 #ifdef RTCD_C | |
818 #include "vpx_ports/arm.h" | |
819 static void setup_rtcd_internal(void) | |
820 { | |
821 int flags = arm_cpu_caps(); | |
822 | |
823 (void)flags; | |
824 | |
825 } | |
826 #endif | |
827 | |
828 #ifdef __cplusplus | |
829 } // extern "C" | |
830 #endif | |
831 | |
832 #endif | |
OLD | NEW |