media/libvpx/vpx_rtcd_x86_64-linux-gcc.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vpx_rtcd_x86_64-linux-gcc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,726 @@
     1.4 +#ifndef VPX_RTCD_
     1.5 +#define VPX_RTCD_
     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 +#include "vp8/common/blockd.h"
    1.14 +
    1.15 +struct blockd;
    1.16 +struct macroblockd;
    1.17 +struct loop_filter_info;
    1.18 +
    1.19 +/* Encoder forward decls */
    1.20 +struct block;
    1.21 +struct macroblock;
    1.22 +struct variance_vtable;
    1.23 +union int_mv;
    1.24 +struct yv12_buffer_config;
    1.25 +
    1.26 +void vp8_dequantize_b_c(struct blockd*, short *dqc);
    1.27 +void vp8_dequantize_b_mmx(struct blockd*, short *dqc);
    1.28 +#define vp8_dequantize_b vp8_dequantize_b_mmx
    1.29 +
    1.30 +void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
    1.31 +void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, int stride);
    1.32 +#define vp8_dequant_idct_add vp8_dequant_idct_add_mmx
    1.33 +
    1.34 +void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.35 +void vp8_dequant_idct_add_y_block_mmx(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.36 +void vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
    1.37 +#define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2
    1.38 +
    1.39 +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.40 +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.41 +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.42 +#define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2
    1.43 +
    1.44 +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.45 +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.46 +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.47 +#define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2
    1.48 +
    1.49 +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.50 +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.51 +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.52 +#define vp8_loop_filter_bv vp8_loop_filter_bv_sse2
    1.53 +
    1.54 +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.55 +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.56 +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.57 +#define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2
    1.58 +
    1.59 +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.60 +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.61 +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.62 +#define vp8_loop_filter_bh vp8_loop_filter_bh_sse2
    1.63 +
    1.64 +void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.65 +void vp8_loop_filter_simple_vertical_edge_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
    1.66 +void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
    1.67 +#define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2
    1.68 +
    1.69 +void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.70 +void vp8_loop_filter_simple_horizontal_edge_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
    1.71 +void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
    1.72 +#define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2
    1.73 +
    1.74 +void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.75 +void vp8_loop_filter_bvs_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
    1.76 +void vp8_loop_filter_bvs_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
    1.77 +#define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2
    1.78 +
    1.79 +void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
    1.80 +void vp8_loop_filter_bhs_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
    1.81 +void vp8_loop_filter_bhs_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
    1.82 +#define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2
    1.83 +
    1.84 +void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
    1.85 +void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
    1.86 +#define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx
    1.87 +
    1.88 +void vp8_short_inv_walsh4x4_1_c(short *input, short *output);
    1.89 +#define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
    1.90 +
    1.91 +void vp8_short_inv_walsh4x4_c(short *input, short *output);
    1.92 +void vp8_short_inv_walsh4x4_mmx(short *input, short *output);
    1.93 +void vp8_short_inv_walsh4x4_sse2(short *input, short *output);
    1.94 +#define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2
    1.95 +
    1.96 +void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
    1.97 +void vp8_dc_only_idct_add_mmx(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
    1.98 +#define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx
    1.99 +
   1.100 +void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.101 +void vp8_copy_mem16x16_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.102 +void vp8_copy_mem16x16_sse2(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.103 +#define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2
   1.104 +
   1.105 +void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.106 +void vp8_copy_mem8x8_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.107 +#define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx
   1.108 +
   1.109 +void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.110 +void vp8_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
   1.111 +#define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx
   1.112 +
   1.113 +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.114 +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.115 +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.116 +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.117 +
   1.118 +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.119 +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.120 +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.121 +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.122 +
   1.123 +void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
   1.124 +#define vp8_intra4x4_predict vp8_intra4x4_predict_c
   1.125 +
   1.126 +void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
   1.127 +void vp8_mbpost_proc_down_mmx(unsigned char *dst, int pitch, int rows, int cols,int flimit);
   1.128 +void vp8_mbpost_proc_down_xmm(unsigned char *dst, int pitch, int rows, int cols,int flimit);
   1.129 +#define vp8_mbpost_proc_down vp8_mbpost_proc_down_xmm
   1.130 +
   1.131 +void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
   1.132 +void vp8_mbpost_proc_across_ip_xmm(unsigned char *dst, int pitch, int rows, int cols,int flimit);
   1.133 +#define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_xmm
   1.134 +
   1.135 +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.136 +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.137 +#define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_row_sse2
   1.138 +
   1.139 +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.140 +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.141 +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.142 +#define vp8_plane_add_noise vp8_plane_add_noise_wmt
   1.143 +
   1.144 +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.145 +#define vp8_blend_mb_inner vp8_blend_mb_inner_c
   1.146 +
   1.147 +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.148 +#define vp8_blend_mb_outer vp8_blend_mb_outer_c
   1.149 +
   1.150 +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.151 +#define vp8_blend_b vp8_blend_b_c
   1.152 +
   1.153 +void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
   1.154 +void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
   1.155 +#define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2
   1.156 +
   1.157 +void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
   1.158 +void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
   1.159 +#define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2
   1.160 +
   1.161 +void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
   1.162 +#define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
   1.163 +
   1.164 +void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.165 +void vp8_sixtap_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.166 +void vp8_sixtap_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.167 +void vp8_sixtap_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.168 +RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.169 +
   1.170 +void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.171 +void vp8_sixtap_predict8x8_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.172 +void vp8_sixtap_predict8x8_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.173 +void vp8_sixtap_predict8x8_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.174 +RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.175 +
   1.176 +void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.177 +void vp8_sixtap_predict8x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.178 +void vp8_sixtap_predict8x4_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.179 +void vp8_sixtap_predict8x4_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.180 +RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.181 +
   1.182 +void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.183 +void vp8_sixtap_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.184 +void vp8_sixtap_predict4x4_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.185 +RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.186 +
   1.187 +void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.188 +void vp8_bilinear_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.189 +void vp8_bilinear_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.190 +void vp8_bilinear_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.191 +RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.192 +
   1.193 +void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.194 +void vp8_bilinear_predict8x8_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.195 +void vp8_bilinear_predict8x8_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.196 +void vp8_bilinear_predict8x8_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.197 +RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.198 +
   1.199 +void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.200 +void vp8_bilinear_predict8x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.201 +#define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_mmx
   1.202 +
   1.203 +void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.204 +void vp8_bilinear_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
   1.205 +#define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_mmx
   1.206 +
   1.207 +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.208 +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.209 +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.210 +#define vp8_variance4x4 vp8_variance4x4_wmt
   1.211 +
   1.212 +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.213 +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.214 +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.215 +#define vp8_variance8x8 vp8_variance8x8_wmt
   1.216 +
   1.217 +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.218 +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.219 +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.220 +#define vp8_variance8x16 vp8_variance8x16_wmt
   1.221 +
   1.222 +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.223 +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.224 +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.225 +#define vp8_variance16x8 vp8_variance16x8_wmt
   1.226 +
   1.227 +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.228 +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.229 +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.230 +#define vp8_variance16x16 vp8_variance16x16_wmt
   1.231 +
   1.232 +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.233 +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.234 +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.235 +#define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_wmt
   1.236 +
   1.237 +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.238 +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.239 +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.240 +#define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_wmt
   1.241 +
   1.242 +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.243 +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.244 +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.245 +#define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_wmt
   1.246 +
   1.247 +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.248 +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.249 +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.250 +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.251 +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.252 +
   1.253 +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.254 +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.255 +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.256 +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.257 +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.258 +
   1.259 +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.260 +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.261 +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.262 +#define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_wmt
   1.263 +
   1.264 +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.265 +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.266 +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.267 +#define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_wmt
   1.268 +
   1.269 +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.270 +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.271 +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.272 +#define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_wmt
   1.273 +
   1.274 +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.275 +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.276 +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.277 +#define vp8_sad4x4 vp8_sad4x4_wmt
   1.278 +
   1.279 +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.280 +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.281 +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.282 +#define vp8_sad8x8 vp8_sad8x8_wmt
   1.283 +
   1.284 +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.285 +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.286 +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.287 +#define vp8_sad8x16 vp8_sad8x16_wmt
   1.288 +
   1.289 +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.290 +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.291 +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.292 +#define vp8_sad16x8 vp8_sad16x8_wmt
   1.293 +
   1.294 +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.295 +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.296 +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.297 +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.298 +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.299 +
   1.300 +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.301 +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.302 +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.303 +
   1.304 +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.305 +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.306 +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.307 +
   1.308 +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.309 +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.310 +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.311 +
   1.312 +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.313 +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.314 +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.315 +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.316 +
   1.317 +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.318 +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.319 +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.320 +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.321 +
   1.322 +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.323 +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.324 +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.325 +
   1.326 +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.327 +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.328 +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.329 +
   1.330 +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.331 +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.332 +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.333 +
   1.334 +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.335 +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.336 +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.337 +
   1.338 +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.339 +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.340 +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.341 +
   1.342 +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.343 +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.344 +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.345 +
   1.346 +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.347 +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.348 +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.349 +
   1.350 +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.351 +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.352 +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.353 +
   1.354 +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.355 +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.356 +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.357 +
   1.358 +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.359 +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.360 +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.361 +
   1.362 +unsigned int vp8_get_mb_ss_c(const short *);
   1.363 +unsigned int vp8_get_mb_ss_mmx(const short *);
   1.364 +unsigned int vp8_get_mb_ss_sse2(const short *);
   1.365 +#define vp8_get_mb_ss vp8_get_mb_ss_sse2
   1.366 +
   1.367 +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.368 +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.369 +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.370 +#define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_wmt
   1.371 +
   1.372 +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.373 +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.374 +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.375 +#define vp8_mse16x16 vp8_mse16x16_wmt
   1.376 +
   1.377 +unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
   1.378 +unsigned int vp8_get4x4sse_cs_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
   1.379 +#define vp8_get4x4sse_cs vp8_get4x4sse_cs_mmx
   1.380 +
   1.381 +void vp8_copy32xn_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
   1.382 +void vp8_copy32xn_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
   1.383 +void vp8_copy32xn_sse3(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
   1.384 +RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
   1.385 +
   1.386 +void vp8_short_fdct4x4_c(short *input, short *output, int pitch);
   1.387 +void vp8_short_fdct4x4_mmx(short *input, short *output, int pitch);
   1.388 +void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch);
   1.389 +#define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2
   1.390 +
   1.391 +void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
   1.392 +void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch);
   1.393 +void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch);
   1.394 +#define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2
   1.395 +
   1.396 +void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
   1.397 +void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch);
   1.398 +#define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2
   1.399 +
   1.400 +void vp8_regular_quantize_b_c(struct block *, struct blockd *);
   1.401 +void vp8_regular_quantize_b_sse2(struct block *, struct blockd *);
   1.402 +void vp8_regular_quantize_b_sse4(struct block *, struct blockd *);
   1.403 +RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *);
   1.404 +
   1.405 +void vp8_fast_quantize_b_c(struct block *, struct blockd *);
   1.406 +void vp8_fast_quantize_b_sse2(struct block *, struct blockd *);
   1.407 +void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *);
   1.408 +RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *);
   1.409 +
   1.410 +void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
   1.411 +#define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
   1.412 +
   1.413 +void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
   1.414 +#define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
   1.415 +
   1.416 +void vp8_quantize_mb_c(struct macroblock *);
   1.417 +#define vp8_quantize_mb vp8_quantize_mb_c
   1.418 +
   1.419 +void vp8_quantize_mby_c(struct macroblock *);
   1.420 +#define vp8_quantize_mby vp8_quantize_mby_c
   1.421 +
   1.422 +void vp8_quantize_mbuv_c(struct macroblock *);
   1.423 +#define vp8_quantize_mbuv vp8_quantize_mbuv_c
   1.424 +
   1.425 +int vp8_block_error_c(short *coeff, short *dqcoeff);
   1.426 +int vp8_block_error_mmx(short *coeff, short *dqcoeff);
   1.427 +int vp8_block_error_xmm(short *coeff, short *dqcoeff);
   1.428 +#define vp8_block_error vp8_block_error_xmm
   1.429 +
   1.430 +int vp8_mbblock_error_c(struct macroblock *mb, int dc);
   1.431 +int vp8_mbblock_error_mmx(struct macroblock *mb, int dc);
   1.432 +int vp8_mbblock_error_xmm(struct macroblock *mb, int dc);
   1.433 +#define vp8_mbblock_error vp8_mbblock_error_xmm
   1.434 +
   1.435 +int vp8_mbuverror_c(struct macroblock *mb);
   1.436 +int vp8_mbuverror_mmx(struct macroblock *mb);
   1.437 +int vp8_mbuverror_xmm(struct macroblock *mb);
   1.438 +#define vp8_mbuverror vp8_mbuverror_xmm
   1.439 +
   1.440 +void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
   1.441 +void vp8_subtract_b_mmx(struct block *be, struct blockd *bd, int pitch);
   1.442 +void vp8_subtract_b_sse2(struct block *be, struct blockd *bd, int pitch);
   1.443 +#define vp8_subtract_b vp8_subtract_b_sse2
   1.444 +
   1.445 +void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.446 +void vp8_subtract_mby_mmx(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.447 +void vp8_subtract_mby_sse2(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
   1.448 +#define vp8_subtract_mby vp8_subtract_mby_sse2
   1.449 +
   1.450 +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.451 +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.452 +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.453 +#define vp8_subtract_mbuv vp8_subtract_mbuv_sse2
   1.454 +
   1.455 +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.456 +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.457 +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.458 +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.459 +
   1.460 +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.461 +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.462 +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.463 +
   1.464 +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.465 +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.466 +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.467 +
   1.468 +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.469 +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.470 +#define vp8_temporal_filter_apply vp8_temporal_filter_apply_sse2
   1.471 +
   1.472 +void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
   1.473 +#define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c
   1.474 +
   1.475 +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.476 +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.477 +#define vp8_denoiser_filter vp8_denoiser_filter_sse2
   1.478 +
   1.479 +void vp8_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.480 +#define vp8_horizontal_line_4_5_scale vp8_horizontal_line_4_5_scale_c
   1.481 +
   1.482 +void vp8_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.483 +#define vp8_vertical_band_4_5_scale vp8_vertical_band_4_5_scale_c
   1.484 +
   1.485 +void vp8_last_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.486 +#define vp8_last_vertical_band_4_5_scale vp8_last_vertical_band_4_5_scale_c
   1.487 +
   1.488 +void vp8_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.489 +#define vp8_horizontal_line_2_3_scale vp8_horizontal_line_2_3_scale_c
   1.490 +
   1.491 +void vp8_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.492 +#define vp8_vertical_band_2_3_scale vp8_vertical_band_2_3_scale_c
   1.493 +
   1.494 +void vp8_last_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.495 +#define vp8_last_vertical_band_2_3_scale vp8_last_vertical_band_2_3_scale_c
   1.496 +
   1.497 +void vp8_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.498 +#define vp8_horizontal_line_3_5_scale vp8_horizontal_line_3_5_scale_c
   1.499 +
   1.500 +void vp8_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.501 +#define vp8_vertical_band_3_5_scale vp8_vertical_band_3_5_scale_c
   1.502 +
   1.503 +void vp8_last_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.504 +#define vp8_last_vertical_band_3_5_scale vp8_last_vertical_band_3_5_scale_c
   1.505 +
   1.506 +void vp8_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.507 +#define vp8_horizontal_line_3_4_scale vp8_horizontal_line_3_4_scale_c
   1.508 +
   1.509 +void vp8_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.510 +#define vp8_vertical_band_3_4_scale vp8_vertical_band_3_4_scale_c
   1.511 +
   1.512 +void vp8_last_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.513 +#define vp8_last_vertical_band_3_4_scale vp8_last_vertical_band_3_4_scale_c
   1.514 +
   1.515 +void vp8_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.516 +#define vp8_horizontal_line_1_2_scale vp8_horizontal_line_1_2_scale_c
   1.517 +
   1.518 +void vp8_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.519 +#define vp8_vertical_band_1_2_scale vp8_vertical_band_1_2_scale_c
   1.520 +
   1.521 +void vp8_last_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.522 +#define vp8_last_vertical_band_1_2_scale vp8_last_vertical_band_1_2_scale_c
   1.523 +
   1.524 +void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.525 +#define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
   1.526 +
   1.527 +void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.528 +#define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
   1.529 +
   1.530 +void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.531 +#define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
   1.532 +
   1.533 +void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.534 +#define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
   1.535 +
   1.536 +void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
   1.537 +#define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
   1.538 +
   1.539 +void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.540 +#define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
   1.541 +
   1.542 +void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
   1.543 +#define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
   1.544 +
   1.545 +void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
   1.546 +#define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
   1.547 +
   1.548 +void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
   1.549 +#define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
   1.550 +
   1.551 +void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
   1.552 +#define vp8_yv12_copy_y vp8_yv12_copy_y_c
   1.553 +
   1.554 +void vpx_rtcd(void);
   1.555 +
   1.556 +#ifdef RTCD_C
   1.557 +#include "vpx_ports/x86.h"
   1.558 +static void setup_rtcd_internal(void)
   1.559 +{
   1.560 +    int flags = x86_simd_caps();
   1.561 +
   1.562 +    (void)flags;
   1.563 +
   1.564 +
   1.565 +
   1.566 +
   1.567 +
   1.568 +
   1.569 +
   1.570 +
   1.571 +
   1.572 +
   1.573 +
   1.574 +
   1.575 +
   1.576 +
   1.577 +
   1.578 +
   1.579 +
   1.580 +
   1.581 +
   1.582 +
   1.583 +    vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_sse2;
   1.584 +    if (flags & HAS_SSSE3) vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_ssse3;
   1.585 +
   1.586 +    vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_sse2;
   1.587 +    if (flags & HAS_SSSE3) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_ssse3;
   1.588 +
   1.589 +
   1.590 +
   1.591 +
   1.592 +
   1.593 +
   1.594 +
   1.595 +
   1.596 +
   1.597 +
   1.598 +
   1.599 +
   1.600 +    vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2;
   1.601 +    if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3;
   1.602 +
   1.603 +    vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2;
   1.604 +    if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3;
   1.605 +
   1.606 +    vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2;
   1.607 +    if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3;
   1.608 +
   1.609 +    vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx;
   1.610 +    if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3;
   1.611 +
   1.612 +    vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2;
   1.613 +    if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3;
   1.614 +
   1.615 +    vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2;
   1.616 +    if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3;
   1.617 +
   1.618 +
   1.619 +
   1.620 +
   1.621 +
   1.622 +
   1.623 +
   1.624 +
   1.625 +
   1.626 +
   1.627 +
   1.628 +    vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt;
   1.629 +    if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_ssse3;
   1.630 +
   1.631 +    vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_wmt;
   1.632 +    if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_ssse3;
   1.633 +
   1.634 +
   1.635 +
   1.636 +
   1.637 +
   1.638 +
   1.639 +
   1.640 +
   1.641 +    vp8_sad16x16 = vp8_sad16x16_wmt;
   1.642 +    if (flags & HAS_SSE3) vp8_sad16x16 = vp8_sad16x16_sse3;
   1.643 +
   1.644 +    vp8_sad4x4x3 = vp8_sad4x4x3_c;
   1.645 +    if (flags & HAS_SSE3) vp8_sad4x4x3 = vp8_sad4x4x3_sse3;
   1.646 +
   1.647 +    vp8_sad8x8x3 = vp8_sad8x8x3_c;
   1.648 +    if (flags & HAS_SSE3) vp8_sad8x8x3 = vp8_sad8x8x3_sse3;
   1.649 +
   1.650 +    vp8_sad8x16x3 = vp8_sad8x16x3_c;
   1.651 +    if (flags & HAS_SSE3) vp8_sad8x16x3 = vp8_sad8x16x3_sse3;
   1.652 +
   1.653 +    vp8_sad16x8x3 = vp8_sad16x8x3_c;
   1.654 +    if (flags & HAS_SSE3) vp8_sad16x8x3 = vp8_sad16x8x3_sse3;
   1.655 +    if (flags & HAS_SSSE3) vp8_sad16x8x3 = vp8_sad16x8x3_ssse3;
   1.656 +
   1.657 +    vp8_sad16x16x3 = vp8_sad16x16x3_c;
   1.658 +    if (flags & HAS_SSE3) vp8_sad16x16x3 = vp8_sad16x16x3_sse3;
   1.659 +    if (flags & HAS_SSSE3) vp8_sad16x16x3 = vp8_sad16x16x3_ssse3;
   1.660 +
   1.661 +    vp8_sad4x4x8 = vp8_sad4x4x8_c;
   1.662 +    if (flags & HAS_SSE4_1) vp8_sad4x4x8 = vp8_sad4x4x8_sse4;
   1.663 +
   1.664 +    vp8_sad8x8x8 = vp8_sad8x8x8_c;
   1.665 +    if (flags & HAS_SSE4_1) vp8_sad8x8x8 = vp8_sad8x8x8_sse4;
   1.666 +
   1.667 +    vp8_sad8x16x8 = vp8_sad8x16x8_c;
   1.668 +    if (flags & HAS_SSE4_1) vp8_sad8x16x8 = vp8_sad8x16x8_sse4;
   1.669 +
   1.670 +    vp8_sad16x8x8 = vp8_sad16x8x8_c;
   1.671 +    if (flags & HAS_SSE4_1) vp8_sad16x8x8 = vp8_sad16x8x8_sse4;
   1.672 +
   1.673 +    vp8_sad16x16x8 = vp8_sad16x16x8_c;
   1.674 +    if (flags & HAS_SSE4_1) vp8_sad16x16x8 = vp8_sad16x16x8_sse4;
   1.675 +
   1.676 +    vp8_sad4x4x4d = vp8_sad4x4x4d_c;
   1.677 +    if (flags & HAS_SSE3) vp8_sad4x4x4d = vp8_sad4x4x4d_sse3;
   1.678 +
   1.679 +    vp8_sad8x8x4d = vp8_sad8x8x4d_c;
   1.680 +    if (flags & HAS_SSE3) vp8_sad8x8x4d = vp8_sad8x8x4d_sse3;
   1.681 +
   1.682 +    vp8_sad8x16x4d = vp8_sad8x16x4d_c;
   1.683 +    if (flags & HAS_SSE3) vp8_sad8x16x4d = vp8_sad8x16x4d_sse3;
   1.684 +
   1.685 +    vp8_sad16x8x4d = vp8_sad16x8x4d_c;
   1.686 +    if (flags & HAS_SSE3) vp8_sad16x8x4d = vp8_sad16x8x4d_sse3;
   1.687 +
   1.688 +    vp8_sad16x16x4d = vp8_sad16x16x4d_c;
   1.689 +    if (flags & HAS_SSE3) vp8_sad16x16x4d = vp8_sad16x16x4d_sse3;
   1.690 +
   1.691 +
   1.692 +
   1.693 +
   1.694 +
   1.695 +    vp8_copy32xn = vp8_copy32xn_sse2;
   1.696 +    if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3;
   1.697 +
   1.698 +
   1.699 +
   1.700 +
   1.701 +    vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
   1.702 +    if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4;
   1.703 +
   1.704 +    vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
   1.705 +    if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
   1.706 +
   1.707 +
   1.708 +
   1.709 +
   1.710 +
   1.711 +
   1.712 +
   1.713 +
   1.714 +
   1.715 +
   1.716 +
   1.717 +
   1.718 +    vp8_full_search_sad = vp8_full_search_sad_c;
   1.719 +    if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3;
   1.720 +    if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8;
   1.721 +
   1.722 +    vp8_refining_search_sad = vp8_refining_search_sad_c;
   1.723 +    if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4;
   1.724 +
   1.725 +    vp8_diamond_search_sad = vp8_diamond_search_sad_c;
   1.726 +    if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4;
   1.727 +}
   1.728 +#endif
   1.729 +#endif

mercurial