1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/libvpx/vp8_rtcd_x86-win32-vs8.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,835 @@ 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 +RTCD_EXTERN void (*vp8_clear_system_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 +RTCD_EXTERN void (*vp8_dequantize_b)(struct blockd*, short *dqc); 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 +RTCD_EXTERN void (*vp8_dequant_idct_add)(short *input, short *dq, unsigned char *output, int stride); 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 +RTCD_EXTERN void (*vp8_dequant_idct_add_y_block)(short *q, short *dq, unsigned char *dst, int stride, char *eobs); 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 +RTCD_EXTERN void (*vp8_dequant_idct_add_uv_block)(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs); 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 +RTCD_EXTERN void (*vp8_loop_filter_mbv)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 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 +RTCD_EXTERN void (*vp8_loop_filter_bv)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 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 +RTCD_EXTERN void (*vp8_loop_filter_mbh)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 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 +RTCD_EXTERN void (*vp8_loop_filter_bh)(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi); 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 +RTCD_EXTERN void (*vp8_loop_filter_simple_mbv)(unsigned char *y, int ystride, const unsigned char *blimit); 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 +RTCD_EXTERN void (*vp8_loop_filter_simple_mbh)(unsigned char *y, int ystride, const unsigned char *blimit); 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 +RTCD_EXTERN void (*vp8_loop_filter_simple_bv)(unsigned char *y, int ystride, const unsigned char *blimit); 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 +RTCD_EXTERN void (*vp8_loop_filter_simple_bh)(unsigned char *y, int ystride, const unsigned char *blimit); 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 +RTCD_EXTERN void (*vp8_short_idct4x4llm)(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride); 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 +RTCD_EXTERN void (*vp8_short_inv_walsh4x4)(short *input, short *output); 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 +RTCD_EXTERN void (*vp8_dc_only_idct_add)(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride); 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 +RTCD_EXTERN void (*vp8_copy_mem16x16)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 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 +RTCD_EXTERN void (*vp8_copy_mem8x8)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 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 +RTCD_EXTERN void (*vp8_copy_mem8x4)(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch); 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 +RTCD_EXTERN void (*vp8_mbpost_proc_down)(unsigned char *dst, int pitch, int rows, int cols,int flimit); 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 +RTCD_EXTERN void (*vp8_mbpost_proc_across_ip)(unsigned char *dst, int pitch, int rows, int cols,int flimit); 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 +RTCD_EXTERN void (*vp8_post_proc_down_and_across_mb_row)(unsigned char *src, unsigned char *dst, int src_pitch, int dst_pitch, int cols, unsigned char *flimits, int size); 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 +RTCD_EXTERN void (*vp8_plane_add_noise)(unsigned char *s, char *noise, char blackclamp[16], char whiteclamp[16], char bothclamp[16], unsigned int w, unsigned int h, int pitch); 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 +RTCD_EXTERN void (*vp8_filter_by_weight16x16)(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 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 +RTCD_EXTERN void (*vp8_filter_by_weight8x8)(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight); 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 +RTCD_EXTERN void (*vp8_bilinear_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 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 +RTCD_EXTERN void (*vp8_bilinear_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch); 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 +RTCD_EXTERN unsigned int (*vp8_variance4x4)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance8x8)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance8x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance16x8)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance16x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance4x4)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance8x8)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_variance8x16)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_h)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_v)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_variance_halfpixvar16x16_hv)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_sad4x4)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 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 +RTCD_EXTERN unsigned int (*vp8_sad8x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 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 +RTCD_EXTERN unsigned int (*vp8_sad8x16)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 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 +RTCD_EXTERN unsigned int (*vp8_sad16x8)(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad); 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 +RTCD_EXTERN unsigned int (*vp8_get_mb_ss)(const short *); 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 +RTCD_EXTERN unsigned int (*vp8_sub_pixel_mse16x16)(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_mse16x16)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse); 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 +RTCD_EXTERN unsigned int (*vp8_get4x4sse_cs)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 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 +RTCD_EXTERN void (*vp8_short_fdct4x4)(short *input, short *output, int pitch); 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 +RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); 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 +RTCD_EXTERN void (*vp8_short_walsh4x4)(short *input, short *output, int pitch); 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 +RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); 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 +RTCD_EXTERN int (*vp8_block_error)(short *coeff, short *dqcoeff); 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 +RTCD_EXTERN int (*vp8_mbblock_error)(struct macroblock *mb, int dc); 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 +RTCD_EXTERN int (*vp8_mbuverror)(struct macroblock *mb); 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 +RTCD_EXTERN void (*vp8_subtract_b)(struct block *be, struct blockd *bd, int pitch); 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 +RTCD_EXTERN void (*vp8_subtract_mby)(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride); 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 +RTCD_EXTERN void (*vp8_subtract_mbuv)(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride); 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 +RTCD_EXTERN void (*vp8_temporal_filter_apply)(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.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 +RTCD_EXTERN int (*vp8_denoiser_filter)(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.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 + vp8_clear_system_state = vp8_clear_system_state_c; 1.495 + if (flags & HAS_MMX) vp8_clear_system_state = vpx_reset_mmx_state; 1.496 + 1.497 + vp8_dequantize_b = vp8_dequantize_b_c; 1.498 + if (flags & HAS_MMX) vp8_dequantize_b = vp8_dequantize_b_mmx; 1.499 + 1.500 + vp8_dequant_idct_add = vp8_dequant_idct_add_c; 1.501 + if (flags & HAS_MMX) vp8_dequant_idct_add = vp8_dequant_idct_add_mmx; 1.502 + 1.503 + vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_c; 1.504 + if (flags & HAS_MMX) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_mmx; 1.505 + if (flags & HAS_SSE2) vp8_dequant_idct_add_y_block = vp8_dequant_idct_add_y_block_sse2; 1.506 + 1.507 + vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_c; 1.508 + if (flags & HAS_MMX) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_mmx; 1.509 + if (flags & HAS_SSE2) vp8_dequant_idct_add_uv_block = vp8_dequant_idct_add_uv_block_sse2; 1.510 + 1.511 + vp8_loop_filter_mbv = vp8_loop_filter_mbv_c; 1.512 + if (flags & HAS_MMX) vp8_loop_filter_mbv = vp8_loop_filter_mbv_mmx; 1.513 + if (flags & HAS_SSE2) vp8_loop_filter_mbv = vp8_loop_filter_mbv_sse2; 1.514 + 1.515 + vp8_loop_filter_bv = vp8_loop_filter_bv_c; 1.516 + if (flags & HAS_MMX) vp8_loop_filter_bv = vp8_loop_filter_bv_mmx; 1.517 + if (flags & HAS_SSE2) vp8_loop_filter_bv = vp8_loop_filter_bv_sse2; 1.518 + 1.519 + vp8_loop_filter_mbh = vp8_loop_filter_mbh_c; 1.520 + if (flags & HAS_MMX) vp8_loop_filter_mbh = vp8_loop_filter_mbh_mmx; 1.521 + if (flags & HAS_SSE2) vp8_loop_filter_mbh = vp8_loop_filter_mbh_sse2; 1.522 + 1.523 + vp8_loop_filter_bh = vp8_loop_filter_bh_c; 1.524 + if (flags & HAS_MMX) vp8_loop_filter_bh = vp8_loop_filter_bh_mmx; 1.525 + if (flags & HAS_SSE2) vp8_loop_filter_bh = vp8_loop_filter_bh_sse2; 1.526 + 1.527 + vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_c; 1.528 + if (flags & HAS_MMX) vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_mmx; 1.529 + if (flags & HAS_SSE2) vp8_loop_filter_simple_mbv = vp8_loop_filter_simple_vertical_edge_sse2; 1.530 + 1.531 + vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_c; 1.532 + if (flags & HAS_MMX) vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_mmx; 1.533 + if (flags & HAS_SSE2) vp8_loop_filter_simple_mbh = vp8_loop_filter_simple_horizontal_edge_sse2; 1.534 + 1.535 + vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_c; 1.536 + if (flags & HAS_MMX) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_mmx; 1.537 + if (flags & HAS_SSE2) vp8_loop_filter_simple_bv = vp8_loop_filter_bvs_sse2; 1.538 + 1.539 + vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_c; 1.540 + if (flags & HAS_MMX) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_mmx; 1.541 + if (flags & HAS_SSE2) vp8_loop_filter_simple_bh = vp8_loop_filter_bhs_sse2; 1.542 + 1.543 + vp8_short_idct4x4llm = vp8_short_idct4x4llm_c; 1.544 + if (flags & HAS_MMX) vp8_short_idct4x4llm = vp8_short_idct4x4llm_mmx; 1.545 + 1.546 + 1.547 + vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_c; 1.548 + if (flags & HAS_MMX) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_mmx; 1.549 + if (flags & HAS_SSE2) vp8_short_inv_walsh4x4 = vp8_short_inv_walsh4x4_sse2; 1.550 + 1.551 + vp8_dc_only_idct_add = vp8_dc_only_idct_add_c; 1.552 + if (flags & HAS_MMX) vp8_dc_only_idct_add = vp8_dc_only_idct_add_mmx; 1.553 + 1.554 + vp8_copy_mem16x16 = vp8_copy_mem16x16_c; 1.555 + if (flags & HAS_MMX) vp8_copy_mem16x16 = vp8_copy_mem16x16_mmx; 1.556 + if (flags & HAS_SSE2) vp8_copy_mem16x16 = vp8_copy_mem16x16_sse2; 1.557 + 1.558 + vp8_copy_mem8x8 = vp8_copy_mem8x8_c; 1.559 + if (flags & HAS_MMX) vp8_copy_mem8x8 = vp8_copy_mem8x8_mmx; 1.560 + 1.561 + vp8_copy_mem8x4 = vp8_copy_mem8x4_c; 1.562 + if (flags & HAS_MMX) vp8_copy_mem8x4 = vp8_copy_mem8x4_mmx; 1.563 + 1.564 + vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_c; 1.565 + if (flags & HAS_SSE2) vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_sse2; 1.566 + if (flags & HAS_SSSE3) vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_ssse3; 1.567 + 1.568 + vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_c; 1.569 + if (flags & HAS_SSE2) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_sse2; 1.570 + if (flags & HAS_SSSE3) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_ssse3; 1.571 + 1.572 + 1.573 + vp8_mbpost_proc_down = vp8_mbpost_proc_down_c; 1.574 + if (flags & HAS_MMX) vp8_mbpost_proc_down = vp8_mbpost_proc_down_mmx; 1.575 + if (flags & HAS_SSE2) vp8_mbpost_proc_down = vp8_mbpost_proc_down_xmm; 1.576 + 1.577 + vp8_mbpost_proc_across_ip = vp8_mbpost_proc_across_ip_c; 1.578 + if (flags & HAS_SSE2) vp8_mbpost_proc_across_ip = vp8_mbpost_proc_across_ip_xmm; 1.579 + 1.580 + vp8_post_proc_down_and_across_mb_row = vp8_post_proc_down_and_across_mb_row_c; 1.581 + if (flags & HAS_SSE2) vp8_post_proc_down_and_across_mb_row = vp8_post_proc_down_and_across_mb_row_sse2; 1.582 + 1.583 + vp8_plane_add_noise = vp8_plane_add_noise_c; 1.584 + if (flags & HAS_MMX) vp8_plane_add_noise = vp8_plane_add_noise_mmx; 1.585 + if (flags & HAS_SSE2) vp8_plane_add_noise = vp8_plane_add_noise_wmt; 1.586 + 1.587 + 1.588 + 1.589 + 1.590 + vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_c; 1.591 + if (flags & HAS_SSE2) vp8_filter_by_weight16x16 = vp8_filter_by_weight16x16_sse2; 1.592 + 1.593 + vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_c; 1.594 + if (flags & HAS_SSE2) vp8_filter_by_weight8x8 = vp8_filter_by_weight8x8_sse2; 1.595 + 1.596 + 1.597 + vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_c; 1.598 + if (flags & HAS_MMX) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_mmx; 1.599 + if (flags & HAS_SSE2) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2; 1.600 + if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3; 1.601 + 1.602 + vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_c; 1.603 + if (flags & HAS_MMX) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_mmx; 1.604 + if (flags & HAS_SSE2) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2; 1.605 + if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3; 1.606 + 1.607 + vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_c; 1.608 + if (flags & HAS_MMX) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_mmx; 1.609 + if (flags & HAS_SSE2) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2; 1.610 + if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3; 1.611 + 1.612 + vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_c; 1.613 + if (flags & HAS_MMX) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx; 1.614 + if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3; 1.615 + 1.616 + vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_c; 1.617 + if (flags & HAS_MMX) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_mmx; 1.618 + if (flags & HAS_SSE2) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2; 1.619 + if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3; 1.620 + 1.621 + vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_c; 1.622 + if (flags & HAS_MMX) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_mmx; 1.623 + if (flags & HAS_SSE2) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2; 1.624 + if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3; 1.625 + 1.626 + vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_c; 1.627 + if (flags & HAS_MMX) vp8_bilinear_predict8x4 = vp8_bilinear_predict8x4_mmx; 1.628 + 1.629 + vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_c; 1.630 + if (flags & HAS_MMX) vp8_bilinear_predict4x4 = vp8_bilinear_predict4x4_mmx; 1.631 + 1.632 + vp8_variance4x4 = vp8_variance4x4_c; 1.633 + if (flags & HAS_MMX) vp8_variance4x4 = vp8_variance4x4_mmx; 1.634 + if (flags & HAS_SSE2) vp8_variance4x4 = vp8_variance4x4_wmt; 1.635 + 1.636 + vp8_variance8x8 = vp8_variance8x8_c; 1.637 + if (flags & HAS_MMX) vp8_variance8x8 = vp8_variance8x8_mmx; 1.638 + if (flags & HAS_SSE2) vp8_variance8x8 = vp8_variance8x8_wmt; 1.639 + 1.640 + vp8_variance8x16 = vp8_variance8x16_c; 1.641 + if (flags & HAS_MMX) vp8_variance8x16 = vp8_variance8x16_mmx; 1.642 + if (flags & HAS_SSE2) vp8_variance8x16 = vp8_variance8x16_wmt; 1.643 + 1.644 + vp8_variance16x8 = vp8_variance16x8_c; 1.645 + if (flags & HAS_MMX) vp8_variance16x8 = vp8_variance16x8_mmx; 1.646 + if (flags & HAS_SSE2) vp8_variance16x8 = vp8_variance16x8_wmt; 1.647 + 1.648 + vp8_variance16x16 = vp8_variance16x16_c; 1.649 + if (flags & HAS_MMX) vp8_variance16x16 = vp8_variance16x16_mmx; 1.650 + if (flags & HAS_SSE2) vp8_variance16x16 = vp8_variance16x16_wmt; 1.651 + 1.652 + vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_c; 1.653 + if (flags & HAS_MMX) vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_mmx; 1.654 + if (flags & HAS_SSE2) vp8_sub_pixel_variance4x4 = vp8_sub_pixel_variance4x4_wmt; 1.655 + 1.656 + vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_c; 1.657 + if (flags & HAS_MMX) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_mmx; 1.658 + if (flags & HAS_SSE2) vp8_sub_pixel_variance8x8 = vp8_sub_pixel_variance8x8_wmt; 1.659 + 1.660 + vp8_sub_pixel_variance8x16 = vp8_sub_pixel_variance8x16_c; 1.661 + if (flags & HAS_MMX) vp8_sub_pixel_variance8x16 = vp8_sub_pixel_variance8x16_mmx; 1.662 + if (flags & HAS_SSE2) vp8_sub_pixel_variance8x16 = vp8_sub_pixel_variance8x16_wmt; 1.663 + 1.664 + vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_c; 1.665 + if (flags & HAS_MMX) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_mmx; 1.666 + if (flags & HAS_SSE2) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; 1.667 + if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_ssse3; 1.668 + 1.669 + vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_c; 1.670 + if (flags & HAS_MMX) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_mmx; 1.671 + if (flags & HAS_SSE2) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_wmt; 1.672 + if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_ssse3; 1.673 + 1.674 + vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_c; 1.675 + if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_mmx; 1.676 + if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_h = vp8_variance_halfpixvar16x16_h_wmt; 1.677 + 1.678 + vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_c; 1.679 + if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_mmx; 1.680 + if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_v = vp8_variance_halfpixvar16x16_v_wmt; 1.681 + 1.682 + vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_c; 1.683 + if (flags & HAS_MMX) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_mmx; 1.684 + if (flags & HAS_SSE2) vp8_variance_halfpixvar16x16_hv = vp8_variance_halfpixvar16x16_hv_wmt; 1.685 + 1.686 + vp8_sad4x4 = vp8_sad4x4_c; 1.687 + if (flags & HAS_MMX) vp8_sad4x4 = vp8_sad4x4_mmx; 1.688 + if (flags & HAS_SSE2) vp8_sad4x4 = vp8_sad4x4_wmt; 1.689 + 1.690 + vp8_sad8x8 = vp8_sad8x8_c; 1.691 + if (flags & HAS_MMX) vp8_sad8x8 = vp8_sad8x8_mmx; 1.692 + if (flags & HAS_SSE2) vp8_sad8x8 = vp8_sad8x8_wmt; 1.693 + 1.694 + vp8_sad8x16 = vp8_sad8x16_c; 1.695 + if (flags & HAS_MMX) vp8_sad8x16 = vp8_sad8x16_mmx; 1.696 + if (flags & HAS_SSE2) vp8_sad8x16 = vp8_sad8x16_wmt; 1.697 + 1.698 + vp8_sad16x8 = vp8_sad16x8_c; 1.699 + if (flags & HAS_MMX) vp8_sad16x8 = vp8_sad16x8_mmx; 1.700 + if (flags & HAS_SSE2) vp8_sad16x8 = vp8_sad16x8_wmt; 1.701 + 1.702 + vp8_sad16x16 = vp8_sad16x16_c; 1.703 + if (flags & HAS_MMX) vp8_sad16x16 = vp8_sad16x16_mmx; 1.704 + if (flags & HAS_SSE2) vp8_sad16x16 = vp8_sad16x16_wmt; 1.705 + if (flags & HAS_SSE3) vp8_sad16x16 = vp8_sad16x16_sse3; 1.706 + 1.707 + vp8_sad4x4x3 = vp8_sad4x4x3_c; 1.708 + if (flags & HAS_SSE3) vp8_sad4x4x3 = vp8_sad4x4x3_sse3; 1.709 + 1.710 + vp8_sad8x8x3 = vp8_sad8x8x3_c; 1.711 + if (flags & HAS_SSE3) vp8_sad8x8x3 = vp8_sad8x8x3_sse3; 1.712 + 1.713 + vp8_sad8x16x3 = vp8_sad8x16x3_c; 1.714 + if (flags & HAS_SSE3) vp8_sad8x16x3 = vp8_sad8x16x3_sse3; 1.715 + 1.716 + vp8_sad16x8x3 = vp8_sad16x8x3_c; 1.717 + if (flags & HAS_SSE3) vp8_sad16x8x3 = vp8_sad16x8x3_sse3; 1.718 + if (flags & HAS_SSSE3) vp8_sad16x8x3 = vp8_sad16x8x3_ssse3; 1.719 + 1.720 + vp8_sad16x16x3 = vp8_sad16x16x3_c; 1.721 + if (flags & HAS_SSE3) vp8_sad16x16x3 = vp8_sad16x16x3_sse3; 1.722 + if (flags & HAS_SSSE3) vp8_sad16x16x3 = vp8_sad16x16x3_ssse3; 1.723 + 1.724 + vp8_sad4x4x8 = vp8_sad4x4x8_c; 1.725 + if (flags & HAS_SSE4_1) vp8_sad4x4x8 = vp8_sad4x4x8_sse4; 1.726 + 1.727 + vp8_sad8x8x8 = vp8_sad8x8x8_c; 1.728 + if (flags & HAS_SSE4_1) vp8_sad8x8x8 = vp8_sad8x8x8_sse4; 1.729 + 1.730 + vp8_sad8x16x8 = vp8_sad8x16x8_c; 1.731 + if (flags & HAS_SSE4_1) vp8_sad8x16x8 = vp8_sad8x16x8_sse4; 1.732 + 1.733 + vp8_sad16x8x8 = vp8_sad16x8x8_c; 1.734 + if (flags & HAS_SSE4_1) vp8_sad16x8x8 = vp8_sad16x8x8_sse4; 1.735 + 1.736 + vp8_sad16x16x8 = vp8_sad16x16x8_c; 1.737 + if (flags & HAS_SSE4_1) vp8_sad16x16x8 = vp8_sad16x16x8_sse4; 1.738 + 1.739 + vp8_sad4x4x4d = vp8_sad4x4x4d_c; 1.740 + if (flags & HAS_SSE3) vp8_sad4x4x4d = vp8_sad4x4x4d_sse3; 1.741 + 1.742 + vp8_sad8x8x4d = vp8_sad8x8x4d_c; 1.743 + if (flags & HAS_SSE3) vp8_sad8x8x4d = vp8_sad8x8x4d_sse3; 1.744 + 1.745 + vp8_sad8x16x4d = vp8_sad8x16x4d_c; 1.746 + if (flags & HAS_SSE3) vp8_sad8x16x4d = vp8_sad8x16x4d_sse3; 1.747 + 1.748 + vp8_sad16x8x4d = vp8_sad16x8x4d_c; 1.749 + if (flags & HAS_SSE3) vp8_sad16x8x4d = vp8_sad16x8x4d_sse3; 1.750 + 1.751 + vp8_sad16x16x4d = vp8_sad16x16x4d_c; 1.752 + if (flags & HAS_SSE3) vp8_sad16x16x4d = vp8_sad16x16x4d_sse3; 1.753 + 1.754 + vp8_get_mb_ss = vp8_get_mb_ss_c; 1.755 + if (flags & HAS_MMX) vp8_get_mb_ss = vp8_get_mb_ss_mmx; 1.756 + if (flags & HAS_SSE2) vp8_get_mb_ss = vp8_get_mb_ss_sse2; 1.757 + 1.758 + vp8_sub_pixel_mse16x16 = vp8_sub_pixel_mse16x16_c; 1.759 + if (flags & HAS_MMX) vp8_sub_pixel_mse16x16 = vp8_sub_pixel_mse16x16_mmx; 1.760 + if (flags & HAS_SSE2) vp8_sub_pixel_mse16x16 = vp8_sub_pixel_mse16x16_wmt; 1.761 + 1.762 + vp8_mse16x16 = vp8_mse16x16_c; 1.763 + if (flags & HAS_MMX) vp8_mse16x16 = vp8_mse16x16_mmx; 1.764 + if (flags & HAS_SSE2) vp8_mse16x16 = vp8_mse16x16_wmt; 1.765 + 1.766 + vp8_get4x4sse_cs = vp8_get4x4sse_cs_c; 1.767 + if (flags & HAS_MMX) vp8_get4x4sse_cs = vp8_get4x4sse_cs_mmx; 1.768 + 1.769 + vp8_copy32xn = vp8_copy32xn_c; 1.770 + if (flags & HAS_SSE2) vp8_copy32xn = vp8_copy32xn_sse2; 1.771 + if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3; 1.772 + 1.773 + vp8_short_fdct4x4 = vp8_short_fdct4x4_c; 1.774 + if (flags & HAS_MMX) vp8_short_fdct4x4 = vp8_short_fdct4x4_mmx; 1.775 + if (flags & HAS_SSE2) vp8_short_fdct4x4 = vp8_short_fdct4x4_sse2; 1.776 + 1.777 + vp8_short_fdct8x4 = vp8_short_fdct8x4_c; 1.778 + if (flags & HAS_MMX) vp8_short_fdct8x4 = vp8_short_fdct8x4_mmx; 1.779 + if (flags & HAS_SSE2) vp8_short_fdct8x4 = vp8_short_fdct8x4_sse2; 1.780 + 1.781 + vp8_short_walsh4x4 = vp8_short_walsh4x4_c; 1.782 + if (flags & HAS_SSE2) vp8_short_walsh4x4 = vp8_short_walsh4x4_sse2; 1.783 + 1.784 + vp8_regular_quantize_b = vp8_regular_quantize_b_c; 1.785 + if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; 1.786 + 1.787 + vp8_fast_quantize_b = vp8_fast_quantize_b_c; 1.788 + if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; 1.789 + if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; 1.790 + 1.791 + 1.792 + 1.793 + 1.794 + 1.795 + 1.796 + vp8_block_error = vp8_block_error_c; 1.797 + if (flags & HAS_MMX) vp8_block_error = vp8_block_error_mmx; 1.798 + if (flags & HAS_SSE2) vp8_block_error = vp8_block_error_xmm; 1.799 + 1.800 + vp8_mbblock_error = vp8_mbblock_error_c; 1.801 + if (flags & HAS_MMX) vp8_mbblock_error = vp8_mbblock_error_mmx; 1.802 + if (flags & HAS_SSE2) vp8_mbblock_error = vp8_mbblock_error_xmm; 1.803 + 1.804 + vp8_mbuverror = vp8_mbuverror_c; 1.805 + if (flags & HAS_MMX) vp8_mbuverror = vp8_mbuverror_mmx; 1.806 + if (flags & HAS_SSE2) vp8_mbuverror = vp8_mbuverror_xmm; 1.807 + 1.808 + vp8_subtract_b = vp8_subtract_b_c; 1.809 + if (flags & HAS_MMX) vp8_subtract_b = vp8_subtract_b_mmx; 1.810 + if (flags & HAS_SSE2) vp8_subtract_b = vp8_subtract_b_sse2; 1.811 + 1.812 + vp8_subtract_mby = vp8_subtract_mby_c; 1.813 + if (flags & HAS_MMX) vp8_subtract_mby = vp8_subtract_mby_mmx; 1.814 + if (flags & HAS_SSE2) vp8_subtract_mby = vp8_subtract_mby_sse2; 1.815 + 1.816 + vp8_subtract_mbuv = vp8_subtract_mbuv_c; 1.817 + if (flags & HAS_MMX) vp8_subtract_mbuv = vp8_subtract_mbuv_mmx; 1.818 + if (flags & HAS_SSE2) vp8_subtract_mbuv = vp8_subtract_mbuv_sse2; 1.819 + 1.820 + vp8_full_search_sad = vp8_full_search_sad_c; 1.821 + if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; 1.822 + if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; 1.823 + 1.824 + vp8_refining_search_sad = vp8_refining_search_sad_c; 1.825 + if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; 1.826 + 1.827 + vp8_diamond_search_sad = vp8_diamond_search_sad_c; 1.828 + if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; 1.829 + 1.830 + vp8_temporal_filter_apply = vp8_temporal_filter_apply_c; 1.831 + if (flags & HAS_SSE2) vp8_temporal_filter_apply = vp8_temporal_filter_apply_sse2; 1.832 + 1.833 + 1.834 + vp8_denoiser_filter = vp8_denoiser_filter_c; 1.835 + if (flags & HAS_SSE2) vp8_denoiser_filter = vp8_denoiser_filter_sse2; 1.836 +} 1.837 +#endif 1.838 +#endif