| OLD | NEW |
| 1 vp9_common_forward_decls() { | 1 vp9_common_forward_decls() { |
| 2 cat <<EOF | 2 cat <<EOF |
| 3 /* | 3 /* |
| 4 * VP9 | 4 * VP9 |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 #include "vpx/vpx_integer.h" | 7 #include "vpx/vpx_integer.h" |
| 8 #include "vp9/common/vp9_enums.h" | 8 #include "vp9/common/vp9_enums.h" |
| 9 | 9 |
| 10 struct macroblockd; | 10 struct macroblockd; |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 prototype unsigned int vp9_variance8x4 "const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" | 379 prototype unsigned int vp9_variance8x4 "const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" |
| 380 specialize vp9_variance8x4 $sse2_x86inc | 380 specialize vp9_variance8x4 $sse2_x86inc |
| 381 | 381 |
| 382 prototype unsigned int vp9_variance4x8 "const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" | 382 prototype unsigned int vp9_variance4x8 "const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" |
| 383 specialize vp9_variance4x8 $sse2_x86inc | 383 specialize vp9_variance4x8 $sse2_x86inc |
| 384 | 384 |
| 385 prototype unsigned int vp9_variance4x4 "const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" | 385 prototype unsigned int vp9_variance4x4 "const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse" |
| 386 specialize vp9_variance4x4 mmx $sse2_x86inc | 386 specialize vp9_variance4x4 mmx $sse2_x86inc |
| 387 | 387 |
| 388 prototype unsigned int vp9_sub_pixel_variance64x64 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 388 prototype unsigned int vp9_sub_pixel_variance64x64 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 389 specialize vp9_sub_pixel_variance64x64 $sse2_x86inc $ssse3_x86inc | 389 specialize vp9_sub_pixel_variance64x64 $sse2_x86inc $ssse3_x86inc avx2 |
| 390 | 390 |
| 391 prototype unsigned int vp9_sub_pixel_avg_variance64x64 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" | 391 prototype unsigned int vp9_sub_pixel_avg_variance64x64 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" |
| 392 specialize vp9_sub_pixel_avg_variance64x64 $sse2_x86inc $ssse3_x86inc | 392 specialize vp9_sub_pixel_avg_variance64x64 $sse2_x86inc $ssse3_x86inc avx2 |
| 393 | 393 |
| 394 prototype unsigned int vp9_sub_pixel_variance32x64 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 394 prototype unsigned int vp9_sub_pixel_variance32x64 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 395 specialize vp9_sub_pixel_variance32x64 $sse2_x86inc $ssse3_x86inc | 395 specialize vp9_sub_pixel_variance32x64 $sse2_x86inc $ssse3_x86inc |
| 396 | 396 |
| 397 prototype unsigned int vp9_sub_pixel_avg_variance32x64 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" | 397 prototype unsigned int vp9_sub_pixel_avg_variance32x64 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" |
| 398 specialize vp9_sub_pixel_avg_variance32x64 $sse2_x86inc $ssse3_x86inc | 398 specialize vp9_sub_pixel_avg_variance32x64 $sse2_x86inc $ssse3_x86inc |
| 399 | 399 |
| 400 prototype unsigned int vp9_sub_pixel_variance64x32 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 400 prototype unsigned int vp9_sub_pixel_variance64x32 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 401 specialize vp9_sub_pixel_variance64x32 $sse2_x86inc $ssse3_x86inc | 401 specialize vp9_sub_pixel_variance64x32 $sse2_x86inc $ssse3_x86inc |
| 402 | 402 |
| 403 prototype unsigned int vp9_sub_pixel_avg_variance64x32 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" | 403 prototype unsigned int vp9_sub_pixel_avg_variance64x32 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" |
| 404 specialize vp9_sub_pixel_avg_variance64x32 $sse2_x86inc $ssse3_x86inc | 404 specialize vp9_sub_pixel_avg_variance64x32 $sse2_x86inc $ssse3_x86inc |
| 405 | 405 |
| 406 prototype unsigned int vp9_sub_pixel_variance32x16 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 406 prototype unsigned int vp9_sub_pixel_variance32x16 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 407 specialize vp9_sub_pixel_variance32x16 $sse2_x86inc $ssse3_x86inc | 407 specialize vp9_sub_pixel_variance32x16 $sse2_x86inc $ssse3_x86inc |
| 408 | 408 |
| 409 prototype unsigned int vp9_sub_pixel_avg_variance32x16 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" | 409 prototype unsigned int vp9_sub_pixel_avg_variance32x16 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" |
| 410 specialize vp9_sub_pixel_avg_variance32x16 $sse2_x86inc $ssse3_x86inc | 410 specialize vp9_sub_pixel_avg_variance32x16 $sse2_x86inc $ssse3_x86inc |
| 411 | 411 |
| 412 prototype unsigned int vp9_sub_pixel_variance16x32 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 412 prototype unsigned int vp9_sub_pixel_variance16x32 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 413 specialize vp9_sub_pixel_variance16x32 $sse2_x86inc $ssse3_x86inc | 413 specialize vp9_sub_pixel_variance16x32 $sse2_x86inc $ssse3_x86inc |
| 414 | 414 |
| 415 prototype unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred" | 415 prototype unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred" |
| 416 specialize vp9_sub_pixel_avg_variance16x32 $sse2_x86inc $ssse3_x86inc | 416 specialize vp9_sub_pixel_avg_variance16x32 $sse2_x86inc $ssse3_x86inc |
| 417 | 417 |
| 418 prototype unsigned int vp9_sub_pixel_variance32x32 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 418 prototype unsigned int vp9_sub_pixel_variance32x32 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 419 specialize vp9_sub_pixel_variance32x32 $sse2_x86inc $ssse3_x86inc | 419 specialize vp9_sub_pixel_variance32x32 $sse2_x86inc $ssse3_x86inc avx2 |
| 420 | 420 |
| 421 prototype unsigned int vp9_sub_pixel_avg_variance32x32 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" | 421 prototype unsigned int vp9_sub_pixel_avg_variance32x32 "const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse, const uint8_t *second_pred" |
| 422 specialize vp9_sub_pixel_avg_variance32x32 $sse2_x86inc $ssse3_x86inc | 422 specialize vp9_sub_pixel_avg_variance32x32 $sse2_x86inc $ssse3_x86inc avx2 |
| 423 | 423 |
| 424 prototype unsigned int vp9_sub_pixel_variance16x16 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" | 424 prototype unsigned int vp9_sub_pixel_variance16x16 "const uint8_t *src_ptr, int
source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride
, unsigned int *sse" |
| 425 specialize vp9_sub_pixel_variance16x16 $sse2_x86inc $ssse3_x86inc | 425 specialize vp9_sub_pixel_variance16x16 $sse2_x86inc $ssse3_x86inc |
| 426 | 426 |
| 427 prototype unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred" | 427 prototype unsigned int vp9_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, unsigned int *sse, const uint8_t *second_pred" |
| 428 specialize vp9_sub_pixel_avg_variance16x16 $sse2_x86inc $ssse3_x86inc | 428 specialize vp9_sub_pixel_avg_variance16x16 $sse2_x86inc $ssse3_x86inc |
| 429 | 429 |
| 430 prototype unsigned int vp9_sub_pixel_variance8x16 "const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse" | 430 prototype unsigned int vp9_sub_pixel_variance8x16 "const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse" |
| 431 specialize vp9_sub_pixel_variance8x16 $sse2_x86inc $ssse3_x86inc | 431 specialize vp9_sub_pixel_variance8x16 $sse2_x86inc $ssse3_x86inc |
| 432 | 432 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 prototype unsigned int vp9_sub_pixel_mse64x64 "const uint8_t *src_ptr, int sour
ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse" | 676 prototype unsigned int vp9_sub_pixel_mse64x64 "const uint8_t *src_ptr, int sour
ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse" |
| 677 specialize vp9_sub_pixel_mse64x64 | 677 specialize vp9_sub_pixel_mse64x64 |
| 678 | 678 |
| 679 prototype unsigned int vp9_sub_pixel_mse32x32 "const uint8_t *src_ptr, int sour
ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse" | 679 prototype unsigned int vp9_sub_pixel_mse32x32 "const uint8_t *src_ptr, int sour
ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse" |
| 680 specialize vp9_sub_pixel_mse32x32 | 680 specialize vp9_sub_pixel_mse32x32 |
| 681 | 681 |
| 682 prototype unsigned int vp9_get_mb_ss "const int16_t *" | 682 prototype unsigned int vp9_get_mb_ss "const int16_t *" |
| 683 specialize vp9_get_mb_ss mmx sse2 | 683 specialize vp9_get_mb_ss mmx sse2 |
| 684 # ENCODEMB INVOKE | 684 # ENCODEMB INVOKE |
| 685 | 685 |
| 686 prototype int64_t vp9_block_error "int16_t *coeff, int16_t *dqcoeff, intptr_t bl
ock_size, int64_t *ssz" | 686 prototype int64_t vp9_block_error "const int16_t *coeff, const int16_t *dqcoeff,
intptr_t block_size, int64_t *ssz" |
| 687 specialize vp9_block_error $sse2_x86inc | 687 specialize vp9_block_error $sse2_x86inc |
| 688 | 688 |
| 689 prototype void vp9_subtract_block "int rows, int cols, int16_t *diff_ptr, ptrdif
f_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pr
ed_ptr, ptrdiff_t pred_stride" | 689 prototype void vp9_subtract_block "int rows, int cols, int16_t *diff_ptr, ptrdif
f_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pr
ed_ptr, ptrdiff_t pred_stride" |
| 690 specialize vp9_subtract_block $sse2_x86inc | 690 specialize vp9_subtract_block $sse2_x86inc |
| 691 | 691 |
| 692 prototype void vp9_quantize_b "const int16_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, int16_t *qcoeff_ptr, int16_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" | 692 prototype void vp9_quantize_b "const int16_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, int16_t *qcoeff_ptr, int16_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" |
| 693 specialize vp9_quantize_b $ssse3_x86_64 | 693 specialize vp9_quantize_b $ssse3_x86_64 |
| 694 | 694 |
| 695 prototype void vp9_quantize_b_32x32 "const int16_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, int16_t *qcoeff_ptr, int16_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" | 695 prototype void vp9_quantize_b_32x32 "const int16_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, int16_t *qcoeff_ptr, int16_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" |
| 696 specialize vp9_quantize_b_32x32 $ssse3_x86_64 | 696 specialize vp9_quantize_b_32x32 $ssse3_x86_64 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 | 730 |
| 731 prototype void vp9_fdct32x32 "const int16_t *input, int16_t *output, int stride" | 731 prototype void vp9_fdct32x32 "const int16_t *input, int16_t *output, int stride" |
| 732 specialize vp9_fdct32x32 sse2 avx2 | 732 specialize vp9_fdct32x32 sse2 avx2 |
| 733 | 733 |
| 734 prototype void vp9_fdct32x32_rd "const int16_t *input, int16_t *output, int stri
de" | 734 prototype void vp9_fdct32x32_rd "const int16_t *input, int16_t *output, int stri
de" |
| 735 specialize vp9_fdct32x32_rd sse2 avx2 | 735 specialize vp9_fdct32x32_rd sse2 avx2 |
| 736 | 736 |
| 737 # | 737 # |
| 738 # Motion search | 738 # Motion search |
| 739 # | 739 # |
| 740 prototype 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,
DEC_MVCOSTS, const struct mv *center_mv, int n" | 740 prototype 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,
DEC_MVCOSTS, const struct mv *center_mv, struct mv *best_mv" |
| 741 specialize vp9_full_search_sad sse3 sse4_1 | 741 specialize vp9_full_search_sad sse3 sse4_1 |
| 742 vp9_full_search_sad_sse3=vp9_full_search_sadx3 | 742 vp9_full_search_sad_sse3=vp9_full_search_sadx3 |
| 743 vp9_full_search_sad_sse4_1=vp9_full_search_sadx8 | 743 vp9_full_search_sad_sse4_1=vp9_full_search_sadx8 |
| 744 | 744 |
| 745 prototype int vp9_refining_search_sad "const struct macroblock *x, struct mv *re
f_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, D
EC_MVCOSTS, const struct mv *center_mv" | 745 prototype int vp9_refining_search_sad "const struct macroblock *x, struct mv *re
f_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, D
EC_MVCOSTS, const struct mv *center_mv" |
| 746 specialize vp9_refining_search_sad sse3 | 746 specialize vp9_refining_search_sad sse3 |
| 747 vp9_refining_search_sad_sse3=vp9_refining_search_sadx4 | 747 vp9_refining_search_sad_sse3=vp9_refining_search_sadx4 |
| 748 | 748 |
| 749 prototype int vp9_diamond_search_sad "const struct macroblock *x, struct mv *ref
_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const st
ruct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv" | 749 prototype int vp9_diamond_search_sad "const struct macroblock *x, struct mv *ref
_mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const st
ruct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv" |
| 750 specialize vp9_diamond_search_sad sse3 | 750 specialize vp9_diamond_search_sad sse3 |
| 751 vp9_diamond_search_sad_sse3=vp9_diamond_search_sadx4 | 751 vp9_diamond_search_sad_sse3=vp9_diamond_search_sadx4 |
| 752 | 752 |
| 753 prototype int vp9_full_range_search "const struct macroblock *x, struct mv *ref_
mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const str
uct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv" | 753 prototype int vp9_full_range_search "const struct macroblock *x, struct mv *ref_
mv, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, const str
uct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv" |
| 754 specialize vp9_full_range_search | 754 specialize vp9_full_range_search |
| 755 | 755 |
| 756 prototype void vp9_temporal_filter_apply "uint8_t *frame1, unsigned int stride,
uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsig
ned int *accumulator, uint16_t *count" | 756 prototype void vp9_temporal_filter_apply "uint8_t *frame1, unsigned int stride,
uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsig
ned int *accumulator, uint16_t *count" |
| 757 specialize vp9_temporal_filter_apply sse2 | 757 specialize vp9_temporal_filter_apply sse2 |
| 758 | 758 |
| 759 fi | 759 fi |
| 760 # end encoder functions | 760 # end encoder functions |
| OLD | NEW |