OLD | NEW |
1 sub vp9_common_forward_decls() { | 1 sub vp9_common_forward_decls() { |
2 print <<EOF | 2 print <<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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 | 710 |
711 add_proto qw/int64_t vp9_block_error/, "const int16_t *coeff, const int16_t *dqc
oeff, intptr_t block_size, int64_t *ssz"; | 711 add_proto qw/int64_t vp9_block_error/, "const int16_t *coeff, const int16_t *dqc
oeff, intptr_t block_size, int64_t *ssz"; |
712 specialize qw/vp9_block_error avx2/, "$sse2_x86inc"; | 712 specialize qw/vp9_block_error avx2/, "$sse2_x86inc"; |
713 | 713 |
714 add_proto qw/void vp9_subtract_block/, "int rows, int cols, int16_t *diff_ptr, p
trdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_
t *pred_ptr, ptrdiff_t pred_stride"; | 714 add_proto qw/void vp9_subtract_block/, "int rows, int cols, int16_t *diff_ptr, p
trdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_
t *pred_ptr, ptrdiff_t pred_stride"; |
715 specialize qw/vp9_subtract_block/, "$sse2_x86inc"; | 715 specialize qw/vp9_subtract_block/, "$sse2_x86inc"; |
716 | 716 |
717 add_proto qw/void vp9_quantize_fp/, "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"; | 717 add_proto qw/void vp9_quantize_fp/, "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"; |
718 specialize qw/vp9_quantize_fp/, "$ssse3_x86_64"; | 718 specialize qw/vp9_quantize_fp/, "$ssse3_x86_64"; |
719 | 719 |
| 720 add_proto qw/void vp9_quantize_fp_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 *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan"; |
| 721 specialize qw/vp9_quantize_fp_32x32/, "$ssse3_x86_64"; |
| 722 |
720 add_proto qw/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 *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_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"; | 723 add_proto qw/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 *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_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"; |
721 specialize qw/vp9_quantize_b/, "$ssse3_x86_64"; | 724 specialize qw/vp9_quantize_b/, "$ssse3_x86_64"; |
722 | 725 |
723 add_proto qw/void vp9_quantize_b_32x32/, "const int16_t *coeff_ptr, intptr_t n_c
oeffs, 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
*dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan"; | 726 add_proto qw/void vp9_quantize_b_32x32/, "const int16_t *coeff_ptr, intptr_t n_c
oeffs, 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
*dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan"; |
724 specialize qw/vp9_quantize_b_32x32/, "$ssse3_x86_64"; | 727 specialize qw/vp9_quantize_b_32x32/, "$ssse3_x86_64"; |
725 | 728 |
726 # | 729 # |
727 # Structured Similarity (SSIM) | 730 # Structured Similarity (SSIM) |
728 # | 731 # |
729 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") { | 732 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 | 779 |
777 # | 780 # |
778 # Motion search | 781 # Motion search |
779 # | 782 # |
780 add_proto qw/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"; | 783 add_proto qw/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"; |
781 specialize qw/vp9_full_search_sad sse3 sse4_1/; | 784 specialize qw/vp9_full_search_sad sse3 sse4_1/; |
782 $vp9_full_search_sad_sse3=vp9_full_search_sadx3; | 785 $vp9_full_search_sad_sse3=vp9_full_search_sadx3; |
783 $vp9_full_search_sad_sse4_1=vp9_full_search_sadx8; | 786 $vp9_full_search_sad_sse4_1=vp9_full_search_sadx8; |
784 | 787 |
785 add_proto qw/int vp9_refining_search_sad/, "const struct macroblock *x, struct m
v *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_p
tr, const struct mv *center_mv"; | 788 add_proto qw/int vp9_refining_search_sad/, "const struct macroblock *x, struct m
v *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_p
tr, const struct mv *center_mv"; |
786 specialize qw/vp9_refining_search_sad sse3/; | 789 specialize qw/vp9_refining_search_sad/; |
787 $vp9_refining_search_sad_sse3=vp9_refining_search_sadx4; | |
788 | 790 |
789 add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, const str
uct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_
param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, co
nst struct mv *center_mv"; | 791 add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, const str
uct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_
param, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, co
nst struct mv *center_mv"; |
790 specialize qw/vp9_diamond_search_sad sse3/; | 792 specialize qw/vp9_diamond_search_sad/; |
791 $vp9_diamond_search_sad_sse3=vp9_diamond_search_sadx4; | |
792 | 793 |
793 add_proto qw/int vp9_full_range_search/, "const struct macroblock *x, const stru
ct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_pa
ram, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, cons
t struct mv *center_mv"; | 794 add_proto qw/int vp9_full_range_search/, "const struct macroblock *x, const stru
ct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_pa
ram, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, cons
t struct mv *center_mv"; |
794 specialize qw/vp9_full_range_search/; | 795 specialize qw/vp9_full_range_search/; |
795 | 796 |
796 add_proto qw/void vp9_temporal_filter_apply/, "uint8_t *frame1, unsigned int str
ide, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int s
trength, int filter_weight, unsigned int *accumulator, uint16_t *count"; | 797 add_proto qw/void vp9_temporal_filter_apply/, "uint8_t *frame1, unsigned int str
ide, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int s
trength, int filter_weight, unsigned int *accumulator, uint16_t *count"; |
797 specialize qw/vp9_temporal_filter_apply sse2/; | 798 specialize qw/vp9_temporal_filter_apply sse2/; |
798 | 799 |
799 } | 800 } |
800 # end encoder functions | 801 # end encoder functions |
801 1; | 802 1; |
OLD | NEW |