1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp8_rtcd_x86_64-win64-vs8.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,655 @@ 1.4 +#ifndef VP8_RTCD_H_ 1.5 +#define VP8_RTCD_H_ 1.6 + 1.7 +#ifdef RTCD_C 1.8 +#define RTCD_EXTERN 1.9 +#else 1.10 +#define RTCD_EXTERN extern 1.11 +#endif 1.12 + 1.13 +/* 1.14 + * VP8 1.15 + */ 1.16 + 1.17 +struct blockd; 1.18 +struct macroblockd; 1.19 +struct loop_filter_info; 1.20 + 1.21 +/* Encoder forward decls */ 1.22 +struct block; 1.23 +struct macroblock; 1.24 +struct variance_vtable; 1.25 +union int_mv; 1.26 +struct yv12_buffer_config; 1.27 + 1.28 +void vp8_clear_system_state_c(); 1.29 +void vpx_reset_mmx_state(); 1.30 +#define vp8_clear_system_state vpx_reset_mmx_state 1.31 + 1.32 +void vp8_dequantize_b_c(struct blockd*, short *dqc); 1.33 +void vp8_dequantize_b_mmx(struct blockd*, short *dqc); 1.34 +#define vp8_dequantize_b vp8_dequantize_b_mmx 1.35 + 1.36 +void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride); 1.37 +void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, int stride); 1.38 +#define vp8_dequant_idct_add vp8_dequant_idct_add_mmx 1.39 + 1.40 +void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.41 +void vp8_dequant_idct_add_y_block_mmx(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.42 +void vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 1.43 +#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2 1.44 + 1.45 +void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.46 +void vp8_dequant_idct_add_uv_block_mmx(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.47 +void vp8_dequant_idct_add_uv_block_sse2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 1.48 +#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2 1.49 + 1.50 +void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.51 +void vp8_loop_filter_mbv_mmx(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.52 +void vp8_loop_filter_mbv_sse2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.53 +#define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2 1.54 + 1.55 +void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.56 +void vp8_loop_filter_bv_mmx(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.57 +void vp8_loop_filter_bv_sse2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.58 +#define vp8_loop_filter_bv vp8_loop_filter_bv_sse2 1.59 + 1.60 +void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.61 +void vp8_loop_filter_mbh_mmx(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.62 +void vp8_loop_filter_mbh_sse2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.63 +#define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2 1.64 + 1.65 +void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.66 +void vp8_loop_filter_bh_mmx(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.67 +void vp8_loop_filter_bh_sse2(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 1.68 +#define vp8_loop_filter_bh vp8_loop_filter_bh_sse2 1.69 + 1.70 +void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.71 +void vp8_loop_filter_simple_vertical_edge_mmx(unsigned char *y, int ystride, const unsigned char *blimit); 1.72 +void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char *y, int ystride, const unsigned char *blimit); 1.73 +#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2 1.74 + 1.75 +void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.76 +void vp8_loop_filter_simple_horizontal_edge_mmx(unsigned char *y, int ystride, const unsigned char *blimit); 1.77 +void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char *y, int ystride, const unsigned char *blimit); 1.78 +#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2 1.79 + 1.80 +void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.81 +void vp8_loop_filter_bvs_mmx(unsigned char *y, int ystride, const unsigned char *blimit); 1.82 +void vp8_loop_filter_bvs_sse2(unsigned char *y, int ystride, const unsigned char *blimit); 1.83 +#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2 1.84 + 1.85 +void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit); 1.86 +void vp8_loop_filter_bhs_mmx(unsigned char *y, int ystride, const unsigned char *blimit); 1.87 +void vp8_loop_filter_bhs_sse2(unsigned char *y, int ystride, const unsigned char *blimit); 1.88 +#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2 1.89 + 1.90 +void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 1.91 +void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 1.92 +#define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx 1.93 + 1.94 +void vp8_short_inv_walsh4x4_1_c(short *input, short *output); 1.95 +#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c 1.96 + 1.97 +void vp8_short_inv_walsh4x4_c(short *input, short *output); 1.98 +void vp8_short_inv_walsh4x4_mmx(short *input, short *output); 1.99 +void vp8_short_inv_walsh4x4_sse2(short *input, short *output); 1.100 +#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2 1.101 + 1.102 +void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 1.103 +void vp8_dc_only_idct_add_mmx(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 1.104 +#define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx 1.105 + 1.106 +void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.107 +void vp8_copy_mem16x16_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.108 +void vp8_copy_mem16x16_sse2(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.109 +#define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2 1.110 + 1.111 +void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.112 +void vp8_copy_mem8x8_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.113 +#define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx 1.114 + 1.115 +void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.116 +void vp8_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 1.117 +#define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx 1.118 + 1.119 +void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride); 1.120 +void vp8_build_intra_predictors_mby_s_sse2(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride); 1.121 +void vp8_build_intra_predictors_mby_s_ssse3(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride); 1.122 +RTCD_EXTERN void (*vp8_build_intra_predictors_mby_s)(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride); 1.123 + 1.124 +void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride); 1.125 +void vp8_build_intra_predictors_mbuv_s_sse2(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride); 1.126 +void vp8_build_intra_predictors_mbuv_s_ssse3(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride); 1.127 +RTCD_EXTERN void (*vp8_build_intra_predictors_mbuv_s)(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride); 1.128 + 1.129 +void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, int b_mode, unsigned char *dst, int dst_stride, unsigned char top_left); 1.130 +#define vp8_intra4x4_predict vp8_intra4x4_predict_c 1.131 + 1.132 +void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit); 1.133 +void vp8_mbpost_proc_down_mmx(unsigned char *dst, int pitch, int rows, int cols,int flimit); 1.134 +void vp8_mbpost_proc_down_xmm(unsigned char *dst, int pitch, int rows, int cols,int flimit); 1.135 +#define vp8_mbpost_proc_down vp8_mbpost_proc_down_xmm 1.136 + 1.137 +void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit); 1.138 +void vp8_mbpost_proc_across_ip_xmm(unsigned char *dst, int pitch, int rows, int cols,int flimit); 1.139 +#define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_xmm 1.140 + 1.141 +void vp8_post_proc_down_and_across_mb_row_c(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); 1.142 +void vp8_post_proc_down_and_across_mb_row_sse2(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); 1.143 +#define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_row_sse2 1.144 + 1.145 +void vp8_plane_add_noise_c(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch); 1.146 +void vp8_plane_add_noise_mmx(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch); 1.147 +void vp8_plane_add_noise_wmt(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch); 1.148 +#define vp8_plane_add_noise vp8_plane_add_noise_wmt 1.149 + 1.150 +void vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); 1.151 +#define vp8_blend_mb_inner vp8_blend_mb_inner_c 1.152 + 1.153 +void vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); 1.154 +#define vp8_blend_mb_outer vp8_blend_mb_outer_c 1.155 + 1.156 +void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride); 1.157 +#define vp8_blend_b vp8_blend_b_c 1.158 + 1.159 +void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 1.160 +void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 1.161 +#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2 1.162 + 1.163 +void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 1.164 +void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 1.165 +#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2 1.166 + 1.167 +void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 1.168 +#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c 1.169 + 1.170 +void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.171 +void vp8_sixtap_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.172 +void vp8_sixtap_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.173 +void vp8_sixtap_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.174 +RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.175 + 1.176 +void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.177 +void vp8_sixtap_predict8x8_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.178 +void vp8_sixtap_predict8x8_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.179 +void vp8_sixtap_predict8x8_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.180 +RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.181 + 1.182 +void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.183 +void vp8_sixtap_predict8x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.184 +void vp8_sixtap_predict8x4_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.185 +void vp8_sixtap_predict8x4_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.186 +RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.187 + 1.188 +void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.189 +void vp8_sixtap_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.190 +void vp8_sixtap_predict4x4_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.191 +RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.192 + 1.193 +void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.194 +void vp8_bilinear_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.195 +void vp8_bilinear_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.196 +void vp8_bilinear_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.197 +RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.198 + 1.199 +void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.200 +void vp8_bilinear_predict8x8_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.201 +void vp8_bilinear_predict8x8_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.202 +void vp8_bilinear_predict8x8_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.203 +RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.204 + 1.205 +void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.206 +void vp8_bilinear_predict8x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.207 +#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_mmx 1.208 + 1.209 +void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.210 +void vp8_bilinear_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 1.211 +#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_mmx 1.212 + 1.213 +unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.214 +unsigned int vp8_variance4x4_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.215 +unsigned int vp8_variance4x4_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.216 +#define vp8_variance4x4 vp8_variance4x4_wmt 1.217 + 1.218 +unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.219 +unsigned int vp8_variance8x8_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.220 +unsigned int vp8_variance8x8_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.221 +#define vp8_variance8x8 vp8_variance8x8_wmt 1.222 + 1.223 +unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.224 +unsigned int vp8_variance8x16_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.225 +unsigned int vp8_variance8x16_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.226 +#define vp8_variance8x16 vp8_variance8x16_wmt 1.227 + 1.228 +unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.229 +unsigned int vp8_variance16x8_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.230 +unsigned int vp8_variance16x8_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.231 +#define vp8_variance16x8 vp8_variance16x8_wmt 1.232 + 1.233 +unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.234 +unsigned int vp8_variance16x16_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.235 +unsigned int vp8_variance16x16_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.236 +#define vp8_variance16x16 vp8_variance16x16_wmt 1.237 + 1.238 +unsigned int vp8_sub_pixel_variance4x4_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.239 +unsigned int vp8_sub_pixel_variance4x4_mmx(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.240 +unsigned int vp8_sub_pixel_variance4x4_wmt(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.241 +#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_wmt 1.242 + 1.243 +unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.244 +unsigned int vp8_sub_pixel_variance8x8_mmx(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.245 +unsigned int vp8_sub_pixel_variance8x8_wmt(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.246 +#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_wmt 1.247 + 1.248 +unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.249 +unsigned int vp8_sub_pixel_variance8x16_mmx(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.250 +unsigned int vp8_sub_pixel_variance8x16_wmt(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.251 +#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_wmt 1.252 + 1.253 +unsigned int vp8_sub_pixel_variance16x8_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.254 +unsigned int vp8_sub_pixel_variance16x8_mmx(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.255 +unsigned int vp8_sub_pixel_variance16x8_wmt(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.256 +unsigned int vp8_sub_pixel_variance16x8_ssse3(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.257 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance16x8)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.258 + 1.259 +unsigned int vp8_sub_pixel_variance16x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.260 +unsigned int vp8_sub_pixel_variance16x16_mmx(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.261 +unsigned int vp8_sub_pixel_variance16x16_wmt(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.262 +unsigned int vp8_sub_pixel_variance16x16_ssse3(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.263 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance16x16)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.264 + 1.265 +unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.266 +unsigned int vp8_variance_halfpixvar16x16_h_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.267 +unsigned int vp8_variance_halfpixvar16x16_h_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.268 +#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_wmt 1.269 + 1.270 +unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.271 +unsigned int vp8_variance_halfpixvar16x16_v_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.272 +unsigned int vp8_variance_halfpixvar16x16_v_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.273 +#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_wmt 1.274 + 1.275 +unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.276 +unsigned int vp8_variance_halfpixvar16x16_hv_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.277 +unsigned int vp8_variance_halfpixvar16x16_hv_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.278 +#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_wmt 1.279 + 1.280 +unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.281 +unsigned int vp8_sad4x4_mmx(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.282 +unsigned int vp8_sad4x4_wmt(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.283 +#define vp8_sad4x4 vp8_sad4x4_wmt 1.284 + 1.285 +unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.286 +unsigned int vp8_sad8x8_mmx(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.287 +unsigned int vp8_sad8x8_wmt(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.288 +#define vp8_sad8x8 vp8_sad8x8_wmt 1.289 + 1.290 +unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.291 +unsigned int vp8_sad8x16_mmx(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.292 +unsigned int vp8_sad8x16_wmt(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.293 +#define vp8_sad8x16 vp8_sad8x16_wmt 1.294 + 1.295 +unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.296 +unsigned int vp8_sad16x8_mmx(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.297 +unsigned int vp8_sad16x8_wmt(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.298 +#define vp8_sad16x8 vp8_sad16x8_wmt 1.299 + 1.300 +unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.301 +unsigned int vp8_sad16x16_mmx(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.302 +unsigned int vp8_sad16x16_wmt(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.303 +unsigned int vp8_sad16x16_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.304 +RTCD_EXTERN unsigned int (*vp8_sad16x16)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 1.305 + 1.306 +void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.307 +void vp8_sad4x4x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.308 +RTCD_EXTERN void (*vp8_sad4x4x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.309 + 1.310 +void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.311 +void vp8_sad8x8x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.312 +RTCD_EXTERN void (*vp8_sad8x8x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.313 + 1.314 +void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.315 +void vp8_sad8x16x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.316 +RTCD_EXTERN void (*vp8_sad8x16x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.317 + 1.318 +void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.319 +void vp8_sad16x8x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.320 +void vp8_sad16x8x3_ssse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.321 +RTCD_EXTERN void (*vp8_sad16x8x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.322 + 1.323 +void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.324 +void vp8_sad16x16x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.325 +void vp8_sad16x16x3_ssse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.326 +RTCD_EXTERN void (*vp8_sad16x16x3)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array); 1.327 + 1.328 +void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.329 +void vp8_sad4x4x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.330 +RTCD_EXTERN void (*vp8_sad4x4x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.331 + 1.332 +void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.333 +void vp8_sad8x8x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.334 +RTCD_EXTERN void (*vp8_sad8x8x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.335 + 1.336 +void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.337 +void vp8_sad8x16x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.338 +RTCD_EXTERN void (*vp8_sad8x16x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.339 + 1.340 +void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.341 +void vp8_sad16x8x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.342 +RTCD_EXTERN void (*vp8_sad16x8x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.343 + 1.344 +void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.345 +void vp8_sad16x16x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.346 +RTCD_EXTERN void (*vp8_sad16x16x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array); 1.347 + 1.348 +void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.349 +void vp8_sad4x4x4d_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.350 +RTCD_EXTERN void (*vp8_sad4x4x4d)(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.351 + 1.352 +void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.353 +void vp8_sad8x8x4d_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.354 +RTCD_EXTERN void (*vp8_sad8x8x4d)(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.355 + 1.356 +void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.357 +void vp8_sad8x16x4d_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.358 +RTCD_EXTERN void (*vp8_sad8x16x4d)(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.359 + 1.360 +void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.361 +void vp8_sad16x8x4d_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.362 +RTCD_EXTERN void (*vp8_sad16x8x4d)(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.363 + 1.364 +void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.365 +void vp8_sad16x16x4d_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.366 +RTCD_EXTERN void (*vp8_sad16x16x4d)(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array); 1.367 + 1.368 +unsigned int vp8_get_mb_ss_c(const short *); 1.369 +unsigned int vp8_get_mb_ss_mmx(const short *); 1.370 +unsigned int vp8_get_mb_ss_sse2(const short *); 1.371 +#define vp8_get_mb_ss vp8_get_mb_ss_sse2 1.372 + 1.373 +unsigned int vp8_sub_pixel_mse16x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.374 +unsigned int vp8_sub_pixel_mse16x16_mmx(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.375 +unsigned int vp8_sub_pixel_mse16x16_wmt(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 1.376 +#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_wmt 1.377 + 1.378 +unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.379 +unsigned int vp8_mse16x16_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.380 +unsigned int vp8_mse16x16_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 1.381 +#define vp8_mse16x16 vp8_mse16x16_wmt 1.382 + 1.383 +unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 1.384 +unsigned int vp8_get4x4sse_cs_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 1.385 +#define vp8_get4x4sse_cs vp8_get4x4sse_cs_mmx 1.386 + 1.387 +void vp8_copy32xn_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n); 1.388 +void vp8_copy32xn_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n); 1.389 +void vp8_copy32xn_sse3(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n); 1.390 +RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n); 1.391 + 1.392 +void vp8_short_fdct4x4_c(short *input, short *output, int pitch); 1.393 +void vp8_short_fdct4x4_mmx(short *input, short *output, int pitch); 1.394 +void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch); 1.395 +#define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2 1.396 + 1.397 +void vp8_short_fdct8x4_c(short *input, short *output, int pitch); 1.398 +void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch); 1.399 +void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch); 1.400 +#define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2 1.401 + 1.402 +void vp8_short_walsh4x4_c(short *input, short *output, int pitch); 1.403 +void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch); 1.404 +#define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2 1.405 + 1.406 +void vp8_regular_quantize_b_c(struct block *, struct blockd *); 1.407 +void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); 1.408 +#define vp8_regular_quantize_b vp8_regular_quantize_b_sse2 1.409 + 1.410 +void vp8_fast_quantize_b_c(struct block *, struct blockd *); 1.411 +void vp8_fast_quantize_b_sse2(struct block *, struct blockd *); 1.412 +void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *); 1.413 +RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); 1.414 + 1.415 +void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); 1.416 +#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c 1.417 + 1.418 +void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2); 1.419 +#define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c 1.420 + 1.421 +void vp8_quantize_mb_c(struct macroblock *); 1.422 +#define vp8_quantize_mb vp8_quantize_mb_c 1.423 + 1.424 +void vp8_quantize_mby_c(struct macroblock *); 1.425 +#define vp8_quantize_mby vp8_quantize_mby_c 1.426 + 1.427 +void vp8_quantize_mbuv_c(struct macroblock *); 1.428 +#define vp8_quantize_mbuv vp8_quantize_mbuv_c 1.429 + 1.430 +int vp8_block_error_c(short *coeff, short *dqcoeff); 1.431 +int vp8_block_error_mmx(short *coeff, short *dqcoeff); 1.432 +int vp8_block_error_xmm(short *coeff, short *dqcoeff); 1.433 +#define vp8_block_error vp8_block_error_xmm 1.434 + 1.435 +int vp8_mbblock_error_c(struct macroblock *mb, int dc); 1.436 +int vp8_mbblock_error_mmx(struct macroblock *mb, int dc); 1.437 +int vp8_mbblock_error_xmm(struct macroblock *mb, int dc); 1.438 +#define vp8_mbblock_error vp8_mbblock_error_xmm 1.439 + 1.440 +int vp8_mbuverror_c(struct macroblock *mb); 1.441 +int vp8_mbuverror_mmx(struct macroblock *mb); 1.442 +int vp8_mbuverror_xmm(struct macroblock *mb); 1.443 +#define vp8_mbuverror vp8_mbuverror_xmm 1.444 + 1.445 +void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch); 1.446 +void vp8_subtract_b_mmx(struct block *be, struct blockd *bd, int pitch); 1.447 +void vp8_subtract_b_sse2(struct block *be, struct blockd *bd, int pitch); 1.448 +#define vp8_subtract_b vp8_subtract_b_sse2 1.449 + 1.450 +void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.451 +void vp8_subtract_mby_mmx(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.452 +void vp8_subtract_mby_sse2(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 1.453 +#define vp8_subtract_mby vp8_subtract_mby_sse2 1.454 + 1.455 +void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.456 +void vp8_subtract_mbuv_mmx(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.457 +void vp8_subtract_mbuv_sse2(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 1.458 +#define vp8_subtract_mbuv vp8_subtract_mbuv_sse2 1.459 + 1.460 +int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.461 +int vp8_full_search_sadx3(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.462 +int vp8_full_search_sadx8(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.463 +RTCD_EXTERN int (*vp8_full_search_sad)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.464 + 1.465 +int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.466 +int vp8_refining_search_sadx4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.467 +RTCD_EXTERN int (*vp8_refining_search_sad)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.468 + 1.469 +int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.470 +int vp8_diamond_search_sadx4(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.471 +RTCD_EXTERN int (*vp8_diamond_search_sad)(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv); 1.472 + 1.473 +void vp8_temporal_filter_apply_c(unsigned char *frame1, unsigned int stride, unsigned char *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, unsigned short *count); 1.474 +void vp8_temporal_filter_apply_sse2(unsigned char *frame1, unsigned int stride, unsigned char *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, unsigned short *count); 1.475 +#define vp8_temporal_filter_apply vp8_temporal_filter_apply_sse2 1.476 + 1.477 +void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); 1.478 +#define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c 1.479 + 1.480 +int vp8_denoiser_filter_c(struct yv12_buffer_config* mc_running_avg, struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magnitude2, int y_offset, int uv_offset); 1.481 +int vp8_denoiser_filter_sse2(struct yv12_buffer_config* mc_running_avg, struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magnitude2, int y_offset, int uv_offset); 1.482 +#define vp8_denoiser_filter vp8_denoiser_filter_sse2 1.483 + 1.484 +void vp8_rtcd(void); 1.485 + 1.486 +#ifdef RTCD_C 1.487 +#include "vpx_ports/x86.h" 1.488 +static void setup_rtcd_internal(void) 1.489 +{ 1.490 + int flags = x86_simd_caps(); 1.491 + 1.492 + (void)flags; 1.493 + 1.494 + 1.495 + 1.496 + 1.497 + 1.498 + 1.499 + 1.500 + 1.501 + 1.502 + 1.503 + 1.504 + 1.505 + 1.506 + 1.507 + 1.508 + 1.509 + 1.510 + 1.511 + 1.512 + 1.513 + 1.514 + vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_sse2; 1.515 + if (flags & HAS_SSSE3) vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_ssse3; 1.516 + 1.517 + vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_sse2; 1.518 + if (flags & HAS_SSSE3) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_ssse3; 1.519 + 1.520 + 1.521 + 1.522 + 1.523 + 1.524 + 1.525 + 1.526 + 1.527 + 1.528 + 1.529 + 1.530 + 1.531 + vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2; 1.532 + if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3; 1.533 + 1.534 + vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2; 1.535 + if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3; 1.536 + 1.537 + vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2; 1.538 + if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3; 1.539 + 1.540 + vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx; 1.541 + if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3; 1.542 + 1.543 + vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2; 1.544 + if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3; 1.545 + 1.546 + vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2; 1.547 + if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3; 1.548 + 1.549 + 1.550 + 1.551 + 1.552 + 1.553 + 1.554 + 1.555 + 1.556 + 1.557 + 1.558 + 1.559 + vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; 1.560 + if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_ssse3; 1.561 + 1.562 + vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_wmt; 1.563 + if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_ssse3; 1.564 + 1.565 + 1.566 + 1.567 + 1.568 + 1.569 + 1.570 + 1.571 + 1.572 + vp8_sad16x16 = vp8_sad16x16_wmt; 1.573 + if (flags & HAS_SSE3) vp8_sad16x16 = vp8_sad16x16_sse3; 1.574 + 1.575 + vp8_sad4x4x3 = vp8_sad4x4x3_c; 1.576 + if (flags & HAS_SSE3) vp8_sad4x4x3 = vp8_sad4x4x3_sse3; 1.577 + 1.578 + vp8_sad8x8x3 = vp8_sad8x8x3_c; 1.579 + if (flags & HAS_SSE3) vp8_sad8x8x3 = vp8_sad8x8x3_sse3; 1.580 + 1.581 + vp8_sad8x16x3 = vp8_sad8x16x3_c; 1.582 + if (flags & HAS_SSE3) vp8_sad8x16x3 = vp8_sad8x16x3_sse3; 1.583 + 1.584 + vp8_sad16x8x3 = vp8_sad16x8x3_c; 1.585 + if (flags & HAS_SSE3) vp8_sad16x8x3 = vp8_sad16x8x3_sse3; 1.586 + if (flags & HAS_SSSE3) vp8_sad16x8x3 = vp8_sad16x8x3_ssse3; 1.587 + 1.588 + vp8_sad16x16x3 = vp8_sad16x16x3_c; 1.589 + if (flags & HAS_SSE3) vp8_sad16x16x3 = vp8_sad16x16x3_sse3; 1.590 + if (flags & HAS_SSSE3) vp8_sad16x16x3 = vp8_sad16x16x3_ssse3; 1.591 + 1.592 + vp8_sad4x4x8 = vp8_sad4x4x8_c; 1.593 + if (flags & HAS_SSE4_1) vp8_sad4x4x8 = vp8_sad4x4x8_sse4; 1.594 + 1.595 + vp8_sad8x8x8 = vp8_sad8x8x8_c; 1.596 + if (flags & HAS_SSE4_1) vp8_sad8x8x8 = vp8_sad8x8x8_sse4; 1.597 + 1.598 + vp8_sad8x16x8 = vp8_sad8x16x8_c; 1.599 + if (flags & HAS_SSE4_1) vp8_sad8x16x8 = vp8_sad8x16x8_sse4; 1.600 + 1.601 + vp8_sad16x8x8 = vp8_sad16x8x8_c; 1.602 + if (flags & HAS_SSE4_1) vp8_sad16x8x8 = vp8_sad16x8x8_sse4; 1.603 + 1.604 + vp8_sad16x16x8 = vp8_sad16x16x8_c; 1.605 + if (flags & HAS_SSE4_1) vp8_sad16x16x8 = vp8_sad16x16x8_sse4; 1.606 + 1.607 + vp8_sad4x4x4d = vp8_sad4x4x4d_c; 1.608 + if (flags & HAS_SSE3) vp8_sad4x4x4d = vp8_sad4x4x4d_sse3; 1.609 + 1.610 + vp8_sad8x8x4d = vp8_sad8x8x4d_c; 1.611 + if (flags & HAS_SSE3) vp8_sad8x8x4d = vp8_sad8x8x4d_sse3; 1.612 + 1.613 + vp8_sad8x16x4d = vp8_sad8x16x4d_c; 1.614 + if (flags & HAS_SSE3) vp8_sad8x16x4d = vp8_sad8x16x4d_sse3; 1.615 + 1.616 + vp8_sad16x8x4d = vp8_sad16x8x4d_c; 1.617 + if (flags & HAS_SSE3) vp8_sad16x8x4d = vp8_sad16x8x4d_sse3; 1.618 + 1.619 + vp8_sad16x16x4d = vp8_sad16x16x4d_c; 1.620 + if (flags & HAS_SSE3) vp8_sad16x16x4d = vp8_sad16x16x4d_sse3; 1.621 + 1.622 + 1.623 + 1.624 + 1.625 + 1.626 + vp8_copy32xn = vp8_copy32xn_sse2; 1.627 + if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3; 1.628 + 1.629 + 1.630 + 1.631 + 1.632 + 1.633 + vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; 1.634 + if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; 1.635 + 1.636 + 1.637 + 1.638 + 1.639 + 1.640 + 1.641 + 1.642 + 1.643 + 1.644 + 1.645 + 1.646 + 1.647 + vp8_full_search_sad = vp8_full_search_sad_c; 1.648 + if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; 1.649 + if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; 1.650 + 1.651 + vp8_refining_search_sad = vp8_refining_search_sad_c; 1.652 + if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; 1.653 + 1.654 + vp8_diamond_search_sad = vp8_diamond_search_sad_c; 1.655 + if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; 1.656 +} 1.657 +#endif 1.658 +#endif