OLD | NEW |
1 #ifndef VPX_DSP_RTCD_H_ | 1 #ifndef VPX_DSP_RTCD_H_ |
2 #define VPX_DSP_RTCD_H_ | 2 #define VPX_DSP_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
11 * DSP | 11 * DSP |
12 */ | 12 */ |
13 | 13 |
14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
15 #include "vpx_dsp/vpx_dsp_common.h" | 15 #include "vpx_dsp/vpx_dsp_common.h" |
16 | 16 |
17 | 17 |
18 #ifdef __cplusplus | 18 #ifdef __cplusplus |
19 extern "C" { | 19 extern "C" { |
20 #endif | 20 #endif |
21 | 21 |
22 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
23 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); | |
24 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_sse2 | |
25 | |
26 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
27 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
28 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_sse2 | |
29 | |
30 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
31 void vp9_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest
_stride); | |
32 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_sse2 | |
33 | |
34 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
35 void vp9_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des
t_stride); | |
36 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_sse2 | |
37 | |
38 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
39 void vp9_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
40 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_sse2 | |
41 | |
42 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
43 void vp9_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); | |
44 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_sse2 | |
45 | |
46 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
47 void vp9_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
48 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_sse2 | |
49 | |
50 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
51 void vp9_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
52 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_sse2 | |
53 | |
54 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
55 void vp9_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
56 void vp9_idct8x8_12_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
57 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); | |
58 | |
59 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
60 void vp9_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
61 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_sse2 | |
62 | |
63 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
64 void vp9_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
65 void vp9_idct8x8_64_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
66 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); | |
67 | |
68 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
69 void vp9_iwht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
70 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_sse2 | |
71 | |
72 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
73 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | |
74 | |
75 void vp9_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); | |
76 void vp9_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef
f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const
int16_t *iscan); | |
77 void vp9_quantize_b_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons
t int16_t *iscan); | |
78 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff
s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1
6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low
_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s
can, const int16_t *iscan); | |
79 | |
80 void vp9_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); | |
81 void vp9_quantize_b_32x32_ssse3(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
*quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t
*dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); | |
82 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const tran_low_t *coeff_ptr, intptr_t n
_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, cons
t int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tr
an_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); | |
83 | |
84 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); | 22 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); |
85 #define vpx_comp_avg_pred vpx_comp_avg_pred_c | 23 #define vpx_comp_avg_pred vpx_comp_avg_pred_c |
86 | 24 |
87 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); | 25 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); |
88 void vpx_convolve8_sse2(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); | 26 void vpx_convolve8_sse2(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); |
89 void vpx_convolve8_ssse3(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); | 27 void vpx_convolve8_ssse3(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); |
90 void vpx_convolve8_avx2(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); | 28 void vpx_convolve8_avx2(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); |
91 RTCD_EXTERN void (*vpx_convolve8)(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); | 29 RTCD_EXTERN void (*vpx_convolve8)(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); |
92 | 30 |
93 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); | 31 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); |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 281 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
344 | 282 |
345 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 283 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
346 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 284 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
347 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 285 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
348 | 286 |
349 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 287 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
350 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 288 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
351 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 289 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
352 | 290 |
| 291 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 292 void vpx_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 293 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_sse2 |
| 294 |
| 295 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 296 void vpx_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 297 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_sse2 |
| 298 |
| 299 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 300 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
| 301 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_sse2 |
| 302 |
| 303 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 304 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
| 305 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_sse2 |
| 306 |
| 307 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 308 void vpx_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 309 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_sse2 |
| 310 |
| 311 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 312 void vpx_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 313 #define vpx_idct32x32_34_add vpx_idct32x32_34_add_sse2 |
| 314 |
| 315 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 316 void vpx_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 317 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_sse2 |
| 318 |
| 319 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 320 void vpx_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 321 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_sse2 |
| 322 |
| 323 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 324 void vpx_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 325 void vpx_idct8x8_12_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 326 RTCD_EXTERN void (*vpx_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 327 |
| 328 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 329 void vpx_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 330 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_sse2 |
| 331 |
| 332 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 333 void vpx_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 334 void vpx_idct8x8_64_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 335 RTCD_EXTERN void (*vpx_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 336 |
| 337 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 338 void vpx_iwht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 339 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_sse2 |
| 340 |
| 341 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 342 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c |
| 343 |
353 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); | 344 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); |
354 void vpx_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); | 345 void vpx_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
355 void vpx_lpf_horizontal_16_avx2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); | 346 void vpx_lpf_horizontal_16_avx2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
356 RTCD_EXTERN void (*vpx_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 347 RTCD_EXTERN void (*vpx_lpf_horizontal_16)(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
357 | 348 |
358 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); | 349 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); |
359 void vpx_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); | 350 void vpx_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); |
360 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_mmx | 351 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_mmx |
361 | 352 |
362 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); | 353 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); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 #define vpx_mse16x8 vpx_mse16x8_sse2 | 397 #define vpx_mse16x8 vpx_mse16x8_sse2 |
407 | 398 |
408 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); | 399 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); |
409 unsigned int vpx_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 400 unsigned int vpx_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
410 #define vpx_mse8x16 vpx_mse8x16_sse2 | 401 #define vpx_mse8x16 vpx_mse8x16_sse2 |
411 | 402 |
412 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); | 403 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); |
413 unsigned int vpx_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int recon_stride, unsigned int *sse); | 404 unsigned int vpx_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int recon_stride, unsigned int *sse); |
414 #define vpx_mse8x8 vpx_mse8x8_sse2 | 405 #define vpx_mse8x8 vpx_mse8x8_sse2 |
415 | 406 |
| 407 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); |
| 408 void vpx_quantize_b_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoef
f_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const
int16_t *iscan); |
| 409 void vpx_quantize_b_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, cons
t int16_t *iscan); |
| 410 RTCD_EXTERN void (*vpx_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff
s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1
6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low
_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *s
can, const int16_t *iscan); |
| 411 |
| 412 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); |
| 413 void vpx_quantize_b_32x32_ssse3(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
*quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t
*dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); |
| 414 RTCD_EXTERN void (*vpx_quantize_b_32x32)(const tran_low_t *coeff_ptr, intptr_t n
_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, cons
t int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tr
an_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); |
| 415 |
416 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | 416 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); |
417 unsigned int vpx_sad16x16_mmx(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); | 417 unsigned int vpx_sad16x16_mmx(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); |
418 unsigned int vpx_sad16x16_sse2(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | 418 unsigned int vpx_sad16x16_sse2(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); |
419 #define vpx_sad16x16 vpx_sad16x16_sse2 | 419 #define vpx_sad16x16 vpx_sad16x16_sse2 |
420 | 420 |
421 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); | 421 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); |
422 unsigned int vpx_sad16x16_avg_sse2(const uint8_t *src_ptr, int src_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 422 unsigned int vpx_sad16x16_avg_sse2(const uint8_t *src_ptr, int src_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
423 #define vpx_sad16x16_avg vpx_sad16x16_avg_sse2 | 423 #define vpx_sad16x16_avg vpx_sad16x16_avg_sse2 |
424 | 424 |
425 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 425 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 RTCD_EXTERN void (*vpx_sad8x8x3)(const uint8_t *src_ptr, int src_stride, const u
int8_t *ref_ptr, int ref_stride, uint32_t *sad_array); | 639 RTCD_EXTERN void (*vpx_sad8x8x3)(const uint8_t *src_ptr, int src_stride, const u
int8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
640 | 640 |
641 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); | 641 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); |
642 void vpx_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *
const ref_ptr[], int ref_stride, uint32_t *sad_array); | 642 void vpx_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t *
const ref_ptr[], int ref_stride, uint32_t *sad_array); |
643 #define vpx_sad8x8x4d vpx_sad8x8x4d_sse2 | 643 #define vpx_sad8x8x4d vpx_sad8x8x4d_sse2 |
644 | 644 |
645 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); | 645 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); |
646 void vpx_sad8x8x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t *
ref_ptr, int ref_stride, uint32_t *sad_array); | 646 void vpx_sad8x8x8_sse4_1(const uint8_t *src_ptr, int src_stride, const uint8_t *
ref_ptr, int ref_stride, uint32_t *sad_array); |
647 RTCD_EXTERN void (*vpx_sad8x8x8)(const uint8_t *src_ptr, int src_stride, const u
int8_t *ref_ptr, int ref_stride, uint32_t *sad_array); | 647 RTCD_EXTERN void (*vpx_sad8x8x8)(const uint8_t *src_ptr, int src_stride, const u
int8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
648 | 648 |
| 649 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); |
| 650 void vpx_scaled_2d_ssse3(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); |
| 651 RTCD_EXTERN void (*vpx_scaled_2d)(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); |
| 652 |
| 653 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); |
| 654 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c |
| 655 |
| 656 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); |
| 657 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c |
| 658 |
| 659 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); |
| 660 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c |
| 661 |
| 662 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); |
| 663 #define vpx_scaled_horiz vpx_scaled_horiz_c |
| 664 |
| 665 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); |
| 666 #define vpx_scaled_vert vpx_scaled_vert_c |
| 667 |
649 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); | 668 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); |
650 uint32_t vpx_sub_pixel_avg_variance16x16_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint
32_t *sse, const uint8_t *second_pred); | 669 uint32_t vpx_sub_pixel_avg_variance16x16_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint
32_t *sse, const uint8_t *second_pred); |
651 uint32_t vpx_sub_pixel_avg_variance16x16_ssse3(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin
t32_t *sse, const uint8_t *second_pred); | 670 uint32_t vpx_sub_pixel_avg_variance16x16_ssse3(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin
t32_t *sse, const uint8_t *second_pred); |
652 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x16)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, uint32_t *sse, const uint8_t *second_pred); | 671 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x16)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, uint32_t *sse, const uint8_t *second_pred); |
653 | 672 |
654 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); | 673 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); |
655 uint32_t vpx_sub_pixel_avg_variance16x32_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint
32_t *sse, const uint8_t *second_pred); | 674 uint32_t vpx_sub_pixel_avg_variance16x32_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint
32_t *sse, const uint8_t *second_pred); |
656 uint32_t vpx_sub_pixel_avg_variance16x32_ssse3(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin
t32_t *sse, const uint8_t *second_pred); | 675 uint32_t vpx_sub_pixel_avg_variance16x32_ssse3(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uin
t32_t *sse, const uint8_t *second_pred); |
657 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x32)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, uint32_t *sse, const uint8_t *second_pred); | 676 RTCD_EXTERN uint32_t (*vpx_sub_pixel_avg_variance16x32)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, uint32_t *sse, const uint8_t *second_pred); |
658 | 677 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 void vpx_dsp_rtcd(void); | 920 void vpx_dsp_rtcd(void); |
902 | 921 |
903 #ifdef RTCD_C | 922 #ifdef RTCD_C |
904 #include "vpx_ports/x86.h" | 923 #include "vpx_ports/x86.h" |
905 static void setup_rtcd_internal(void) | 924 static void setup_rtcd_internal(void) |
906 { | 925 { |
907 int flags = x86_simd_caps(); | 926 int flags = x86_simd_caps(); |
908 | 927 |
909 (void)flags; | 928 (void)flags; |
910 | 929 |
911 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; | |
912 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; | |
913 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; | |
914 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; | |
915 vp9_quantize_b = vp9_quantize_b_sse2; | |
916 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; | |
917 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; | |
918 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; | |
919 vpx_convolve8 = vpx_convolve8_sse2; | 930 vpx_convolve8 = vpx_convolve8_sse2; |
920 if (flags & HAS_SSSE3) vpx_convolve8 = vpx_convolve8_ssse3; | 931 if (flags & HAS_SSSE3) vpx_convolve8 = vpx_convolve8_ssse3; |
921 if (flags & HAS_AVX2) vpx_convolve8 = vpx_convolve8_avx2; | 932 if (flags & HAS_AVX2) vpx_convolve8 = vpx_convolve8_avx2; |
922 vpx_convolve8_avg = vpx_convolve8_avg_sse2; | 933 vpx_convolve8_avg = vpx_convolve8_avg_sse2; |
923 if (flags & HAS_SSSE3) vpx_convolve8_avg = vpx_convolve8_avg_ssse3; | 934 if (flags & HAS_SSSE3) vpx_convolve8_avg = vpx_convolve8_avg_ssse3; |
924 vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sse2; | 935 vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sse2; |
925 if (flags & HAS_SSSE3) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sss
e3; | 936 if (flags & HAS_SSSE3) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sss
e3; |
926 vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_sse2; | 937 vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_sse2; |
927 if (flags & HAS_SSSE3) vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_ssse3
; | 938 if (flags & HAS_SSSE3) vpx_convolve8_avg_vert = vpx_convolve8_avg_vert_ssse3
; |
928 vpx_convolve8_horiz = vpx_convolve8_horiz_sse2; | 939 vpx_convolve8_horiz = vpx_convolve8_horiz_sse2; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 vpx_get16x16var = vpx_get16x16var_sse2; | 983 vpx_get16x16var = vpx_get16x16var_sse2; |
973 if (flags & HAS_AVX2) vpx_get16x16var = vpx_get16x16var_avx2; | 984 if (flags & HAS_AVX2) vpx_get16x16var = vpx_get16x16var_avx2; |
974 vpx_h_predictor_16x16 = vpx_h_predictor_16x16_c; | 985 vpx_h_predictor_16x16 = vpx_h_predictor_16x16_c; |
975 if (flags & HAS_SSSE3) vpx_h_predictor_16x16 = vpx_h_predictor_16x16_ssse3; | 986 if (flags & HAS_SSSE3) vpx_h_predictor_16x16 = vpx_h_predictor_16x16_ssse3; |
976 vpx_h_predictor_32x32 = vpx_h_predictor_32x32_c; | 987 vpx_h_predictor_32x32 = vpx_h_predictor_32x32_c; |
977 if (flags & HAS_SSSE3) vpx_h_predictor_32x32 = vpx_h_predictor_32x32_ssse3; | 988 if (flags & HAS_SSSE3) vpx_h_predictor_32x32 = vpx_h_predictor_32x32_ssse3; |
978 vpx_h_predictor_4x4 = vpx_h_predictor_4x4_c; | 989 vpx_h_predictor_4x4 = vpx_h_predictor_4x4_c; |
979 if (flags & HAS_SSSE3) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_ssse3; | 990 if (flags & HAS_SSSE3) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_ssse3; |
980 vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c; | 991 vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c; |
981 if (flags & HAS_SSSE3) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_ssse3; | 992 if (flags & HAS_SSSE3) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_ssse3; |
| 993 vpx_idct8x8_12_add = vpx_idct8x8_12_add_sse2; |
| 994 if (flags & HAS_SSSE3) vpx_idct8x8_12_add = vpx_idct8x8_12_add_ssse3; |
| 995 vpx_idct8x8_64_add = vpx_idct8x8_64_add_sse2; |
| 996 if (flags & HAS_SSSE3) vpx_idct8x8_64_add = vpx_idct8x8_64_add_ssse3; |
982 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2; | 997 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2; |
983 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2; | 998 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2; |
984 vpx_mse16x16 = vpx_mse16x16_sse2; | 999 vpx_mse16x16 = vpx_mse16x16_sse2; |
985 if (flags & HAS_AVX2) vpx_mse16x16 = vpx_mse16x16_avx2; | 1000 if (flags & HAS_AVX2) vpx_mse16x16 = vpx_mse16x16_avx2; |
| 1001 vpx_quantize_b = vpx_quantize_b_sse2; |
| 1002 if (flags & HAS_SSSE3) vpx_quantize_b = vpx_quantize_b_ssse3; |
| 1003 vpx_quantize_b_32x32 = vpx_quantize_b_32x32_c; |
| 1004 if (flags & HAS_SSSE3) vpx_quantize_b_32x32 = vpx_quantize_b_32x32_ssse3; |
986 vpx_sad16x16x3 = vpx_sad16x16x3_c; | 1005 vpx_sad16x16x3 = vpx_sad16x16x3_c; |
987 if (flags & HAS_SSE3) vpx_sad16x16x3 = vpx_sad16x16x3_sse3; | 1006 if (flags & HAS_SSE3) vpx_sad16x16x3 = vpx_sad16x16x3_sse3; |
988 if (flags & HAS_SSSE3) vpx_sad16x16x3 = vpx_sad16x16x3_ssse3; | 1007 if (flags & HAS_SSSE3) vpx_sad16x16x3 = vpx_sad16x16x3_ssse3; |
989 vpx_sad16x16x8 = vpx_sad16x16x8_c; | 1008 vpx_sad16x16x8 = vpx_sad16x16x8_c; |
990 if (flags & HAS_SSE4_1) vpx_sad16x16x8 = vpx_sad16x16x8_sse4_1; | 1009 if (flags & HAS_SSE4_1) vpx_sad16x16x8 = vpx_sad16x16x8_sse4_1; |
991 vpx_sad16x8x3 = vpx_sad16x8x3_c; | 1010 vpx_sad16x8x3 = vpx_sad16x8x3_c; |
992 if (flags & HAS_SSE3) vpx_sad16x8x3 = vpx_sad16x8x3_sse3; | 1011 if (flags & HAS_SSE3) vpx_sad16x8x3 = vpx_sad16x8x3_sse3; |
993 if (flags & HAS_SSSE3) vpx_sad16x8x3 = vpx_sad16x8x3_ssse3; | 1012 if (flags & HAS_SSSE3) vpx_sad16x8x3 = vpx_sad16x8x3_ssse3; |
994 vpx_sad16x8x8 = vpx_sad16x8x8_c; | 1013 vpx_sad16x8x8 = vpx_sad16x8x8_c; |
995 if (flags & HAS_SSE4_1) vpx_sad16x8x8 = vpx_sad16x8x8_sse4_1; | 1014 if (flags & HAS_SSE4_1) vpx_sad16x8x8 = vpx_sad16x8x8_sse4_1; |
(...skipping 26 matching lines...) Expand all Loading... |
1022 vpx_sad64x64x4d = vpx_sad64x64x4d_sse2; | 1041 vpx_sad64x64x4d = vpx_sad64x64x4d_sse2; |
1023 if (flags & HAS_AVX2) vpx_sad64x64x4d = vpx_sad64x64x4d_avx2; | 1042 if (flags & HAS_AVX2) vpx_sad64x64x4d = vpx_sad64x64x4d_avx2; |
1024 vpx_sad8x16x3 = vpx_sad8x16x3_c; | 1043 vpx_sad8x16x3 = vpx_sad8x16x3_c; |
1025 if (flags & HAS_SSE3) vpx_sad8x16x3 = vpx_sad8x16x3_sse3; | 1044 if (flags & HAS_SSE3) vpx_sad8x16x3 = vpx_sad8x16x3_sse3; |
1026 vpx_sad8x16x8 = vpx_sad8x16x8_c; | 1045 vpx_sad8x16x8 = vpx_sad8x16x8_c; |
1027 if (flags & HAS_SSE4_1) vpx_sad8x16x8 = vpx_sad8x16x8_sse4_1; | 1046 if (flags & HAS_SSE4_1) vpx_sad8x16x8 = vpx_sad8x16x8_sse4_1; |
1028 vpx_sad8x8x3 = vpx_sad8x8x3_c; | 1047 vpx_sad8x8x3 = vpx_sad8x8x3_c; |
1029 if (flags & HAS_SSE3) vpx_sad8x8x3 = vpx_sad8x8x3_sse3; | 1048 if (flags & HAS_SSE3) vpx_sad8x8x3 = vpx_sad8x8x3_sse3; |
1030 vpx_sad8x8x8 = vpx_sad8x8x8_c; | 1049 vpx_sad8x8x8 = vpx_sad8x8x8_c; |
1031 if (flags & HAS_SSE4_1) vpx_sad8x8x8 = vpx_sad8x8x8_sse4_1; | 1050 if (flags & HAS_SSE4_1) vpx_sad8x8x8 = vpx_sad8x8x8_sse4_1; |
| 1051 vpx_scaled_2d = vpx_scaled_2d_c; |
| 1052 if (flags & HAS_SSSE3) vpx_scaled_2d = vpx_scaled_2d_ssse3; |
1032 vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_variance16x16_sse2; | 1053 vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_variance16x16_sse2; |
1033 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_v
ariance16x16_ssse3; | 1054 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_v
ariance16x16_ssse3; |
1034 vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_variance16x32_sse2; | 1055 vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_variance16x32_sse2; |
1035 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_v
ariance16x32_ssse3; | 1056 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_v
ariance16x32_ssse3; |
1036 vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_variance16x8_sse2; | 1057 vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_variance16x8_sse2; |
1037 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_va
riance16x8_ssse3; | 1058 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_va
riance16x8_ssse3; |
1038 vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_variance32x16_sse2; | 1059 vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_variance32x16_sse2; |
1039 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_v
ariance32x16_ssse3; | 1060 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_v
ariance32x16_ssse3; |
1040 vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_variance32x32_sse2; | 1061 vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_variance32x32_sse2; |
1041 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_v
ariance32x32_ssse3; | 1062 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance32x32 = vpx_sub_pixel_avg_v
ariance32x32_ssse3; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1096 vpx_variance64x64 = vpx_variance64x64_sse2; | 1117 vpx_variance64x64 = vpx_variance64x64_sse2; |
1097 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; | 1118 if (flags & HAS_AVX2) vpx_variance64x64 = vpx_variance64x64_avx2; |
1098 } | 1119 } |
1099 #endif | 1120 #endif |
1100 | 1121 |
1101 #ifdef __cplusplus | 1122 #ifdef __cplusplus |
1102 } // extern "C" | 1123 } // extern "C" |
1103 #endif | 1124 #endif |
1104 | 1125 |
1105 #endif | 1126 #endif |
OLD | NEW |