media/libvpx/vpx_rtcd_x86_64-linux-gcc.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #ifndef VPX_RTCD_
michael@0 2 #define VPX_RTCD_
michael@0 3
michael@0 4 #ifdef RTCD_C
michael@0 5 #define RTCD_EXTERN
michael@0 6 #else
michael@0 7 #define RTCD_EXTERN extern
michael@0 8 #endif
michael@0 9
michael@0 10 #include "vp8/common/blockd.h"
michael@0 11
michael@0 12 struct blockd;
michael@0 13 struct macroblockd;
michael@0 14 struct loop_filter_info;
michael@0 15
michael@0 16 /* Encoder forward decls */
michael@0 17 struct block;
michael@0 18 struct macroblock;
michael@0 19 struct variance_vtable;
michael@0 20 union int_mv;
michael@0 21 struct yv12_buffer_config;
michael@0 22
michael@0 23 void vp8_dequantize_b_c(struct blockd*, short *dqc);
michael@0 24 void vp8_dequantize_b_mmx(struct blockd*, short *dqc);
michael@0 25 #define vp8_dequantize_b vp8_dequantize_b_mmx
michael@0 26
michael@0 27 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
michael@0 28 void vp8_dequant_idct_add_mmx(short *input, short *dq, unsigned char *output, int stride);
michael@0 29 #define vp8_dequant_idct_add vp8_dequant_idct_add_mmx
michael@0 30
michael@0 31 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
michael@0 32 void vp8_dequant_idct_add_y_block_mmx(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
michael@0 33 void vp8_dequant_idct_add_y_block_sse2(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
michael@0 34 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_sse2
michael@0 35
michael@0 36 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
michael@0 37 void vp8_dequant_idct_add_uv_block_mmx(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
michael@0 38 void vp8_dequant_idct_add_uv_block_sse2(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
michael@0 39 #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_sse2
michael@0 40
michael@0 41 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);
michael@0 42 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);
michael@0 43 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);
michael@0 44 #define vp8_loop_filter_mbv vp8_loop_filter_mbv_sse2
michael@0 45
michael@0 46 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);
michael@0 47 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);
michael@0 48 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);
michael@0 49 #define vp8_loop_filter_bv vp8_loop_filter_bv_sse2
michael@0 50
michael@0 51 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);
michael@0 52 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);
michael@0 53 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);
michael@0 54 #define vp8_loop_filter_mbh vp8_loop_filter_mbh_sse2
michael@0 55
michael@0 56 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);
michael@0 57 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);
michael@0 58 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);
michael@0 59 #define vp8_loop_filter_bh vp8_loop_filter_bh_sse2
michael@0 60
michael@0 61 void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 62 void vp8_loop_filter_simple_vertical_edge_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 63 void vp8_loop_filter_simple_vertical_edge_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 64 #define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_sse2
michael@0 65
michael@0 66 void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 67 void vp8_loop_filter_simple_horizontal_edge_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 68 void vp8_loop_filter_simple_horizontal_edge_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 69 #define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_sse2
michael@0 70
michael@0 71 void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 72 void vp8_loop_filter_bvs_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 73 void vp8_loop_filter_bvs_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 74 #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_sse2
michael@0 75
michael@0 76 void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 77 void vp8_loop_filter_bhs_mmx(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 78 void vp8_loop_filter_bhs_sse2(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 79 #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_sse2
michael@0 80
michael@0 81 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
michael@0 82 void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
michael@0 83 #define vp8_short_idct4x4llm vp8_short_idct4x4llm_mmx
michael@0 84
michael@0 85 void vp8_short_inv_walsh4x4_1_c(short *input, short *output);
michael@0 86 #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
michael@0 87
michael@0 88 void vp8_short_inv_walsh4x4_c(short *input, short *output);
michael@0 89 void vp8_short_inv_walsh4x4_mmx(short *input, short *output);
michael@0 90 void vp8_short_inv_walsh4x4_sse2(short *input, short *output);
michael@0 91 #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_sse2
michael@0 92
michael@0 93 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
michael@0 94 void vp8_dc_only_idct_add_mmx(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
michael@0 95 #define vp8_dc_only_idct_add vp8_dc_only_idct_add_mmx
michael@0 96
michael@0 97 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 98 void vp8_copy_mem16x16_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 99 void vp8_copy_mem16x16_sse2(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 100 #define vp8_copy_mem16x16 vp8_copy_mem16x16_sse2
michael@0 101
michael@0 102 void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 103 void vp8_copy_mem8x8_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 104 #define vp8_copy_mem8x8 vp8_copy_mem8x8_mmx
michael@0 105
michael@0 106 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 107 void vp8_copy_mem8x4_mmx(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 108 #define vp8_copy_mem8x4 vp8_copy_mem8x4_mmx
michael@0 109
michael@0 110 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);
michael@0 111 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);
michael@0 112 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);
michael@0 113 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);
michael@0 114
michael@0 115 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);
michael@0 116 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);
michael@0 117 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);
michael@0 118 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);
michael@0 119
michael@0 120 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);
michael@0 121 #define vp8_intra4x4_predict vp8_intra4x4_predict_c
michael@0 122
michael@0 123 void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
michael@0 124 void vp8_mbpost_proc_down_mmx(unsigned char *dst, int pitch, int rows, int cols,int flimit);
michael@0 125 void vp8_mbpost_proc_down_xmm(unsigned char *dst, int pitch, int rows, int cols,int flimit);
michael@0 126 #define vp8_mbpost_proc_down vp8_mbpost_proc_down_xmm
michael@0 127
michael@0 128 void vp8_mbpost_proc_across_ip_c(unsigned char *dst, int pitch, int rows, int cols,int flimit);
michael@0 129 void vp8_mbpost_proc_across_ip_xmm(unsigned char *dst, int pitch, int rows, int cols,int flimit);
michael@0 130 #define vp8_mbpost_proc_across_ip vp8_mbpost_proc_across_ip_xmm
michael@0 131
michael@0 132 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);
michael@0 133 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);
michael@0 134 #define vp8_post_proc_down_and_across_mb_row vp8_post_proc_down_and_across_mb_row_sse2
michael@0 135
michael@0 136 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);
michael@0 137 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);
michael@0 138 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);
michael@0 139 #define vp8_plane_add_noise vp8_plane_add_noise_wmt
michael@0 140
michael@0 141 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);
michael@0 142 #define vp8_blend_mb_inner vp8_blend_mb_inner_c
michael@0 143
michael@0 144 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);
michael@0 145 #define vp8_blend_mb_outer vp8_blend_mb_outer_c
michael@0 146
michael@0 147 void vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y1, int u1, int v1, int alpha, int stride);
michael@0 148 #define vp8_blend_b vp8_blend_b_c
michael@0 149
michael@0 150 void vp8_filter_by_weight16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
michael@0 151 void vp8_filter_by_weight16x16_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
michael@0 152 #define vp8_filter_by_weight16x16 vp8_filter_by_weight16x16_sse2
michael@0 153
michael@0 154 void vp8_filter_by_weight8x8_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
michael@0 155 void vp8_filter_by_weight8x8_sse2(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
michael@0 156 #define vp8_filter_by_weight8x8 vp8_filter_by_weight8x8_sse2
michael@0 157
michael@0 158 void vp8_filter_by_weight4x4_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride, int src_weight);
michael@0 159 #define vp8_filter_by_weight4x4 vp8_filter_by_weight4x4_c
michael@0 160
michael@0 161 void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 162 void vp8_sixtap_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 163 void vp8_sixtap_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 164 void vp8_sixtap_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 165 RTCD_EXTERN void (*vp8_sixtap_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 166
michael@0 167 void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 168 void vp8_sixtap_predict8x8_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 169 void vp8_sixtap_predict8x8_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 170 void vp8_sixtap_predict8x8_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 171 RTCD_EXTERN void (*vp8_sixtap_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 172
michael@0 173 void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 174 void vp8_sixtap_predict8x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 175 void vp8_sixtap_predict8x4_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 176 void vp8_sixtap_predict8x4_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 177 RTCD_EXTERN void (*vp8_sixtap_predict8x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 178
michael@0 179 void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 180 void vp8_sixtap_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 181 void vp8_sixtap_predict4x4_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 182 RTCD_EXTERN void (*vp8_sixtap_predict4x4)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 183
michael@0 184 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 185 void vp8_bilinear_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 186 void vp8_bilinear_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 187 void vp8_bilinear_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 188 RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 189
michael@0 190 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 191 void vp8_bilinear_predict8x8_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 192 void vp8_bilinear_predict8x8_sse2(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 193 void vp8_bilinear_predict8x8_ssse3(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 194 RTCD_EXTERN void (*vp8_bilinear_predict8x8)(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 195
michael@0 196 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 197 void vp8_bilinear_predict8x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 198 #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_mmx
michael@0 199
michael@0 200 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 201 void vp8_bilinear_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 202 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_mmx
michael@0 203
michael@0 204 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 205 unsigned int vp8_variance4x4_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 206 unsigned int vp8_variance4x4_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 207 #define vp8_variance4x4 vp8_variance4x4_wmt
michael@0 208
michael@0 209 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 210 unsigned int vp8_variance8x8_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 211 unsigned int vp8_variance8x8_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 212 #define vp8_variance8x8 vp8_variance8x8_wmt
michael@0 213
michael@0 214 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 215 unsigned int vp8_variance8x16_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 216 unsigned int vp8_variance8x16_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 217 #define vp8_variance8x16 vp8_variance8x16_wmt
michael@0 218
michael@0 219 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 220 unsigned int vp8_variance16x8_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 221 unsigned int vp8_variance16x8_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 222 #define vp8_variance16x8 vp8_variance16x8_wmt
michael@0 223
michael@0 224 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 225 unsigned int vp8_variance16x16_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 226 unsigned int vp8_variance16x16_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 227 #define vp8_variance16x16 vp8_variance16x16_wmt
michael@0 228
michael@0 229 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);
michael@0 230 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);
michael@0 231 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);
michael@0 232 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_wmt
michael@0 233
michael@0 234 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);
michael@0 235 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);
michael@0 236 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);
michael@0 237 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_wmt
michael@0 238
michael@0 239 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);
michael@0 240 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);
michael@0 241 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);
michael@0 242 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_wmt
michael@0 243
michael@0 244 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);
michael@0 245 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);
michael@0 246 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);
michael@0 247 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);
michael@0 248 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);
michael@0 249
michael@0 250 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);
michael@0 251 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);
michael@0 252 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);
michael@0 253 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);
michael@0 254 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);
michael@0 255
michael@0 256 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);
michael@0 257 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);
michael@0 258 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);
michael@0 259 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_wmt
michael@0 260
michael@0 261 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);
michael@0 262 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);
michael@0 263 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);
michael@0 264 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_wmt
michael@0 265
michael@0 266 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);
michael@0 267 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);
michael@0 268 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);
michael@0 269 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_wmt
michael@0 270
michael@0 271 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);
michael@0 272 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);
michael@0 273 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);
michael@0 274 #define vp8_sad4x4 vp8_sad4x4_wmt
michael@0 275
michael@0 276 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);
michael@0 277 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);
michael@0 278 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);
michael@0 279 #define vp8_sad8x8 vp8_sad8x8_wmt
michael@0 280
michael@0 281 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);
michael@0 282 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);
michael@0 283 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);
michael@0 284 #define vp8_sad8x16 vp8_sad8x16_wmt
michael@0 285
michael@0 286 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);
michael@0 287 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);
michael@0 288 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);
michael@0 289 #define vp8_sad16x8 vp8_sad16x8_wmt
michael@0 290
michael@0 291 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);
michael@0 292 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);
michael@0 293 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);
michael@0 294 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);
michael@0 295 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);
michael@0 296
michael@0 297 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 298 void vp8_sad4x4x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 299 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);
michael@0 300
michael@0 301 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 302 void vp8_sad8x8x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 303 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);
michael@0 304
michael@0 305 void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 306 void vp8_sad8x16x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 307 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);
michael@0 308
michael@0 309 void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 310 void vp8_sad16x8x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 311 void vp8_sad16x8x3_ssse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 312 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);
michael@0 313
michael@0 314 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 315 void vp8_sad16x16x3_sse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 316 void vp8_sad16x16x3_ssse3(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 317 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);
michael@0 318
michael@0 319 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 320 void vp8_sad4x4x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 321 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);
michael@0 322
michael@0 323 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 324 void vp8_sad8x8x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 325 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);
michael@0 326
michael@0 327 void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 328 void vp8_sad8x16x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 329 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);
michael@0 330
michael@0 331 void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 332 void vp8_sad16x8x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 333 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);
michael@0 334
michael@0 335 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 336 void vp8_sad16x16x8_sse4(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 337 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);
michael@0 338
michael@0 339 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);
michael@0 340 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);
michael@0 341 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);
michael@0 342
michael@0 343 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);
michael@0 344 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);
michael@0 345 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);
michael@0 346
michael@0 347 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);
michael@0 348 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);
michael@0 349 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);
michael@0 350
michael@0 351 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);
michael@0 352 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);
michael@0 353 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);
michael@0 354
michael@0 355 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);
michael@0 356 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);
michael@0 357 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);
michael@0 358
michael@0 359 unsigned int vp8_get_mb_ss_c(const short *);
michael@0 360 unsigned int vp8_get_mb_ss_mmx(const short *);
michael@0 361 unsigned int vp8_get_mb_ss_sse2(const short *);
michael@0 362 #define vp8_get_mb_ss vp8_get_mb_ss_sse2
michael@0 363
michael@0 364 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);
michael@0 365 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);
michael@0 366 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);
michael@0 367 #define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_wmt
michael@0 368
michael@0 369 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 370 unsigned int vp8_mse16x16_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 371 unsigned int vp8_mse16x16_wmt(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 372 #define vp8_mse16x16 vp8_mse16x16_wmt
michael@0 373
michael@0 374 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
michael@0 375 unsigned int vp8_get4x4sse_cs_mmx(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
michael@0 376 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_mmx
michael@0 377
michael@0 378 void vp8_copy32xn_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
michael@0 379 void vp8_copy32xn_sse2(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
michael@0 380 void vp8_copy32xn_sse3(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
michael@0 381 RTCD_EXTERN void (*vp8_copy32xn)(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, int n);
michael@0 382
michael@0 383 void vp8_short_fdct4x4_c(short *input, short *output, int pitch);
michael@0 384 void vp8_short_fdct4x4_mmx(short *input, short *output, int pitch);
michael@0 385 void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch);
michael@0 386 #define vp8_short_fdct4x4 vp8_short_fdct4x4_sse2
michael@0 387
michael@0 388 void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
michael@0 389 void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch);
michael@0 390 void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch);
michael@0 391 #define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2
michael@0 392
michael@0 393 void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
michael@0 394 void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch);
michael@0 395 #define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2
michael@0 396
michael@0 397 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
michael@0 398 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *);
michael@0 399 void vp8_regular_quantize_b_sse4(struct block *, struct blockd *);
michael@0 400 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *);
michael@0 401
michael@0 402 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
michael@0 403 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *);
michael@0 404 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *);
michael@0 405 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *);
michael@0 406
michael@0 407 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
michael@0 408 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
michael@0 409
michael@0 410 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
michael@0 411 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
michael@0 412
michael@0 413 void vp8_quantize_mb_c(struct macroblock *);
michael@0 414 #define vp8_quantize_mb vp8_quantize_mb_c
michael@0 415
michael@0 416 void vp8_quantize_mby_c(struct macroblock *);
michael@0 417 #define vp8_quantize_mby vp8_quantize_mby_c
michael@0 418
michael@0 419 void vp8_quantize_mbuv_c(struct macroblock *);
michael@0 420 #define vp8_quantize_mbuv vp8_quantize_mbuv_c
michael@0 421
michael@0 422 int vp8_block_error_c(short *coeff, short *dqcoeff);
michael@0 423 int vp8_block_error_mmx(short *coeff, short *dqcoeff);
michael@0 424 int vp8_block_error_xmm(short *coeff, short *dqcoeff);
michael@0 425 #define vp8_block_error vp8_block_error_xmm
michael@0 426
michael@0 427 int vp8_mbblock_error_c(struct macroblock *mb, int dc);
michael@0 428 int vp8_mbblock_error_mmx(struct macroblock *mb, int dc);
michael@0 429 int vp8_mbblock_error_xmm(struct macroblock *mb, int dc);
michael@0 430 #define vp8_mbblock_error vp8_mbblock_error_xmm
michael@0 431
michael@0 432 int vp8_mbuverror_c(struct macroblock *mb);
michael@0 433 int vp8_mbuverror_mmx(struct macroblock *mb);
michael@0 434 int vp8_mbuverror_xmm(struct macroblock *mb);
michael@0 435 #define vp8_mbuverror vp8_mbuverror_xmm
michael@0 436
michael@0 437 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
michael@0 438 void vp8_subtract_b_mmx(struct block *be, struct blockd *bd, int pitch);
michael@0 439 void vp8_subtract_b_sse2(struct block *be, struct blockd *bd, int pitch);
michael@0 440 #define vp8_subtract_b vp8_subtract_b_sse2
michael@0 441
michael@0 442 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
michael@0 443 void vp8_subtract_mby_mmx(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
michael@0 444 void vp8_subtract_mby_sse2(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
michael@0 445 #define vp8_subtract_mby vp8_subtract_mby_sse2
michael@0 446
michael@0 447 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);
michael@0 448 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);
michael@0 449 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);
michael@0 450 #define vp8_subtract_mbuv vp8_subtract_mbuv_sse2
michael@0 451
michael@0 452 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);
michael@0 453 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);
michael@0 454 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);
michael@0 455 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);
michael@0 456
michael@0 457 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);
michael@0 458 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);
michael@0 459 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);
michael@0 460
michael@0 461 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);
michael@0 462 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);
michael@0 463 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);
michael@0 464
michael@0 465 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);
michael@0 466 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);
michael@0 467 #define vp8_temporal_filter_apply vp8_temporal_filter_apply_sse2
michael@0 468
michael@0 469 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
michael@0 470 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c
michael@0 471
michael@0 472 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);
michael@0 473 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);
michael@0 474 #define vp8_denoiser_filter vp8_denoiser_filter_sse2
michael@0 475
michael@0 476 void vp8_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 477 #define vp8_horizontal_line_4_5_scale vp8_horizontal_line_4_5_scale_c
michael@0 478
michael@0 479 void vp8_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 480 #define vp8_vertical_band_4_5_scale vp8_vertical_band_4_5_scale_c
michael@0 481
michael@0 482 void vp8_last_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 483 #define vp8_last_vertical_band_4_5_scale vp8_last_vertical_band_4_5_scale_c
michael@0 484
michael@0 485 void vp8_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 486 #define vp8_horizontal_line_2_3_scale vp8_horizontal_line_2_3_scale_c
michael@0 487
michael@0 488 void vp8_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 489 #define vp8_vertical_band_2_3_scale vp8_vertical_band_2_3_scale_c
michael@0 490
michael@0 491 void vp8_last_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 492 #define vp8_last_vertical_band_2_3_scale vp8_last_vertical_band_2_3_scale_c
michael@0 493
michael@0 494 void vp8_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 495 #define vp8_horizontal_line_3_5_scale vp8_horizontal_line_3_5_scale_c
michael@0 496
michael@0 497 void vp8_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 498 #define vp8_vertical_band_3_5_scale vp8_vertical_band_3_5_scale_c
michael@0 499
michael@0 500 void vp8_last_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 501 #define vp8_last_vertical_band_3_5_scale vp8_last_vertical_band_3_5_scale_c
michael@0 502
michael@0 503 void vp8_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 504 #define vp8_horizontal_line_3_4_scale vp8_horizontal_line_3_4_scale_c
michael@0 505
michael@0 506 void vp8_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 507 #define vp8_vertical_band_3_4_scale vp8_vertical_band_3_4_scale_c
michael@0 508
michael@0 509 void vp8_last_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 510 #define vp8_last_vertical_band_3_4_scale vp8_last_vertical_band_3_4_scale_c
michael@0 511
michael@0 512 void vp8_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 513 #define vp8_horizontal_line_1_2_scale vp8_horizontal_line_1_2_scale_c
michael@0 514
michael@0 515 void vp8_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 516 #define vp8_vertical_band_1_2_scale vp8_vertical_band_1_2_scale_c
michael@0 517
michael@0 518 void vp8_last_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 519 #define vp8_last_vertical_band_1_2_scale vp8_last_vertical_band_1_2_scale_c
michael@0 520
michael@0 521 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 522 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
michael@0 523
michael@0 524 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);
michael@0 525 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
michael@0 526
michael@0 527 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 528 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
michael@0 529
michael@0 530 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);
michael@0 531 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
michael@0 532
michael@0 533 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 534 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
michael@0 535
michael@0 536 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);
michael@0 537 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
michael@0 538
michael@0 539 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);
michael@0 540 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
michael@0 541
michael@0 542 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
michael@0 543 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
michael@0 544
michael@0 545 void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
michael@0 546 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
michael@0 547
michael@0 548 void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
michael@0 549 #define vp8_yv12_copy_y vp8_yv12_copy_y_c
michael@0 550
michael@0 551 void vpx_rtcd(void);
michael@0 552
michael@0 553 #ifdef RTCD_C
michael@0 554 #include "vpx_ports/x86.h"
michael@0 555 static void setup_rtcd_internal(void)
michael@0 556 {
michael@0 557 int flags = x86_simd_caps();
michael@0 558
michael@0 559 (void)flags;
michael@0 560
michael@0 561
michael@0 562
michael@0 563
michael@0 564
michael@0 565
michael@0 566
michael@0 567
michael@0 568
michael@0 569
michael@0 570
michael@0 571
michael@0 572
michael@0 573
michael@0 574
michael@0 575
michael@0 576
michael@0 577
michael@0 578
michael@0 579
michael@0 580 vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_sse2;
michael@0 581 if (flags & HAS_SSSE3) vp8_build_intra_predictors_mby_s = vp8_build_intra_predictors_mby_s_ssse3;
michael@0 582
michael@0 583 vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_sse2;
michael@0 584 if (flags & HAS_SSSE3) vp8_build_intra_predictors_mbuv_s = vp8_build_intra_predictors_mbuv_s_ssse3;
michael@0 585
michael@0 586
michael@0 587
michael@0 588
michael@0 589
michael@0 590
michael@0 591
michael@0 592
michael@0 593
michael@0 594
michael@0 595
michael@0 596
michael@0 597 vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_sse2;
michael@0 598 if (flags & HAS_SSSE3) vp8_sixtap_predict16x16 = vp8_sixtap_predict16x16_ssse3;
michael@0 599
michael@0 600 vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_sse2;
michael@0 601 if (flags & HAS_SSSE3) vp8_sixtap_predict8x8 = vp8_sixtap_predict8x8_ssse3;
michael@0 602
michael@0 603 vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_sse2;
michael@0 604 if (flags & HAS_SSSE3) vp8_sixtap_predict8x4 = vp8_sixtap_predict8x4_ssse3;
michael@0 605
michael@0 606 vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_mmx;
michael@0 607 if (flags & HAS_SSSE3) vp8_sixtap_predict4x4 = vp8_sixtap_predict4x4_ssse3;
michael@0 608
michael@0 609 vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_sse2;
michael@0 610 if (flags & HAS_SSSE3) vp8_bilinear_predict16x16 = vp8_bilinear_predict16x16_ssse3;
michael@0 611
michael@0 612 vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_sse2;
michael@0 613 if (flags & HAS_SSSE3) vp8_bilinear_predict8x8 = vp8_bilinear_predict8x8_ssse3;
michael@0 614
michael@0 615
michael@0 616
michael@0 617
michael@0 618
michael@0 619
michael@0 620
michael@0 621
michael@0 622
michael@0 623
michael@0 624
michael@0 625 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt;
michael@0 626 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_ssse3;
michael@0 627
michael@0 628 vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_wmt;
michael@0 629 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x16 = vp8_sub_pixel_variance16x16_ssse3;
michael@0 630
michael@0 631
michael@0 632
michael@0 633
michael@0 634
michael@0 635
michael@0 636
michael@0 637
michael@0 638 vp8_sad16x16 = vp8_sad16x16_wmt;
michael@0 639 if (flags & HAS_SSE3) vp8_sad16x16 = vp8_sad16x16_sse3;
michael@0 640
michael@0 641 vp8_sad4x4x3 = vp8_sad4x4x3_c;
michael@0 642 if (flags & HAS_SSE3) vp8_sad4x4x3 = vp8_sad4x4x3_sse3;
michael@0 643
michael@0 644 vp8_sad8x8x3 = vp8_sad8x8x3_c;
michael@0 645 if (flags & HAS_SSE3) vp8_sad8x8x3 = vp8_sad8x8x3_sse3;
michael@0 646
michael@0 647 vp8_sad8x16x3 = vp8_sad8x16x3_c;
michael@0 648 if (flags & HAS_SSE3) vp8_sad8x16x3 = vp8_sad8x16x3_sse3;
michael@0 649
michael@0 650 vp8_sad16x8x3 = vp8_sad16x8x3_c;
michael@0 651 if (flags & HAS_SSE3) vp8_sad16x8x3 = vp8_sad16x8x3_sse3;
michael@0 652 if (flags & HAS_SSSE3) vp8_sad16x8x3 = vp8_sad16x8x3_ssse3;
michael@0 653
michael@0 654 vp8_sad16x16x3 = vp8_sad16x16x3_c;
michael@0 655 if (flags & HAS_SSE3) vp8_sad16x16x3 = vp8_sad16x16x3_sse3;
michael@0 656 if (flags & HAS_SSSE3) vp8_sad16x16x3 = vp8_sad16x16x3_ssse3;
michael@0 657
michael@0 658 vp8_sad4x4x8 = vp8_sad4x4x8_c;
michael@0 659 if (flags & HAS_SSE4_1) vp8_sad4x4x8 = vp8_sad4x4x8_sse4;
michael@0 660
michael@0 661 vp8_sad8x8x8 = vp8_sad8x8x8_c;
michael@0 662 if (flags & HAS_SSE4_1) vp8_sad8x8x8 = vp8_sad8x8x8_sse4;
michael@0 663
michael@0 664 vp8_sad8x16x8 = vp8_sad8x16x8_c;
michael@0 665 if (flags & HAS_SSE4_1) vp8_sad8x16x8 = vp8_sad8x16x8_sse4;
michael@0 666
michael@0 667 vp8_sad16x8x8 = vp8_sad16x8x8_c;
michael@0 668 if (flags & HAS_SSE4_1) vp8_sad16x8x8 = vp8_sad16x8x8_sse4;
michael@0 669
michael@0 670 vp8_sad16x16x8 = vp8_sad16x16x8_c;
michael@0 671 if (flags & HAS_SSE4_1) vp8_sad16x16x8 = vp8_sad16x16x8_sse4;
michael@0 672
michael@0 673 vp8_sad4x4x4d = vp8_sad4x4x4d_c;
michael@0 674 if (flags & HAS_SSE3) vp8_sad4x4x4d = vp8_sad4x4x4d_sse3;
michael@0 675
michael@0 676 vp8_sad8x8x4d = vp8_sad8x8x4d_c;
michael@0 677 if (flags & HAS_SSE3) vp8_sad8x8x4d = vp8_sad8x8x4d_sse3;
michael@0 678
michael@0 679 vp8_sad8x16x4d = vp8_sad8x16x4d_c;
michael@0 680 if (flags & HAS_SSE3) vp8_sad8x16x4d = vp8_sad8x16x4d_sse3;
michael@0 681
michael@0 682 vp8_sad16x8x4d = vp8_sad16x8x4d_c;
michael@0 683 if (flags & HAS_SSE3) vp8_sad16x8x4d = vp8_sad16x8x4d_sse3;
michael@0 684
michael@0 685 vp8_sad16x16x4d = vp8_sad16x16x4d_c;
michael@0 686 if (flags & HAS_SSE3) vp8_sad16x16x4d = vp8_sad16x16x4d_sse3;
michael@0 687
michael@0 688
michael@0 689
michael@0 690
michael@0 691
michael@0 692 vp8_copy32xn = vp8_copy32xn_sse2;
michael@0 693 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3;
michael@0 694
michael@0 695
michael@0 696
michael@0 697
michael@0 698 vp8_regular_quantize_b = vp8_regular_quantize_b_sse2;
michael@0 699 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4;
michael@0 700
michael@0 701 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2;
michael@0 702 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3;
michael@0 703
michael@0 704
michael@0 705
michael@0 706
michael@0 707
michael@0 708
michael@0 709
michael@0 710
michael@0 711
michael@0 712
michael@0 713
michael@0 714
michael@0 715 vp8_full_search_sad = vp8_full_search_sad_c;
michael@0 716 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3;
michael@0 717 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8;
michael@0 718
michael@0 719 vp8_refining_search_sad = vp8_refining_search_sad_c;
michael@0 720 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4;
michael@0 721
michael@0 722 vp8_diamond_search_sad = vp8_diamond_search_sad_c;
michael@0 723 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4;
michael@0 724 }
michael@0 725 #endif
michael@0 726 #endif

mercurial