OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_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 /* |
11 * VP9 | 11 * VP9 |
12 */ | 12 */ |
13 | 13 |
14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
15 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
16 | 16 |
17 struct macroblockd; | 17 struct macroblockd; |
18 | 18 |
19 /* Encoder forward decls */ | 19 /* Encoder forward decls */ |
20 struct macroblock; | 20 struct macroblock; |
21 struct vp9_variance_vtable; | 21 struct vp9_variance_vtable; |
22 | 22 |
23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] | 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] |
| 24 struct mv; |
24 union int_mv; | 25 union int_mv; |
25 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
26 | 27 |
27 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 28 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
28 void vp9_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 29 void vp9_d207_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
29 RTCD_EXTERN void (*vp9_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); | 30 RTCD_EXTERN void (*vp9_d207_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
30 | 31 |
31 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 32 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
32 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 33 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
33 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 34 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 172 |
172 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 173 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
173 void vp9_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 174 void vp9_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
174 RTCD_EXTERN void (*vp9_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); | 175 RTCD_EXTERN void (*vp9_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); |
175 | 176 |
176 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 177 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
177 void vp9_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 178 void vp9_d63_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
178 RTCD_EXTERN void (*vp9_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); | 179 RTCD_EXTERN void (*vp9_d63_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); |
179 | 180 |
180 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 181 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
181 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 182 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 183 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
182 | 184 |
183 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 185 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
184 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c | 186 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
185 | 187 |
186 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 188 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
187 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c | 189 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
188 | 190 |
189 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 191 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
190 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c | 192 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
191 | 193 |
(...skipping 14 matching lines...) Expand all Loading... |
206 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | 208 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
207 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c | 209 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
208 | 210 |
209 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | 211 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
210 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c | 212 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
211 | 213 |
212 void vp9_mb_lpf_vertical_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit,
const uint8_t *limit, const uint8_t *thresh); | 214 void vp9_mb_lpf_vertical_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit,
const uint8_t *limit, const uint8_t *thresh); |
213 void vp9_mb_lpf_vertical_edge_w_sse2(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh); | 215 void vp9_mb_lpf_vertical_edge_w_sse2(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh); |
214 RTCD_EXTERN void (*vp9_mb_lpf_vertical_edge_w)(uint8_t *s, int pitch, const uint
8_t *blimit, const uint8_t *limit, const uint8_t *thresh); | 216 RTCD_EXTERN void (*vp9_mb_lpf_vertical_edge_w)(uint8_t *s, int pitch, const uint
8_t *blimit, const uint8_t *limit, const uint8_t *thresh); |
215 | 217 |
| 218 void vp9_mb_lpf_vertical_edge_w_16_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh); |
| 219 void vp9_mb_lpf_vertical_edge_w_16_sse2(uint8_t *s, int pitch, const uint8_t *bl
imit, const uint8_t *limit, const uint8_t *thresh); |
| 220 RTCD_EXTERN void (*vp9_mb_lpf_vertical_edge_w_16)(uint8_t *s, int pitch, const u
int8_t *blimit, const uint8_t *limit, const uint8_t *thresh); |
| 221 |
216 void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 222 void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
217 void vp9_mbloop_filter_vertical_edge_sse2(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 223 void vp9_mbloop_filter_vertical_edge_sse2(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
218 RTCD_EXTERN void (*vp9_mbloop_filter_vertical_edge)(uint8_t *s, int pitch, const
uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 224 RTCD_EXTERN void (*vp9_mbloop_filter_vertical_edge)(uint8_t *s, int pitch, const
uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
219 | 225 |
| 226 void vp9_mbloop_filter_vertical_edge_16_c(uint8_t *s, int pitch, const uint8_t *
blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1,
const uint8_t *limit1, const uint8_t *thresh1); |
| 227 void vp9_mbloop_filter_vertical_edge_16_sse2(uint8_t *s, int pitch, const uint8_
t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit
1, const uint8_t *limit1, const uint8_t *thresh1); |
| 228 RTCD_EXTERN void (*vp9_mbloop_filter_vertical_edge_16)(uint8_t *s, int pitch, co
nst uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8
_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); |
| 229 |
220 void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh, int count); | 230 void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh, int count); |
221 void vp9_loop_filter_vertical_edge_mmx(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 231 void vp9_loop_filter_vertical_edge_mmx(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
222 RTCD_EXTERN void (*vp9_loop_filter_vertical_edge)(uint8_t *s, int pitch, const u
int8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 232 RTCD_EXTERN void (*vp9_loop_filter_vertical_edge)(uint8_t *s, int pitch, const u
int8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
223 | 233 |
| 234 void vp9_loop_filter_vertical_edge_16_c(uint8_t *s, int pitch, const uint8_t *bl
imit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, co
nst uint8_t *limit1, const uint8_t *thresh1); |
| 235 void vp9_loop_filter_vertical_edge_16_sse2(uint8_t *s, int pitch, const uint8_t
*blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1,
const uint8_t *limit1, const uint8_t *thresh1); |
| 236 RTCD_EXTERN void (*vp9_loop_filter_vertical_edge_16)(uint8_t *s, int pitch, cons
t uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t
*blimit1, const uint8_t *limit1, const uint8_t *thresh1); |
| 237 |
224 void vp9_mb_lpf_horizontal_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit
, const uint8_t *limit, const uint8_t *thresh, int count); | 238 void vp9_mb_lpf_horizontal_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit
, const uint8_t *limit, const uint8_t *thresh, int count); |
225 void vp9_mb_lpf_horizontal_edge_w_sse2(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 239 void vp9_mb_lpf_horizontal_edge_w_sse2(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 240 void vp9_mb_lpf_horizontal_edge_w_avx2(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
226 RTCD_EXTERN void (*vp9_mb_lpf_horizontal_edge_w)(uint8_t *s, int pitch, const ui
nt8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 241 RTCD_EXTERN void (*vp9_mb_lpf_horizontal_edge_w)(uint8_t *s, int pitch, const ui
nt8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
227 | 242 |
228 void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); | 243 void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
229 void vp9_mbloop_filter_horizontal_edge_sse2(uint8_t *s, int pitch, const uint8_t
*blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 244 void vp9_mbloop_filter_horizontal_edge_sse2(uint8_t *s, int pitch, const uint8_t
*blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
230 RTCD_EXTERN void (*vp9_mbloop_filter_horizontal_edge)(uint8_t *s, int pitch, con
st uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 245 RTCD_EXTERN void (*vp9_mbloop_filter_horizontal_edge)(uint8_t *s, int pitch, con
st uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
231 | 246 |
| 247 void vp9_mbloop_filter_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t
*blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1
, const uint8_t *limit1, const uint8_t *thresh1); |
| 248 void vp9_mbloop_filter_horizontal_edge_16_sse2(uint8_t *s, int pitch, const uint
8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blim
it1, const uint8_t *limit1, const uint8_t *thresh1); |
| 249 RTCD_EXTERN void (*vp9_mbloop_filter_horizontal_edge_16)(uint8_t *s, int pitch,
const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uin
t8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); |
| 250 |
232 void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 251 void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
233 void vp9_loop_filter_horizontal_edge_mmx(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); | 252 void vp9_loop_filter_horizontal_edge_mmx(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
234 RTCD_EXTERN void (*vp9_loop_filter_horizontal_edge)(uint8_t *s, int pitch, const
uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 253 RTCD_EXTERN void (*vp9_loop_filter_horizontal_edge)(uint8_t *s, int pitch, const
uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
235 | 254 |
| 255 void vp9_loop_filter_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t *
blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1,
const uint8_t *limit1, const uint8_t *thresh1); |
| 256 void vp9_loop_filter_horizontal_edge_16_sse2(uint8_t *s, int pitch, const uint8_
t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit
1, const uint8_t *limit1, const uint8_t *thresh1); |
| 257 RTCD_EXTERN void (*vp9_loop_filter_horizontal_edge_16)(uint8_t *s, int pitch, co
nst uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8
_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1); |
| 258 |
236 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 259 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
237 #define vp9_blend_mb_inner vp9_blend_mb_inner_c | 260 #define vp9_blend_mb_inner vp9_blend_mb_inner_c |
238 | 261 |
239 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 262 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
240 #define vp9_blend_mb_outer vp9_blend_mb_outer_c | 263 #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
241 | 264 |
242 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i
nt alpha, int stride); | 265 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i
nt alpha, int stride); |
243 #define vp9_blend_b vp9_blend_b_c | 266 #define vp9_blend_b vp9_blend_b_c |
244 | 267 |
245 void vp9_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); | 268 void vp9_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); |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 | 464 |
442 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c; | 465 vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_c; |
443 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s
sse3; | 466 if (flags & HAS_SSSE3) vp9_d207_predictor_32x32 = vp9_d207_predictor_32x32_s
sse3; |
444 | 467 |
445 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c; | 468 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c; |
446 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss
e3; | 469 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss
e3; |
447 | 470 |
448 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; | 471 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; |
449 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss
e3; | 472 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss
e3; |
450 | 473 |
| 474 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
| 475 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; |
451 | 476 |
452 | 477 |
453 | 478 |
454 | 479 |
455 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | 480 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
456 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; | 481 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; |
457 | 482 |
458 | 483 |
459 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; | 484 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; |
460 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; | 485 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; |
461 | 486 |
462 | 487 |
463 | 488 |
464 | 489 |
465 vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_w_c; | 490 vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_w_c; |
466 if (flags & HAS_SSE2) vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_
w_sse2; | 491 if (flags & HAS_SSE2) vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_
w_sse2; |
467 | 492 |
| 493 vp9_mb_lpf_vertical_edge_w_16 = vp9_mb_lpf_vertical_edge_w_16_c; |
| 494 if (flags & HAS_SSE2) vp9_mb_lpf_vertical_edge_w_16 = vp9_mb_lpf_vertical_ed
ge_w_16_sse2; |
| 495 |
468 vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_vertical_edge_c; | 496 vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_vertical_edge_c; |
469 if (flags & HAS_SSE2) vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_ve
rtical_edge_sse2; | 497 if (flags & HAS_SSE2) vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_ve
rtical_edge_sse2; |
470 | 498 |
| 499 vp9_mbloop_filter_vertical_edge_16 = vp9_mbloop_filter_vertical_edge_16_c; |
| 500 if (flags & HAS_SSE2) vp9_mbloop_filter_vertical_edge_16 = vp9_mbloop_filter
_vertical_edge_16_sse2; |
| 501 |
471 vp9_loop_filter_vertical_edge = vp9_loop_filter_vertical_edge_c; | 502 vp9_loop_filter_vertical_edge = vp9_loop_filter_vertical_edge_c; |
472 if (flags & HAS_MMX) vp9_loop_filter_vertical_edge = vp9_loop_filter_vertica
l_edge_mmx; | 503 if (flags & HAS_MMX) vp9_loop_filter_vertical_edge = vp9_loop_filter_vertica
l_edge_mmx; |
473 | 504 |
| 505 vp9_loop_filter_vertical_edge_16 = vp9_loop_filter_vertical_edge_16_c; |
| 506 if (flags & HAS_SSE2) vp9_loop_filter_vertical_edge_16 = vp9_loop_filter_ver
tical_edge_16_sse2; |
| 507 |
474 vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_c; | 508 vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_c; |
475 if (flags & HAS_SSE2) vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_e
dge_w_sse2; | 509 if (flags & HAS_SSE2) vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_e
dge_w_sse2; |
| 510 if (flags & HAS_AVX2) vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_e
dge_w_avx2; |
476 | 511 |
477 vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_horizontal_edge_c; | 512 vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_horizontal_edge_c; |
478 if (flags & HAS_SSE2) vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_
horizontal_edge_sse2; | 513 if (flags & HAS_SSE2) vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_
horizontal_edge_sse2; |
479 | 514 |
| 515 vp9_mbloop_filter_horizontal_edge_16 = vp9_mbloop_filter_horizontal_edge_16_
c; |
| 516 if (flags & HAS_SSE2) vp9_mbloop_filter_horizontal_edge_16 = vp9_mbloop_filt
er_horizontal_edge_16_sse2; |
| 517 |
480 vp9_loop_filter_horizontal_edge = vp9_loop_filter_horizontal_edge_c; | 518 vp9_loop_filter_horizontal_edge = vp9_loop_filter_horizontal_edge_c; |
481 if (flags & HAS_MMX) vp9_loop_filter_horizontal_edge = vp9_loop_filter_horiz
ontal_edge_mmx; | 519 if (flags & HAS_MMX) vp9_loop_filter_horizontal_edge = vp9_loop_filter_horiz
ontal_edge_mmx; |
482 | 520 |
| 521 vp9_loop_filter_horizontal_edge_16 = vp9_loop_filter_horizontal_edge_16_c; |
| 522 if (flags & HAS_SSE2) vp9_loop_filter_horizontal_edge_16 = vp9_loop_filter_h
orizontal_edge_16_sse2; |
| 523 |
483 | 524 |
484 | 525 |
485 | 526 |
486 vp9_convolve_copy = vp9_convolve_copy_c; | 527 vp9_convolve_copy = vp9_convolve_copy_c; |
487 if (flags & HAS_SSE2) vp9_convolve_copy = vp9_convolve_copy_sse2; | 528 if (flags & HAS_SSE2) vp9_convolve_copy = vp9_convolve_copy_sse2; |
488 | 529 |
489 vp9_convolve_avg = vp9_convolve_avg_c; | 530 vp9_convolve_avg = vp9_convolve_avg_c; |
490 if (flags & HAS_SSE2) vp9_convolve_avg = vp9_convolve_avg_sse2; | 531 if (flags & HAS_SSE2) vp9_convolve_avg = vp9_convolve_avg_sse2; |
491 | 532 |
492 vp9_convolve8 = vp9_convolve8_c; | 533 vp9_convolve8 = vp9_convolve8_c; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; | 591 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; |
551 | 592 |
552 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; | 593 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
553 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; | 594 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; |
554 | 595 |
555 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; | 596 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; |
556 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; | 597 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; |
557 } | 598 } |
558 #endif | 599 #endif |
559 #endif | 600 #endif |
OLD | NEW |