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 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); | |
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 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); | |
57 | |
58 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
59 void vp9_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
60 RTCD_EXTERN void (*vp9_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); | |
61 | |
62 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
63 void vp9_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
64 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); | |
65 | |
66 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
67 void vp9_iwht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
68 RTCD_EXTERN void (*vp9_iwht4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); | |
69 | |
70 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
71 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | |
72 | |
73 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); | |
74 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); | |
75 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); | |
76 | |
77 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); | |
78 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | |
79 | |
80 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); |
81 #define vpx_comp_avg_pred vpx_comp_avg_pred_c | 23 #define vpx_comp_avg_pred vpx_comp_avg_pred_c |
82 | 24 |
83 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); |
84 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); |
85 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); |
86 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); |
87 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); |
88 | 30 |
89 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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 280 RTCD_EXTERN void (*vpx_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
339 | 281 |
340 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 282 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
341 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 283 void vpx_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
342 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 284 RTCD_EXTERN void (*vpx_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
343 | 285 |
344 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 286 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
345 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 287 void vpx_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
346 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 288 RTCD_EXTERN void (*vpx_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
347 | 289 |
| 290 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 291 void vpx_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 292 RTCD_EXTERN void (*vpx_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 293 |
| 294 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 295 void vpx_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 296 RTCD_EXTERN void (*vpx_idct16x16_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 297 |
| 298 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 299 void vpx_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
| 300 RTCD_EXTERN void (*vpx_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int dest_stride); |
| 301 |
| 302 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 303 void vpx_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
| 304 RTCD_EXTERN void (*vpx_idct32x32_1024_add)(const tran_low_t *input, uint8_t *des
t, int dest_stride); |
| 305 |
| 306 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
| 307 void vpx_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
| 308 RTCD_EXTERN void (*vpx_idct32x32_1_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 309 |
| 310 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 311 void vpx_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
| 312 RTCD_EXTERN void (*vpx_idct32x32_34_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
| 313 |
| 314 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 315 void vpx_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 316 RTCD_EXTERN void (*vpx_idct4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 317 |
| 318 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 319 void vpx_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 320 RTCD_EXTERN void (*vpx_idct4x4_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
| 321 |
| 322 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 323 void vpx_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 324 RTCD_EXTERN void (*vpx_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 325 |
| 326 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 327 void vpx_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
| 328 RTCD_EXTERN void (*vpx_idct8x8_1_add)(const tran_low_t *input, uint8_t *dest, in
t dest_stride); |
| 329 |
| 330 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 331 void vpx_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 332 RTCD_EXTERN void (*vpx_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 333 |
| 334 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 335 void vpx_iwht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
| 336 RTCD_EXTERN void (*vpx_iwht4x4_16_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
| 337 |
| 338 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 339 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c |
| 340 |
348 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); | 341 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); |
349 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); | 342 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); |
350 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); | 343 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); |
351 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); | 344 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); |
352 | 345 |
353 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); | 346 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); |
354 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); | 347 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); |
355 RTCD_EXTERN void (*vpx_lpf_horizontal_4)(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); | 348 RTCD_EXTERN void (*vpx_lpf_horizontal_4)(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
356 | 349 |
357 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); | 350 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... |
401 RTCD_EXTERN unsigned int (*vpx_mse16x8)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 394 RTCD_EXTERN unsigned int (*vpx_mse16x8)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
402 | 395 |
403 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); | 396 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); |
404 unsigned int vpx_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 397 unsigned int vpx_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
405 RTCD_EXTERN unsigned int (*vpx_mse8x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 398 RTCD_EXTERN unsigned int (*vpx_mse8x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
406 | 399 |
407 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); | 400 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); |
408 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); | 401 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); |
409 RTCD_EXTERN unsigned int (*vpx_mse8x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 402 RTCD_EXTERN unsigned int (*vpx_mse8x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
410 | 403 |
| 404 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); |
| 405 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); |
| 406 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); |
| 407 |
| 408 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); |
| 409 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c |
| 410 |
411 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | 411 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); |
412 unsigned int vpx_sad16x16_mmx(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); | 412 unsigned int vpx_sad16x16_mmx(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride); |
413 unsigned int vpx_sad16x16_sse2(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); | 413 unsigned int vpx_sad16x16_sse2(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride); |
414 RTCD_EXTERN unsigned int (*vpx_sad16x16)(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride); | 414 RTCD_EXTERN unsigned int (*vpx_sad16x16)(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride); |
415 | 415 |
416 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); | 416 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); |
417 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); | 417 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); |
418 RTCD_EXTERN unsigned int (*vpx_sad16x16_avg)(const uint8_t *src_ptr, int src_str
ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 418 RTCD_EXTERN unsigned int (*vpx_sad16x16_avg)(const uint8_t *src_ptr, int src_str
ide, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
419 | 419 |
420 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 420 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... |
634 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); | 634 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); |
635 | 635 |
636 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); | 636 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); |
637 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); | 637 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); |
638 RTCD_EXTERN void (*vpx_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const
uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); | 638 RTCD_EXTERN void (*vpx_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const
uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); |
639 | 639 |
640 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); | 640 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); |
641 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); | 641 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); |
642 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); | 642 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); |
643 | 643 |
| 644 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); |
| 645 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); |
| 646 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); |
| 647 |
| 648 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); |
| 649 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c |
| 650 |
| 651 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); |
| 652 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c |
| 653 |
| 654 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); |
| 655 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c |
| 656 |
| 657 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); |
| 658 #define vpx_scaled_horiz vpx_scaled_horiz_c |
| 659 |
| 660 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); |
| 661 #define vpx_scaled_vert vpx_scaled_vert_c |
| 662 |
644 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); | 663 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); |
645 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); | 664 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); |
646 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); | 665 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); |
647 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); | 666 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); |
648 | 667 |
649 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); | 668 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); |
650 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); | 669 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); |
651 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); | 670 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); |
652 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); | 671 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); |
653 | 672 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
895 void vpx_dsp_rtcd(void); | 914 void vpx_dsp_rtcd(void); |
896 | 915 |
897 #ifdef RTCD_C | 916 #ifdef RTCD_C |
898 #include "vpx_ports/x86.h" | 917 #include "vpx_ports/x86.h" |
899 static void setup_rtcd_internal(void) | 918 static void setup_rtcd_internal(void) |
900 { | 919 { |
901 int flags = x86_simd_caps(); | 920 int flags = x86_simd_caps(); |
902 | 921 |
903 (void)flags; | 922 (void)flags; |
904 | 923 |
905 vp9_idct16x16_10_add = vp9_idct16x16_10_add_c; | |
906 if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; | |
907 vp9_idct16x16_1_add = vp9_idct16x16_1_add_c; | |
908 if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2; | |
909 vp9_idct16x16_256_add = vp9_idct16x16_256_add_c; | |
910 if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; | |
911 vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c; | |
912 if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2; | |
913 vp9_idct32x32_1_add = vp9_idct32x32_1_add_c; | |
914 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2; | |
915 vp9_idct32x32_34_add = vp9_idct32x32_34_add_c; | |
916 if (flags & HAS_SSE2) vp9_idct32x32_34_add = vp9_idct32x32_34_add_sse2; | |
917 vp9_idct4x4_16_add = vp9_idct4x4_16_add_c; | |
918 if (flags & HAS_SSE2) vp9_idct4x4_16_add = vp9_idct4x4_16_add_sse2; | |
919 vp9_idct4x4_1_add = vp9_idct4x4_1_add_c; | |
920 if (flags & HAS_SSE2) vp9_idct4x4_1_add = vp9_idct4x4_1_add_sse2; | |
921 vp9_idct8x8_12_add = vp9_idct8x8_12_add_c; | |
922 if (flags & HAS_SSE2) vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; | |
923 vp9_idct8x8_1_add = vp9_idct8x8_1_add_c; | |
924 if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2; | |
925 vp9_idct8x8_64_add = vp9_idct8x8_64_add_c; | |
926 if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; | |
927 vp9_iwht4x4_16_add = vp9_iwht4x4_16_add_c; | |
928 if (flags & HAS_SSE2) vp9_iwht4x4_16_add = vp9_iwht4x4_16_add_sse2; | |
929 vp9_quantize_b = vp9_quantize_b_c; | |
930 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; | |
931 vpx_convolve8 = vpx_convolve8_c; | 924 vpx_convolve8 = vpx_convolve8_c; |
932 if (flags & HAS_SSE2) vpx_convolve8 = vpx_convolve8_sse2; | 925 if (flags & HAS_SSE2) vpx_convolve8 = vpx_convolve8_sse2; |
933 if (flags & HAS_SSSE3) vpx_convolve8 = vpx_convolve8_ssse3; | 926 if (flags & HAS_SSSE3) vpx_convolve8 = vpx_convolve8_ssse3; |
934 if (flags & HAS_AVX2) vpx_convolve8 = vpx_convolve8_avx2; | 927 if (flags & HAS_AVX2) vpx_convolve8 = vpx_convolve8_avx2; |
935 vpx_convolve8_avg = vpx_convolve8_avg_c; | 928 vpx_convolve8_avg = vpx_convolve8_avg_c; |
936 if (flags & HAS_SSE2) vpx_convolve8_avg = vpx_convolve8_avg_sse2; | 929 if (flags & HAS_SSE2) vpx_convolve8_avg = vpx_convolve8_avg_sse2; |
937 if (flags & HAS_SSSE3) vpx_convolve8_avg = vpx_convolve8_avg_ssse3; | 930 if (flags & HAS_SSSE3) vpx_convolve8_avg = vpx_convolve8_avg_ssse3; |
938 vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_c; | 931 vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_c; |
939 if (flags & HAS_SSE2) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sse2
; | 932 if (flags & HAS_SSE2) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sse2
; |
940 if (flags & HAS_SSSE3) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sss
e3; | 933 if (flags & HAS_SSSE3) vpx_convolve8_avg_horiz = vpx_convolve8_avg_horiz_sss
e3; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1047 if (flags & HAS_MMX) vpx_get_mb_ss = vpx_get_mb_ss_mmx; | 1040 if (flags & HAS_MMX) vpx_get_mb_ss = vpx_get_mb_ss_mmx; |
1048 if (flags & HAS_SSE2) vpx_get_mb_ss = vpx_get_mb_ss_sse2; | 1041 if (flags & HAS_SSE2) vpx_get_mb_ss = vpx_get_mb_ss_sse2; |
1049 vpx_h_predictor_16x16 = vpx_h_predictor_16x16_c; | 1042 vpx_h_predictor_16x16 = vpx_h_predictor_16x16_c; |
1050 if (flags & HAS_SSSE3) vpx_h_predictor_16x16 = vpx_h_predictor_16x16_ssse3; | 1043 if (flags & HAS_SSSE3) vpx_h_predictor_16x16 = vpx_h_predictor_16x16_ssse3; |
1051 vpx_h_predictor_32x32 = vpx_h_predictor_32x32_c; | 1044 vpx_h_predictor_32x32 = vpx_h_predictor_32x32_c; |
1052 if (flags & HAS_SSSE3) vpx_h_predictor_32x32 = vpx_h_predictor_32x32_ssse3; | 1045 if (flags & HAS_SSSE3) vpx_h_predictor_32x32 = vpx_h_predictor_32x32_ssse3; |
1053 vpx_h_predictor_4x4 = vpx_h_predictor_4x4_c; | 1046 vpx_h_predictor_4x4 = vpx_h_predictor_4x4_c; |
1054 if (flags & HAS_SSSE3) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_ssse3; | 1047 if (flags & HAS_SSSE3) vpx_h_predictor_4x4 = vpx_h_predictor_4x4_ssse3; |
1055 vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c; | 1048 vpx_h_predictor_8x8 = vpx_h_predictor_8x8_c; |
1056 if (flags & HAS_SSSE3) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_ssse3; | 1049 if (flags & HAS_SSSE3) vpx_h_predictor_8x8 = vpx_h_predictor_8x8_ssse3; |
| 1050 vpx_idct16x16_10_add = vpx_idct16x16_10_add_c; |
| 1051 if (flags & HAS_SSE2) vpx_idct16x16_10_add = vpx_idct16x16_10_add_sse2; |
| 1052 vpx_idct16x16_1_add = vpx_idct16x16_1_add_c; |
| 1053 if (flags & HAS_SSE2) vpx_idct16x16_1_add = vpx_idct16x16_1_add_sse2; |
| 1054 vpx_idct16x16_256_add = vpx_idct16x16_256_add_c; |
| 1055 if (flags & HAS_SSE2) vpx_idct16x16_256_add = vpx_idct16x16_256_add_sse2; |
| 1056 vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_c; |
| 1057 if (flags & HAS_SSE2) vpx_idct32x32_1024_add = vpx_idct32x32_1024_add_sse2; |
| 1058 vpx_idct32x32_1_add = vpx_idct32x32_1_add_c; |
| 1059 if (flags & HAS_SSE2) vpx_idct32x32_1_add = vpx_idct32x32_1_add_sse2; |
| 1060 vpx_idct32x32_34_add = vpx_idct32x32_34_add_c; |
| 1061 if (flags & HAS_SSE2) vpx_idct32x32_34_add = vpx_idct32x32_34_add_sse2; |
| 1062 vpx_idct4x4_16_add = vpx_idct4x4_16_add_c; |
| 1063 if (flags & HAS_SSE2) vpx_idct4x4_16_add = vpx_idct4x4_16_add_sse2; |
| 1064 vpx_idct4x4_1_add = vpx_idct4x4_1_add_c; |
| 1065 if (flags & HAS_SSE2) vpx_idct4x4_1_add = vpx_idct4x4_1_add_sse2; |
| 1066 vpx_idct8x8_12_add = vpx_idct8x8_12_add_c; |
| 1067 if (flags & HAS_SSE2) vpx_idct8x8_12_add = vpx_idct8x8_12_add_sse2; |
| 1068 vpx_idct8x8_1_add = vpx_idct8x8_1_add_c; |
| 1069 if (flags & HAS_SSE2) vpx_idct8x8_1_add = vpx_idct8x8_1_add_sse2; |
| 1070 vpx_idct8x8_64_add = vpx_idct8x8_64_add_c; |
| 1071 if (flags & HAS_SSE2) vpx_idct8x8_64_add = vpx_idct8x8_64_add_sse2; |
| 1072 vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_c; |
| 1073 if (flags & HAS_SSE2) vpx_iwht4x4_16_add = vpx_iwht4x4_16_add_sse2; |
1057 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_c; | 1074 vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_c; |
1058 if (flags & HAS_SSE2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2; | 1075 if (flags & HAS_SSE2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_sse2; |
1059 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2; | 1076 if (flags & HAS_AVX2) vpx_lpf_horizontal_16 = vpx_lpf_horizontal_16_avx2; |
1060 vpx_lpf_horizontal_4 = vpx_lpf_horizontal_4_c; | 1077 vpx_lpf_horizontal_4 = vpx_lpf_horizontal_4_c; |
1061 if (flags & HAS_MMX) vpx_lpf_horizontal_4 = vpx_lpf_horizontal_4_mmx; | 1078 if (flags & HAS_MMX) vpx_lpf_horizontal_4 = vpx_lpf_horizontal_4_mmx; |
1062 vpx_lpf_horizontal_4_dual = vpx_lpf_horizontal_4_dual_c; | 1079 vpx_lpf_horizontal_4_dual = vpx_lpf_horizontal_4_dual_c; |
1063 if (flags & HAS_SSE2) vpx_lpf_horizontal_4_dual = vpx_lpf_horizontal_4_dual_
sse2; | 1080 if (flags & HAS_SSE2) vpx_lpf_horizontal_4_dual = vpx_lpf_horizontal_4_dual_
sse2; |
1064 vpx_lpf_horizontal_8 = vpx_lpf_horizontal_8_c; | 1081 vpx_lpf_horizontal_8 = vpx_lpf_horizontal_8_c; |
1065 if (flags & HAS_SSE2) vpx_lpf_horizontal_8 = vpx_lpf_horizontal_8_sse2; | 1082 if (flags & HAS_SSE2) vpx_lpf_horizontal_8 = vpx_lpf_horizontal_8_sse2; |
1066 vpx_lpf_horizontal_8_dual = vpx_lpf_horizontal_8_dual_c; | 1083 vpx_lpf_horizontal_8_dual = vpx_lpf_horizontal_8_dual_c; |
(...skipping 13 matching lines...) Expand all Loading... |
1080 vpx_mse16x16 = vpx_mse16x16_c; | 1097 vpx_mse16x16 = vpx_mse16x16_c; |
1081 if (flags & HAS_MMX) vpx_mse16x16 = vpx_mse16x16_mmx; | 1098 if (flags & HAS_MMX) vpx_mse16x16 = vpx_mse16x16_mmx; |
1082 if (flags & HAS_SSE2) vpx_mse16x16 = vpx_mse16x16_sse2; | 1099 if (flags & HAS_SSE2) vpx_mse16x16 = vpx_mse16x16_sse2; |
1083 if (flags & HAS_AVX2) vpx_mse16x16 = vpx_mse16x16_avx2; | 1100 if (flags & HAS_AVX2) vpx_mse16x16 = vpx_mse16x16_avx2; |
1084 vpx_mse16x8 = vpx_mse16x8_c; | 1101 vpx_mse16x8 = vpx_mse16x8_c; |
1085 if (flags & HAS_SSE2) vpx_mse16x8 = vpx_mse16x8_sse2; | 1102 if (flags & HAS_SSE2) vpx_mse16x8 = vpx_mse16x8_sse2; |
1086 vpx_mse8x16 = vpx_mse8x16_c; | 1103 vpx_mse8x16 = vpx_mse8x16_c; |
1087 if (flags & HAS_SSE2) vpx_mse8x16 = vpx_mse8x16_sse2; | 1104 if (flags & HAS_SSE2) vpx_mse8x16 = vpx_mse8x16_sse2; |
1088 vpx_mse8x8 = vpx_mse8x8_c; | 1105 vpx_mse8x8 = vpx_mse8x8_c; |
1089 if (flags & HAS_SSE2) vpx_mse8x8 = vpx_mse8x8_sse2; | 1106 if (flags & HAS_SSE2) vpx_mse8x8 = vpx_mse8x8_sse2; |
| 1107 vpx_quantize_b = vpx_quantize_b_c; |
| 1108 if (flags & HAS_SSE2) vpx_quantize_b = vpx_quantize_b_sse2; |
1090 vpx_sad16x16 = vpx_sad16x16_c; | 1109 vpx_sad16x16 = vpx_sad16x16_c; |
1091 if (flags & HAS_MMX) vpx_sad16x16 = vpx_sad16x16_mmx; | 1110 if (flags & HAS_MMX) vpx_sad16x16 = vpx_sad16x16_mmx; |
1092 if (flags & HAS_SSE2) vpx_sad16x16 = vpx_sad16x16_sse2; | 1111 if (flags & HAS_SSE2) vpx_sad16x16 = vpx_sad16x16_sse2; |
1093 vpx_sad16x16_avg = vpx_sad16x16_avg_c; | 1112 vpx_sad16x16_avg = vpx_sad16x16_avg_c; |
1094 if (flags & HAS_SSE2) vpx_sad16x16_avg = vpx_sad16x16_avg_sse2; | 1113 if (flags & HAS_SSE2) vpx_sad16x16_avg = vpx_sad16x16_avg_sse2; |
1095 vpx_sad16x16x3 = vpx_sad16x16x3_c; | 1114 vpx_sad16x16x3 = vpx_sad16x16x3_c; |
1096 if (flags & HAS_SSE3) vpx_sad16x16x3 = vpx_sad16x16x3_sse3; | 1115 if (flags & HAS_SSE3) vpx_sad16x16x3 = vpx_sad16x16x3_sse3; |
1097 if (flags & HAS_SSSE3) vpx_sad16x16x3 = vpx_sad16x16x3_ssse3; | 1116 if (flags & HAS_SSSE3) vpx_sad16x16x3 = vpx_sad16x16x3_ssse3; |
1098 vpx_sad16x16x4d = vpx_sad16x16x4d_c; | 1117 vpx_sad16x16x4d = vpx_sad16x16x4d_c; |
1099 if (flags & HAS_SSE2) vpx_sad16x16x4d = vpx_sad16x16x4d_sse2; | 1118 if (flags & HAS_SSE2) vpx_sad16x16x4d = vpx_sad16x16x4d_sse2; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 if (flags & HAS_MMX) vpx_sad8x8 = vpx_sad8x8_mmx; | 1216 if (flags & HAS_MMX) vpx_sad8x8 = vpx_sad8x8_mmx; |
1198 if (flags & HAS_SSE2) vpx_sad8x8 = vpx_sad8x8_sse2; | 1217 if (flags & HAS_SSE2) vpx_sad8x8 = vpx_sad8x8_sse2; |
1199 vpx_sad8x8_avg = vpx_sad8x8_avg_c; | 1218 vpx_sad8x8_avg = vpx_sad8x8_avg_c; |
1200 if (flags & HAS_SSE2) vpx_sad8x8_avg = vpx_sad8x8_avg_sse2; | 1219 if (flags & HAS_SSE2) vpx_sad8x8_avg = vpx_sad8x8_avg_sse2; |
1201 vpx_sad8x8x3 = vpx_sad8x8x3_c; | 1220 vpx_sad8x8x3 = vpx_sad8x8x3_c; |
1202 if (flags & HAS_SSE3) vpx_sad8x8x3 = vpx_sad8x8x3_sse3; | 1221 if (flags & HAS_SSE3) vpx_sad8x8x3 = vpx_sad8x8x3_sse3; |
1203 vpx_sad8x8x4d = vpx_sad8x8x4d_c; | 1222 vpx_sad8x8x4d = vpx_sad8x8x4d_c; |
1204 if (flags & HAS_SSE2) vpx_sad8x8x4d = vpx_sad8x8x4d_sse2; | 1223 if (flags & HAS_SSE2) vpx_sad8x8x4d = vpx_sad8x8x4d_sse2; |
1205 vpx_sad8x8x8 = vpx_sad8x8x8_c; | 1224 vpx_sad8x8x8 = vpx_sad8x8x8_c; |
1206 if (flags & HAS_SSE4_1) vpx_sad8x8x8 = vpx_sad8x8x8_sse4_1; | 1225 if (flags & HAS_SSE4_1) vpx_sad8x8x8 = vpx_sad8x8x8_sse4_1; |
| 1226 vpx_scaled_2d = vpx_scaled_2d_c; |
| 1227 if (flags & HAS_SSSE3) vpx_scaled_2d = vpx_scaled_2d_ssse3; |
1207 vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_variance16x16_c; | 1228 vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_variance16x16_c; |
1208 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_va
riance16x16_sse2; | 1229 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_va
riance16x16_sse2; |
1209 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_v
ariance16x16_ssse3; | 1230 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x16 = vpx_sub_pixel_avg_v
ariance16x16_ssse3; |
1210 vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_variance16x32_c; | 1231 vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_variance16x32_c; |
1211 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_va
riance16x32_sse2; | 1232 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_va
riance16x32_sse2; |
1212 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_v
ariance16x32_ssse3; | 1233 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x32 = vpx_sub_pixel_avg_v
ariance16x32_ssse3; |
1213 vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_variance16x8_c; | 1234 vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_variance16x8_c; |
1214 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_var
iance16x8_sse2; | 1235 if (flags & HAS_SSE2) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_var
iance16x8_sse2; |
1215 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_va
riance16x8_ssse3; | 1236 if (flags & HAS_SSSE3) vpx_sub_pixel_avg_variance16x8 = vpx_sub_pixel_avg_va
riance16x8_ssse3; |
1216 vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_variance32x16_c; | 1237 vpx_sub_pixel_avg_variance32x16 = vpx_sub_pixel_avg_variance32x16_c; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 if (flags & HAS_MMX) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixva
r16x16_v_mmx; | 1374 if (flags & HAS_MMX) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixva
r16x16_v_mmx; |
1354 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixv
ar16x16_v_sse2; | 1375 if (flags & HAS_SSE2) vpx_variance_halfpixvar16x16_v = vpx_variance_halfpixv
ar16x16_v_sse2; |
1355 } | 1376 } |
1356 #endif | 1377 #endif |
1357 | 1378 |
1358 #ifdef __cplusplus | 1379 #ifdef __cplusplus |
1359 } // extern "C" | 1380 } // extern "C" |
1360 #endif | 1381 #endif |
1361 | 1382 |
1362 #endif | 1383 #endif |
OLD | NEW |