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 /* |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 247 |
248 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | 248 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
249 void vp9_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride); | 249 void vp9_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride); |
250 void vp9_fdct8x8_ssse3(const int16_t *input, tran_low_t *output, int stride); | 250 void vp9_fdct8x8_ssse3(const int16_t *input, tran_low_t *output, int stride); |
251 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); | 251 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
252 | 252 |
253 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | 253 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
254 void vp9_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride); | 254 void vp9_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
255 #define vp9_fdct8x8_1 vp9_fdct8x8_1_sse2 | 255 #define vp9_fdct8x8_1 vp9_fdct8x8_1_sse2 |
256 | 256 |
| 257 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value
, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
| 258 void vp9_fdct8x8_quant_sse2(const int16_t *input, int stride, 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, int zbin_oq_va
lue, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
| 259 void vp9_fdct8x8_quant_ssse3(const int16_t *input, int stride, 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, int zbin_oq_v
alue, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
| 260 RTCD_EXTERN void (*vp9_fdct8x8_quant)(const int16_t *input, int stride, 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, t
ran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int
zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
| 261 |
257 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 262 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
258 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int
tx_type); | 263 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int
tx_type); |
259 #define vp9_fht16x16 vp9_fht16x16_sse2 | 264 #define vp9_fht16x16 vp9_fht16x16_sse2 |
260 | 265 |
261 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 266 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
262 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); | 267 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
263 #define vp9_fht4x4 vp9_fht4x4_sse2 | 268 #define vp9_fht4x4 vp9_fht4x4_sse2 |
264 | 269 |
265 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 270 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
266 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); | 271 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 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, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); | 440 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, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); |
436 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, int zbin_oq_value, uint16_t *eob_ptr, const i
nt16_t *scan, const int16_t *iscan); | 441 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, int zbin_oq_value, uint16_t *eob_ptr, const i
nt16_t *scan, const int16_t *iscan); |
437 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, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 442 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, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
438 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, int zbin_oq_value, uint16_t *eob_pt
r, const int16_t *scan, const int16_t *iscan); | 443 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, int zbin_oq_value, uint16_t *eob_pt
r, const int16_t *scan, const int16_t *iscan); |
439 | 444 |
440 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, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); | 445 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, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); |
441 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, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); | 446 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, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); |
442 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, int zbin_oq_value, uint16_t *
eob_ptr, const int16_t *scan, const int16_t *iscan); | 447 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, int zbin_oq_value, uint16_t *
eob_ptr, const int16_t *scan, const int16_t *iscan); |
443 | 448 |
444 void vp9_quantize_fp_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 *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); | 449 void vp9_quantize_fp_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 *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); |
| 450 void vp9_quantize_fp_sse2(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, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
445 void vp9_quantize_fp_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int s
kip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qua
nt_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 451 void vp9_quantize_fp_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int s
kip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qua
nt_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
446 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); | 452 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); |
447 | 453 |
448 void vp9_quantize_fp_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 *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); | 454 void vp9_quantize_fp_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 *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); |
449 void vp9_quantize_fp_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, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); | 455 void vp9_quantize_fp_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, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); |
450 RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t
n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, con
st int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, t
ran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t
*eob_ptr, const int16_t *scan, const int16_t *iscan); | 456 RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t
n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, con
st int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, t
ran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t
*eob_ptr, const int16_t *scan, const int16_t *iscan); |
451 | 457 |
452 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | |
453 #define vp9_refining_search_sad vp9_refining_search_sad_c | |
454 | |
455 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 458 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
456 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 459 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
457 #define vp9_sad16x16 vp9_sad16x16_sse2 | 460 #define vp9_sad16x16 vp9_sad16x16_sse2 |
458 | 461 |
459 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 462 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
460 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 463 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
461 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2 | 464 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2 |
462 | 465 |
463 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 466 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
464 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | 467 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c; | 935 vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_c; |
933 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss
e3; | 936 if (flags & HAS_SSSE3) vp9_d63_predictor_16x16 = vp9_d63_predictor_16x16_sss
e3; |
934 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; | 937 vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_c; |
935 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss
e3; | 938 if (flags & HAS_SSSE3) vp9_d63_predictor_32x32 = vp9_d63_predictor_32x32_sss
e3; |
936 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c; | 939 vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_c; |
937 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3; | 940 if (flags & HAS_SSSE3) vp9_d63_predictor_4x4 = vp9_d63_predictor_4x4_ssse3; |
938 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; | 941 vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_c; |
939 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; | 942 if (flags & HAS_SSSE3) vp9_d63_predictor_8x8 = vp9_d63_predictor_8x8_ssse3; |
940 vp9_fdct8x8 = vp9_fdct8x8_sse2; | 943 vp9_fdct8x8 = vp9_fdct8x8_sse2; |
941 if (flags & HAS_SSSE3) vp9_fdct8x8 = vp9_fdct8x8_ssse3; | 944 if (flags & HAS_SSSE3) vp9_fdct8x8 = vp9_fdct8x8_ssse3; |
| 945 vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2; |
| 946 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; |
942 vp9_full_search_sad = vp9_full_search_sad_c; | 947 vp9_full_search_sad = vp9_full_search_sad_c; |
943 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | 948 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; |
944 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | 949 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; |
945 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 950 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
946 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | 951 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; |
947 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | 952 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
948 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; | 953 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; |
949 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 954 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
950 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | 955 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; |
951 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 956 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
952 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | 957 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; |
953 vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; | 958 vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2; |
954 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; | 959 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3; |
955 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; | 960 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2; |
956 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; | 961 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3; |
957 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; | 962 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; |
958 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; | 963 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; |
959 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; | 964 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; |
960 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; | 965 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; |
961 vp9_quantize_b = vp9_quantize_b_sse2; | 966 vp9_quantize_b = vp9_quantize_b_sse2; |
962 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; | 967 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; |
963 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; | 968 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; |
964 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; | 969 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; |
965 vp9_quantize_fp = vp9_quantize_fp_c; | 970 vp9_quantize_fp = vp9_quantize_fp_sse2; |
966 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3; | 971 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3; |
967 vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c; | 972 vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c; |
968 if (flags & HAS_SSSE3) vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3; | 973 if (flags & HAS_SSSE3) vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3; |
969 vp9_sad16x16x3 = vp9_sad16x16x3_c; | 974 vp9_sad16x16x3 = vp9_sad16x16x3_c; |
970 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; | 975 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; |
971 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; | 976 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; |
972 vp9_sad16x8x3 = vp9_sad16x8x3_c; | 977 vp9_sad16x8x3 = vp9_sad16x8x3_c; |
973 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; | 978 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; |
974 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; | 979 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; |
975 vp9_sad4x4x3 = vp9_sad4x4x3_c; | 980 vp9_sad4x4x3 = vp9_sad4x4x3_c; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1031 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; | 1036 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; |
1032 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | 1037 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; |
1033 } | 1038 } |
1034 #endif | 1039 #endif |
1035 | 1040 |
1036 #ifdef __cplusplus | 1041 #ifdef __cplusplus |
1037 } // extern "C" | 1042 } // extern "C" |
1038 #endif | 1043 #endif |
1039 | 1044 |
1040 #endif | 1045 #endif |
OLD | NEW |