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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 | 314 |
315 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 315 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
316 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 316 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
317 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 317 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
318 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, const struct mv *center_mv, struct mv *best_mv); | 318 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, const struct mv *center_mv, struct mv *best_mv); |
319 | 319 |
320 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); | 320 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
321 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); | 321 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); |
322 #define vp9_fwht4x4 vp9_fwht4x4_mmx | 322 #define vp9_fwht4x4 vp9_fwht4x4_mmx |
323 | 323 |
324 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
325 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
326 void vp9_get16x16var_avx2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
327 RTCD_EXTERN void (*vp9_get16x16var)(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
328 | |
329 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | |
330 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
331 #define vp9_get8x8var vp9_get8x8var_sse2 | |
332 | |
333 unsigned int vp9_get_mb_ss_c(const int16_t *); | |
334 unsigned int vp9_get_mb_ss_sse2(const int16_t *); | |
335 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 | |
336 | |
337 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 324 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
338 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 325 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
339 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 326 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
340 | 327 |
341 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 328 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
342 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 329 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
343 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 330 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
344 | 331 |
345 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 332 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
346 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 333 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_xmm | 468 #define vp9_mbpost_proc_across_ip vp9_mbpost_proc_across_ip_xmm |
482 | 469 |
483 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); | 470 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
484 void vp9_mbpost_proc_down_xmm(uint8_t *dst, int pitch, int rows, int cols, int f
limit); | 471 void vp9_mbpost_proc_down_xmm(uint8_t *dst, int pitch, int rows, int cols, int f
limit); |
485 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_xmm | 472 #define vp9_mbpost_proc_down vp9_mbpost_proc_down_xmm |
486 | 473 |
487 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); | 474 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); |
488 void vp9_minmax_8x8_sse2(const uint8_t *s, int p, const uint8_t *d, int dp, int
*min, int *max); | 475 void vp9_minmax_8x8_sse2(const uint8_t *s, int p, const uint8_t *d, int dp, int
*min, int *max); |
489 #define vp9_minmax_8x8 vp9_minmax_8x8_sse2 | 476 #define vp9_minmax_8x8 vp9_minmax_8x8_sse2 |
490 | 477 |
491 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
492 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
493 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
494 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str
ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
495 | |
496 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
497 unsigned int vp9_mse16x8_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
498 #define vp9_mse16x8 vp9_mse16x8_sse2 | |
499 | |
500 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
501 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
502 #define vp9_mse8x16 vp9_mse8x16_sse2 | |
503 | |
504 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
505 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
506 #define vp9_mse8x8 vp9_mse8x8_sse2 | |
507 | |
508 void vp9_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha
r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i
nt Pitch); | 478 void vp9_plane_add_noise_c(uint8_t *Start, char *noise, char blackclamp[16], cha
r whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height, i
nt Pitch); |
509 void vp9_plane_add_noise_wmt(uint8_t *Start, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height,
int Pitch); | 479 void vp9_plane_add_noise_wmt(uint8_t *Start, char *noise, char blackclamp[16], c
har whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned int Height,
int Pitch); |
510 #define vp9_plane_add_noise vp9_plane_add_noise_wmt | 480 #define vp9_plane_add_noise vp9_plane_add_noise_wmt |
511 | 481 |
512 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i
nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit)
; | 482 void vp9_post_proc_down_and_across_c(const uint8_t *src_ptr, uint8_t *dst_ptr, i
nt src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimit)
; |
513 void vp9_post_proc_down_and_across_xmm(const uint8_t *src_ptr, uint8_t *dst_ptr,
int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimi
t); | 483 void vp9_post_proc_down_and_across_xmm(const uint8_t *src_ptr, uint8_t *dst_ptr,
int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols, int flimi
t); |
514 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_xmm | 484 #define vp9_post_proc_down_and_across vp9_post_proc_down_and_across_xmm |
515 | 485 |
516 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); | 486 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); |
517 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); | 487 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); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_sse2 | 672 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_sse2 |
703 | 673 |
704 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 674 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
705 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 675 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
706 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse | 676 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse |
707 | 677 |
708 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 678 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
709 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 679 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
710 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse | 680 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse |
711 | 681 |
712 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
713 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
714 unsigned int vp9_variance16x16_avx2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
715 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
716 | |
717 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
718 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
719 #define vp9_variance16x32 vp9_variance16x32_sse2 | |
720 | |
721 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
722 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
723 #define vp9_variance16x8 vp9_variance16x8_sse2 | |
724 | |
725 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
726 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
727 unsigned int vp9_variance32x16_avx2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
728 RTCD_EXTERN unsigned int (*vp9_variance32x16)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
729 | |
730 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
731 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
732 unsigned int vp9_variance32x32_avx2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
733 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
734 | |
735 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
736 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
737 #define vp9_variance32x64 vp9_variance32x64_sse2 | |
738 | |
739 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
740 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
741 #define vp9_variance4x4 vp9_variance4x4_sse2 | |
742 | |
743 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
744 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
745 #define vp9_variance4x8 vp9_variance4x8_sse2 | |
746 | |
747 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
748 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
749 unsigned int vp9_variance64x32_avx2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
750 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
751 | |
752 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
753 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
754 unsigned int vp9_variance64x64_avx2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
755 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
756 | |
757 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
758 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
759 #define vp9_variance8x16 vp9_variance8x16_sse2 | |
760 | |
761 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
762 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
763 #define vp9_variance8x4 vp9_variance8x4_sse2 | |
764 | |
765 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
766 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
767 #define vp9_variance8x8 vp9_variance8x8_sse2 | |
768 | |
769 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); | 682 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
770 int vp9_vector_var_sse2(int16_t const *ref, int16_t const *src, const int bwl); | 683 int vp9_vector_var_sse2(int16_t const *ref, int16_t const *src, const int bwl); |
771 #define vp9_vector_var vp9_vector_var_sse2 | 684 #define vp9_vector_var vp9_vector_var_sse2 |
772 | 685 |
773 void vp9_rtcd(void); | 686 void vp9_rtcd(void); |
774 | 687 |
775 #ifdef RTCD_C | 688 #ifdef RTCD_C |
776 #include "vpx_ports/x86.h" | 689 #include "vpx_ports/x86.h" |
777 static void setup_rtcd_internal(void) | 690 static void setup_rtcd_internal(void) |
778 { | 691 { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2; | 744 if (flags & HAS_AVX2) vp9_fdct32x32 = vp9_fdct32x32_avx2; |
832 vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; | 745 vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; |
833 if (flags & HAS_AVX2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_avx2; | 746 if (flags & HAS_AVX2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_avx2; |
834 vp9_fdct8x8 = vp9_fdct8x8_sse2; | 747 vp9_fdct8x8 = vp9_fdct8x8_sse2; |
835 if (flags & HAS_SSSE3) vp9_fdct8x8 = vp9_fdct8x8_ssse3; | 748 if (flags & HAS_SSSE3) vp9_fdct8x8 = vp9_fdct8x8_ssse3; |
836 vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2; | 749 vp9_fdct8x8_quant = vp9_fdct8x8_quant_sse2; |
837 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; | 750 if (flags & HAS_SSSE3) vp9_fdct8x8_quant = vp9_fdct8x8_quant_ssse3; |
838 vp9_full_search_sad = vp9_full_search_sad_c; | 751 vp9_full_search_sad = vp9_full_search_sad_c; |
839 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | 752 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; |
840 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | 753 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; |
841 vp9_get16x16var = vp9_get16x16var_sse2; | |
842 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2; | |
843 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 754 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
844 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | 755 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; |
845 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | 756 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
846 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; | 757 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; |
847 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 758 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
848 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | 759 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; |
849 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 760 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
850 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | 761 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; |
851 vp9_hadamard_8x8 = vp9_hadamard_8x8_sse2; | 762 vp9_hadamard_8x8 = vp9_hadamard_8x8_sse2; |
852 if (flags & HAS_SSSE3) vp9_hadamard_8x8 = vp9_hadamard_8x8_ssse3; | 763 if (flags & HAS_SSSE3) vp9_hadamard_8x8 = vp9_hadamard_8x8_ssse3; |
853 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; | 764 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; |
854 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; | 765 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; |
855 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; | 766 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; |
856 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; | 767 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; |
857 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; | 768 vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_sse2; |
858 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2; | 769 if (flags & HAS_AVX2) vp9_lpf_horizontal_16 = vp9_lpf_horizontal_16_avx2; |
859 vp9_mse16x16 = vp9_mse16x16_sse2; | |
860 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2; | |
861 vp9_quantize_b = vp9_quantize_b_sse2; | 770 vp9_quantize_b = vp9_quantize_b_sse2; |
862 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; | 771 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; |
863 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; | 772 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; |
864 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; | 773 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; |
865 vp9_quantize_fp = vp9_quantize_fp_sse2; | 774 vp9_quantize_fp = vp9_quantize_fp_sse2; |
866 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3; | 775 if (flags & HAS_SSSE3) vp9_quantize_fp = vp9_quantize_fp_ssse3; |
867 vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c; | 776 vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_c; |
868 if (flags & HAS_SSSE3) vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3; | 777 if (flags & HAS_SSSE3) vp9_quantize_fp_32x32 = vp9_quantize_fp_32x32_ssse3; |
869 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2; | 778 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2; |
870 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v
ariance16x16_ssse3; | 779 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v
ariance16x16_ssse3; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6
4x32_ssse3; | 824 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6
4x32_ssse3; |
916 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2; | 825 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2; |
917 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6
4x64_ssse3; | 826 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6
4x64_ssse3; |
918 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_avx2; | 827 if (flags & HAS_AVX2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_avx2; |
919 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2; | 828 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2; |
920 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x
16_ssse3; | 829 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x
16_ssse3; |
921 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2; | 830 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2; |
922 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4
_ssse3; | 831 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4
_ssse3; |
923 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; | 832 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; |
924 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | 833 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; |
925 vp9_variance16x16 = vp9_variance16x16_sse2; | |
926 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2; | |
927 vp9_variance32x16 = vp9_variance32x16_sse2; | |
928 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2; | |
929 vp9_variance32x32 = vp9_variance32x32_sse2; | |
930 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2; | |
931 vp9_variance64x32 = vp9_variance64x32_sse2; | |
932 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2; | |
933 vp9_variance64x64 = vp9_variance64x64_sse2; | |
934 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2; | |
935 } | 834 } |
936 #endif | 835 #endif |
937 | 836 |
938 #ifdef __cplusplus | 837 #ifdef __cplusplus |
939 } // extern "C" | 838 } // extern "C" |
940 #endif | 839 #endif |
941 | 840 |
942 #endif | 841 #endif |
OLD | NEW |