| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 | 313 |
| 314 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); | 314 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_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); | 315 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_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); | 316 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 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); | 317 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 | 318 |
| 319 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); | 319 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
| 320 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); | 320 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); |
| 321 RTCD_EXTERN void (*vp9_fwht4x4)(const int16_t *input, tran_low_t *output, int st
ride); | 321 RTCD_EXTERN void (*vp9_fwht4x4)(const int16_t *input, tran_low_t *output, int st
ride); |
| 322 | 322 |
| 323 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); | |
| 324 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); | |
| 325 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); | |
| 326 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); | |
| 327 | |
| 328 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); | |
| 329 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); | |
| 330 RTCD_EXTERN void (*vp9_get8x8var)(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 331 | |
| 332 unsigned int vp9_get_mb_ss_c(const int16_t *); | |
| 333 unsigned int vp9_get_mb_ss_sse2(const int16_t *); | |
| 334 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *); | |
| 335 | |
| 336 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 323 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 337 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 324 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 338 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 325 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 339 | 326 |
| 340 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 327 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 341 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 328 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 342 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 329 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 343 | 330 |
| 344 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 331 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 345 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 332 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 RTCD_EXTERN void (*vp9_mbpost_proc_across_ip)(uint8_t *src, int pitch, int rows,
int cols, int flimit); | 464 RTCD_EXTERN void (*vp9_mbpost_proc_across_ip)(uint8_t *src, int pitch, int rows,
int cols, int flimit); |
| 478 | 465 |
| 479 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); | 466 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
| 480 void vp9_mbpost_proc_down_xmm(uint8_t *dst, int pitch, int rows, int cols, int f
limit); | 467 void vp9_mbpost_proc_down_xmm(uint8_t *dst, int pitch, int rows, int cols, int f
limit); |
| 481 RTCD_EXTERN void (*vp9_mbpost_proc_down)(uint8_t *dst, int pitch, int rows, int
cols, int flimit); | 468 RTCD_EXTERN void (*vp9_mbpost_proc_down)(uint8_t *dst, int pitch, int rows, int
cols, int flimit); |
| 482 | 469 |
| 483 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); | 470 void vp9_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); |
| 484 void vp9_minmax_8x8_sse2(const uint8_t *s, int p, const uint8_t *d, int dp, int
*min, int *max); | 471 void vp9_minmax_8x8_sse2(const uint8_t *s, int p, const uint8_t *d, int dp, int
*min, int *max); |
| 485 RTCD_EXTERN void (*vp9_minmax_8x8)(const uint8_t *s, int p, const uint8_t *d, in
t dp, int *min, int *max); | 472 RTCD_EXTERN void (*vp9_minmax_8x8)(const uint8_t *s, int p, const uint8_t *d, in
t dp, int *min, int *max); |
| 486 | 473 |
| 487 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); | |
| 488 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 489 unsigned int vp9_mse16x16_avx2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 490 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); | |
| 491 | |
| 492 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); | |
| 493 unsigned int vp9_mse16x8_sse2(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_mse16x8)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 495 | |
| 496 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); | |
| 497 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 498 RTCD_EXTERN unsigned int (*vp9_mse8x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 499 | |
| 500 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); | |
| 501 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); | |
| 502 RTCD_EXTERN unsigned int (*vp9_mse8x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 503 | |
| 504 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); | 474 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); |
| 505 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); | 475 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); |
| 506 RTCD_EXTERN void (*vp9_plane_add_noise)(uint8_t *Start, char *noise, char blackc
lamp[16], char whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned
int Height, int Pitch); | 476 RTCD_EXTERN void (*vp9_plane_add_noise)(uint8_t *Start, char *noise, char blackc
lamp[16], char whiteclamp[16], char bothclamp[16], unsigned int Width, unsigned
int Height, int Pitch); |
| 507 | 477 |
| 508 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)
; | 478 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)
; |
| 509 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); | 479 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); |
| 510 RTCD_EXTERN void (*vp9_post_proc_down_and_across)(const uint8_t *src_ptr, uint8_
t *dst_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols
, int flimit); | 480 RTCD_EXTERN void (*vp9_post_proc_down_and_across)(const uint8_t *src_ptr, uint8_
t *dst_ptr, int src_pixels_per_line, int dst_pixels_per_line, int rows, int cols
, int flimit); |
| 511 | 481 |
| 512 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); | 482 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); |
| 513 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); | 483 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 663 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 694 | 664 |
| 695 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 665 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 696 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 666 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 697 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 667 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 698 | 668 |
| 699 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 669 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 700 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 670 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 701 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 671 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 702 | 672 |
| 703 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); | |
| 704 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); | |
| 705 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); | |
| 706 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); | |
| 707 | |
| 708 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); | |
| 709 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); | |
| 710 RTCD_EXTERN unsigned int (*vp9_variance16x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 711 | |
| 712 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 713 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); | |
| 714 RTCD_EXTERN unsigned int (*vp9_variance16x8)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 715 | |
| 716 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); | |
| 717 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); | |
| 718 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); | |
| 719 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); | |
| 720 | |
| 721 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); | |
| 722 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); | |
| 723 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); | |
| 724 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); | |
| 725 | |
| 726 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); | |
| 727 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); | |
| 728 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 729 | |
| 730 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 731 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); | |
| 732 RTCD_EXTERN unsigned int (*vp9_variance4x4)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 733 | |
| 734 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 735 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); | |
| 736 RTCD_EXTERN unsigned int (*vp9_variance4x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 737 | |
| 738 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); | |
| 739 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); | |
| 740 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); | |
| 741 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); | |
| 742 | |
| 743 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); | |
| 744 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); | |
| 745 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); | |
| 746 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); | |
| 747 | |
| 748 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 749 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); | |
| 750 RTCD_EXTERN unsigned int (*vp9_variance8x16)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 751 | |
| 752 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 753 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); | |
| 754 RTCD_EXTERN unsigned int (*vp9_variance8x4)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 755 | |
| 756 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 757 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); | |
| 758 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 759 | |
| 760 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); | 673 int vp9_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); |
| 761 int vp9_vector_var_sse2(int16_t const *ref, int16_t const *src, const int bwl); | 674 int vp9_vector_var_sse2(int16_t const *ref, int16_t const *src, const int bwl); |
| 762 RTCD_EXTERN int (*vp9_vector_var)(int16_t const *ref, int16_t const *src, const
int bwl); | 675 RTCD_EXTERN int (*vp9_vector_var)(int16_t const *ref, int16_t const *src, const
int bwl); |
| 763 | 676 |
| 764 void vp9_rtcd(void); | 677 void vp9_rtcd(void); |
| 765 | 678 |
| 766 #ifdef RTCD_C | 679 #ifdef RTCD_C |
| 767 #include "vpx_ports/x86.h" | 680 #include "vpx_ports/x86.h" |
| 768 static void setup_rtcd_internal(void) | 681 static void setup_rtcd_internal(void) |
| 769 { | 682 { |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; | 813 if (flags & HAS_SSE2) vp9_fht8x8 = vp9_fht8x8_sse2; |
| 901 vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_c; | 814 vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_c; |
| 902 if (flags & HAS_SSE2) vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_
sse2; | 815 if (flags & HAS_SSE2) vp9_filter_by_weight16x16 = vp9_filter_by_weight16x16_
sse2; |
| 903 vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_c; | 816 vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_c; |
| 904 if (flags & HAS_SSE2) vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_sse2
; | 817 if (flags & HAS_SSE2) vp9_filter_by_weight8x8 = vp9_filter_by_weight8x8_sse2
; |
| 905 vp9_full_search_sad = vp9_full_search_sad_c; | 818 vp9_full_search_sad = vp9_full_search_sad_c; |
| 906 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | 819 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; |
| 907 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | 820 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; |
| 908 vp9_fwht4x4 = vp9_fwht4x4_c; | 821 vp9_fwht4x4 = vp9_fwht4x4_c; |
| 909 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx; | 822 if (flags & HAS_MMX) vp9_fwht4x4 = vp9_fwht4x4_mmx; |
| 910 vp9_get16x16var = vp9_get16x16var_c; | |
| 911 if (flags & HAS_SSE2) vp9_get16x16var = vp9_get16x16var_sse2; | |
| 912 if (flags & HAS_AVX2) vp9_get16x16var = vp9_get16x16var_avx2; | |
| 913 vp9_get8x8var = vp9_get8x8var_c; | |
| 914 if (flags & HAS_SSE2) vp9_get8x8var = vp9_get8x8var_sse2; | |
| 915 vp9_get_mb_ss = vp9_get_mb_ss_c; | |
| 916 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; | |
| 917 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 823 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
| 918 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | 824 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; |
| 919 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | 825 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; |
| 920 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; | 826 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; |
| 921 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 827 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
| 922 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | 828 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; |
| 923 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 829 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
| 924 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | 830 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; |
| 925 vp9_hadamard_16x16 = vp9_hadamard_16x16_c; | 831 vp9_hadamard_16x16 = vp9_hadamard_16x16_c; |
| 926 if (flags & HAS_SSE2) vp9_hadamard_16x16 = vp9_hadamard_16x16_sse2; | 832 if (flags & HAS_SSE2) vp9_hadamard_16x16 = vp9_hadamard_16x16_sse2; |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; | 886 vp9_lpf_vertical_8 = vp9_lpf_vertical_8_c; |
| 981 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; | 887 if (flags & HAS_SSE2) vp9_lpf_vertical_8 = vp9_lpf_vertical_8_sse2; |
| 982 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; | 888 vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_c; |
| 983 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2
; | 889 if (flags & HAS_SSE2) vp9_lpf_vertical_8_dual = vp9_lpf_vertical_8_dual_sse2
; |
| 984 vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_c; | 890 vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_c; |
| 985 if (flags & HAS_SSE2) vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_
xmm; | 891 if (flags & HAS_SSE2) vp9_mbpost_proc_across_ip = vp9_mbpost_proc_across_ip_
xmm; |
| 986 vp9_mbpost_proc_down = vp9_mbpost_proc_down_c; | 892 vp9_mbpost_proc_down = vp9_mbpost_proc_down_c; |
| 987 if (flags & HAS_SSE2) vp9_mbpost_proc_down = vp9_mbpost_proc_down_xmm; | 893 if (flags & HAS_SSE2) vp9_mbpost_proc_down = vp9_mbpost_proc_down_xmm; |
| 988 vp9_minmax_8x8 = vp9_minmax_8x8_c; | 894 vp9_minmax_8x8 = vp9_minmax_8x8_c; |
| 989 if (flags & HAS_SSE2) vp9_minmax_8x8 = vp9_minmax_8x8_sse2; | 895 if (flags & HAS_SSE2) vp9_minmax_8x8 = vp9_minmax_8x8_sse2; |
| 990 vp9_mse16x16 = vp9_mse16x16_c; | |
| 991 if (flags & HAS_SSE2) vp9_mse16x16 = vp9_mse16x16_sse2; | |
| 992 if (flags & HAS_AVX2) vp9_mse16x16 = vp9_mse16x16_avx2; | |
| 993 vp9_mse16x8 = vp9_mse16x8_c; | |
| 994 if (flags & HAS_SSE2) vp9_mse16x8 = vp9_mse16x8_sse2; | |
| 995 vp9_mse8x16 = vp9_mse8x16_c; | |
| 996 if (flags & HAS_SSE2) vp9_mse8x16 = vp9_mse8x16_sse2; | |
| 997 vp9_mse8x8 = vp9_mse8x8_c; | |
| 998 if (flags & HAS_SSE2) vp9_mse8x8 = vp9_mse8x8_sse2; | |
| 999 vp9_plane_add_noise = vp9_plane_add_noise_c; | 896 vp9_plane_add_noise = vp9_plane_add_noise_c; |
| 1000 if (flags & HAS_SSE2) vp9_plane_add_noise = vp9_plane_add_noise_wmt; | 897 if (flags & HAS_SSE2) vp9_plane_add_noise = vp9_plane_add_noise_wmt; |
| 1001 vp9_post_proc_down_and_across = vp9_post_proc_down_and_across_c; | 898 vp9_post_proc_down_and_across = vp9_post_proc_down_and_across_c; |
| 1002 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and
_across_xmm; | 899 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and
_across_xmm; |
| 1003 vp9_quantize_b = vp9_quantize_b_c; | 900 vp9_quantize_b = vp9_quantize_b_c; |
| 1004 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; | 901 if (flags & HAS_SSE2) vp9_quantize_b = vp9_quantize_b_sse2; |
| 1005 vp9_quantize_fp = vp9_quantize_fp_c; | 902 vp9_quantize_fp = vp9_quantize_fp_c; |
| 1006 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; | 903 if (flags & HAS_SSE2) vp9_quantize_fp = vp9_quantize_fp_sse2; |
| 1007 vp9_satd = vp9_satd_c; | 904 vp9_satd = vp9_satd_c; |
| 1008 if (flags & HAS_SSE2) vp9_satd = vp9_satd_sse2; | 905 if (flags & HAS_SSE2) vp9_satd = vp9_satd_sse2; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1099 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; | 996 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; |
| 1100 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2; | 997 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2; |
| 1101 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; | 998 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; |
| 1102 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2; | 999 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2; |
| 1103 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | 1000 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
| 1104 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; | 1001 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; |
| 1105 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; | 1002 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; |
| 1106 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse; | 1003 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse; |
| 1107 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | 1004 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
| 1108 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse; | 1005 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse; |
| 1109 vp9_variance16x16 = vp9_variance16x16_c; | |
| 1110 if (flags & HAS_SSE2) vp9_variance16x16 = vp9_variance16x16_sse2; | |
| 1111 if (flags & HAS_AVX2) vp9_variance16x16 = vp9_variance16x16_avx2; | |
| 1112 vp9_variance16x32 = vp9_variance16x32_c; | |
| 1113 if (flags & HAS_SSE2) vp9_variance16x32 = vp9_variance16x32_sse2; | |
| 1114 vp9_variance16x8 = vp9_variance16x8_c; | |
| 1115 if (flags & HAS_SSE2) vp9_variance16x8 = vp9_variance16x8_sse2; | |
| 1116 vp9_variance32x16 = vp9_variance32x16_c; | |
| 1117 if (flags & HAS_SSE2) vp9_variance32x16 = vp9_variance32x16_sse2; | |
| 1118 if (flags & HAS_AVX2) vp9_variance32x16 = vp9_variance32x16_avx2; | |
| 1119 vp9_variance32x32 = vp9_variance32x32_c; | |
| 1120 if (flags & HAS_SSE2) vp9_variance32x32 = vp9_variance32x32_sse2; | |
| 1121 if (flags & HAS_AVX2) vp9_variance32x32 = vp9_variance32x32_avx2; | |
| 1122 vp9_variance32x64 = vp9_variance32x64_c; | |
| 1123 if (flags & HAS_SSE2) vp9_variance32x64 = vp9_variance32x64_sse2; | |
| 1124 vp9_variance4x4 = vp9_variance4x4_c; | |
| 1125 if (flags & HAS_SSE2) vp9_variance4x4 = vp9_variance4x4_sse2; | |
| 1126 vp9_variance4x8 = vp9_variance4x8_c; | |
| 1127 if (flags & HAS_SSE2) vp9_variance4x8 = vp9_variance4x8_sse2; | |
| 1128 vp9_variance64x32 = vp9_variance64x32_c; | |
| 1129 if (flags & HAS_SSE2) vp9_variance64x32 = vp9_variance64x32_sse2; | |
| 1130 if (flags & HAS_AVX2) vp9_variance64x32 = vp9_variance64x32_avx2; | |
| 1131 vp9_variance64x64 = vp9_variance64x64_c; | |
| 1132 if (flags & HAS_SSE2) vp9_variance64x64 = vp9_variance64x64_sse2; | |
| 1133 if (flags & HAS_AVX2) vp9_variance64x64 = vp9_variance64x64_avx2; | |
| 1134 vp9_variance8x16 = vp9_variance8x16_c; | |
| 1135 if (flags & HAS_SSE2) vp9_variance8x16 = vp9_variance8x16_sse2; | |
| 1136 vp9_variance8x4 = vp9_variance8x4_c; | |
| 1137 if (flags & HAS_SSE2) vp9_variance8x4 = vp9_variance8x4_sse2; | |
| 1138 vp9_variance8x8 = vp9_variance8x8_c; | |
| 1139 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; | |
| 1140 vp9_vector_var = vp9_vector_var_c; | 1006 vp9_vector_var = vp9_vector_var_c; |
| 1141 if (flags & HAS_SSE2) vp9_vector_var = vp9_vector_var_sse2; | 1007 if (flags & HAS_SSE2) vp9_vector_var = vp9_vector_var_sse2; |
| 1142 } | 1008 } |
| 1143 #endif | 1009 #endif |
| 1144 | 1010 |
| 1145 #ifdef __cplusplus | 1011 #ifdef __cplusplus |
| 1146 } // extern "C" | 1012 } // extern "C" |
| 1147 #endif | 1013 #endif |
| 1148 | 1014 |
| 1149 #endif | 1015 #endif |
| OLD | NEW |