media/libvpx/vp9_rtcd_x86-linux-gcc.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp9_rtcd_x86-linux-gcc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,1120 @@
     1.4 +#ifndef VP9_RTCD_H_
     1.5 +#define VP9_RTCD_H_
     1.6 +
     1.7 +#ifdef RTCD_C
     1.8 +#define RTCD_EXTERN
     1.9 +#else
    1.10 +#define RTCD_EXTERN extern
    1.11 +#endif
    1.12 +
    1.13 +/*
    1.14 + * VP9
    1.15 + */
    1.16 +
    1.17 +#include "vpx/vpx_integer.h"
    1.18 +#include "vp9/common/vp9_enums.h"
    1.19 +
    1.20 +struct macroblockd;
    1.21 +
    1.22 +/* Encoder forward decls */
    1.23 +struct macroblock;
    1.24 +struct vp9_variance_vtable;
    1.25 +
    1.26 +#define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
    1.27 +union int_mv;
    1.28 +struct yv12_buffer_config;
    1.29 +
    1.30 +void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.31 +#define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c
    1.32 +
    1.33 +void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.34 +#define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c
    1.35 +
    1.36 +void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.37 +#define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c
    1.38 +
    1.39 +void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.40 +#define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
    1.41 +
    1.42 +void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.43 +#define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
    1.44 +
    1.45 +void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.46 +#define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
    1.47 +
    1.48 +void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.49 +#define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c
    1.50 +
    1.51 +void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.52 +#define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
    1.53 +
    1.54 +void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.55 +#define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c
    1.56 +
    1.57 +void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.58 +#define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c
    1.59 +
    1.60 +void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.61 +#define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
    1.62 +
    1.63 +void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.64 +#define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
    1.65 +
    1.66 +void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.67 +#define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
    1.68 +
    1.69 +void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.70 +#define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c
    1.71 +
    1.72 +void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.73 +#define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c
    1.74 +
    1.75 +void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.76 +#define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c
    1.77 +
    1.78 +void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.79 +#define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c
    1.80 +
    1.81 +void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.82 +#define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
    1.83 +
    1.84 +void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.85 +#define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
    1.86 +
    1.87 +void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.88 +#define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c
    1.89 +
    1.90 +void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.91 +#define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
    1.92 +
    1.93 +void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.94 +#define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c
    1.95 +
    1.96 +void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    1.97 +#define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c
    1.98 +
    1.99 +void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.100 +#define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c
   1.101 +
   1.102 +void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.103 +#define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
   1.104 +
   1.105 +void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.106 +#define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
   1.107 +
   1.108 +void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.109 +#define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c
   1.110 +
   1.111 +void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.112 +#define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c
   1.113 +
   1.114 +void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.115 +#define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c
   1.116 +
   1.117 +void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.118 +#define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
   1.119 +
   1.120 +void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.121 +#define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
   1.122 +
   1.123 +void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.124 +#define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
   1.125 +
   1.126 +void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.127 +#define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c
   1.128 +
   1.129 +void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.130 +#define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
   1.131 +
   1.132 +void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.133 +#define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
   1.134 +
   1.135 +void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.136 +#define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c
   1.137 +
   1.138 +void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.139 +#define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
   1.140 +
   1.141 +void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.142 +#define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
   1.143 +
   1.144 +void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.145 +#define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
   1.146 +
   1.147 +void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.148 +#define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c
   1.149 +
   1.150 +void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.151 +#define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c
   1.152 +
   1.153 +void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.154 +#define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c
   1.155 +
   1.156 +void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.157 +#define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
   1.158 +
   1.159 +void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.160 +#define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
   1.161 +
   1.162 +void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.163 +#define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
   1.164 +
   1.165 +void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.166 +#define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
   1.167 +
   1.168 +void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.169 +#define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
   1.170 +
   1.171 +void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.172 +#define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
   1.173 +
   1.174 +void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.175 +#define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c
   1.176 +
   1.177 +void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.178 +#define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
   1.179 +
   1.180 +void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.181 +#define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
   1.182 +
   1.183 +void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   1.184 +#define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
   1.185 +
   1.186 +void vp9_mb_lpf_vertical_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
   1.187 +void vp9_mb_lpf_vertical_edge_w_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
   1.188 +RTCD_EXTERN void (*vp9_mb_lpf_vertical_edge_w)(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
   1.189 +
   1.190 +void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.191 +void vp9_mbloop_filter_vertical_edge_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.192 +RTCD_EXTERN void (*vp9_mbloop_filter_vertical_edge)(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.193 +
   1.194 +void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.195 +void vp9_loop_filter_vertical_edge_mmx(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.196 +RTCD_EXTERN void (*vp9_loop_filter_vertical_edge)(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.197 +
   1.198 +void vp9_mb_lpf_horizontal_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.199 +void vp9_mb_lpf_horizontal_edge_w_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.200 +RTCD_EXTERN void (*vp9_mb_lpf_horizontal_edge_w)(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.201 +
   1.202 +void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.203 +void vp9_mbloop_filter_horizontal_edge_sse2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.204 +RTCD_EXTERN void (*vp9_mbloop_filter_horizontal_edge)(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.205 +
   1.206 +void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.207 +void vp9_loop_filter_horizontal_edge_mmx(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.208 +RTCD_EXTERN void (*vp9_loop_filter_horizontal_edge)(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.209 +
   1.210 +void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
   1.211 +#define vp9_blend_mb_inner vp9_blend_mb_inner_c
   1.212 +
   1.213 +void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
   1.214 +#define vp9_blend_mb_outer vp9_blend_mb_outer_c
   1.215 +
   1.216 +void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride);
   1.217 +#define vp9_blend_b vp9_blend_b_c
   1.218 +
   1.219 +void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.220 +#define vp9_convolve_copy vp9_convolve_copy_c
   1.221 +
   1.222 +void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.223 +#define vp9_convolve_avg vp9_convolve_avg_c
   1.224 +
   1.225 +void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.226 +void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.227 +void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.228 +RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.229 +
   1.230 +void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.231 +void vp9_convolve8_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.232 +void vp9_convolve8_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.233 +RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.234 +
   1.235 +void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.236 +void vp9_convolve8_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.237 +void vp9_convolve8_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.238 +RTCD_EXTERN void (*vp9_convolve8_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.239 +
   1.240 +void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.241 +void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.242 +void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.243 +RTCD_EXTERN void (*vp9_convolve8_avg)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.244 +
   1.245 +void vp9_convolve8_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.246 +void vp9_convolve8_avg_horiz_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.247 +void vp9_convolve8_avg_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.248 +RTCD_EXTERN void (*vp9_convolve8_avg_horiz)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.249 +
   1.250 +void vp9_convolve8_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.251 +void vp9_convolve8_avg_vert_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.252 +void vp9_convolve8_avg_vert_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.253 +RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter_y, int y_step_q4, int w, int h);
   1.254 +
   1.255 +void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.256 +void vp9_idct4x4_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.257 +RTCD_EXTERN void (*vp9_idct4x4_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.258 +
   1.259 +void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.260 +void vp9_idct4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.261 +RTCD_EXTERN void (*vp9_idct4x4_16_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.262 +
   1.263 +void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.264 +void vp9_idct8x8_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.265 +RTCD_EXTERN void (*vp9_idct8x8_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.266 +
   1.267 +void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.268 +void vp9_idct8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.269 +RTCD_EXTERN void (*vp9_idct8x8_64_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.270 +
   1.271 +void vp9_idct8x8_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.272 +void vp9_idct8x8_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.273 +RTCD_EXTERN void (*vp9_idct8x8_10_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.274 +
   1.275 +void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.276 +void vp9_idct16x16_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.277 +RTCD_EXTERN void (*vp9_idct16x16_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.278 +
   1.279 +void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.280 +void vp9_idct16x16_256_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.281 +RTCD_EXTERN void (*vp9_idct16x16_256_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.282 +
   1.283 +void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.284 +void vp9_idct16x16_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.285 +RTCD_EXTERN void (*vp9_idct16x16_10_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.286 +
   1.287 +void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.288 +void vp9_idct32x32_1024_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.289 +RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.290 +
   1.291 +void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.292 +void vp9_idct32x32_34_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.293 +RTCD_EXTERN void (*vp9_idct32x32_34_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.294 +
   1.295 +void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.296 +void vp9_idct32x32_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.297 +RTCD_EXTERN void (*vp9_idct32x32_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.298 +
   1.299 +void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.300 +void vp9_iht4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.301 +RTCD_EXTERN void (*vp9_iht4x4_16_add)(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.302 +
   1.303 +void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.304 +void vp9_iht8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.305 +RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.306 +
   1.307 +void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   1.308 +void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   1.309 +RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   1.310 +
   1.311 +void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.312 +#define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
   1.313 +
   1.314 +void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.315 +#define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
   1.316 +
   1.317 +unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.318 +#define vp9_variance32x16 vp9_variance32x16_c
   1.319 +
   1.320 +unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.321 +#define vp9_variance16x32 vp9_variance16x32_c
   1.322 +
   1.323 +unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.324 +#define vp9_variance64x32 vp9_variance64x32_c
   1.325 +
   1.326 +unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.327 +#define vp9_variance32x64 vp9_variance32x64_c
   1.328 +
   1.329 +unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.330 +#define vp9_variance32x32 vp9_variance32x32_c
   1.331 +
   1.332 +unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.333 +#define vp9_variance64x64 vp9_variance64x64_c
   1.334 +
   1.335 +unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.336 +unsigned int vp9_variance16x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.337 +RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.338 +
   1.339 +unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.340 +unsigned int vp9_variance16x8_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.341 +RTCD_EXTERN unsigned int (*vp9_variance16x8)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.342 +
   1.343 +unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.344 +unsigned int vp9_variance8x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.345 +RTCD_EXTERN unsigned int (*vp9_variance8x16)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.346 +
   1.347 +unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.348 +unsigned int vp9_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.349 +RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.350 +
   1.351 +void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
   1.352 +void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
   1.353 +RTCD_EXTERN void (*vp9_get_sse_sum_8x8)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
   1.354 +
   1.355 +unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.356 +#define vp9_variance8x4 vp9_variance8x4_c
   1.357 +
   1.358 +unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.359 +#define vp9_variance4x8 vp9_variance4x8_c
   1.360 +
   1.361 +unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.362 +unsigned int vp9_variance4x4_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.363 +RTCD_EXTERN unsigned int (*vp9_variance4x4)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.364 +
   1.365 +unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.366 +#define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
   1.367 +
   1.368 +unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.369 +#define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
   1.370 +
   1.371 +unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.372 +#define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
   1.373 +
   1.374 +unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.375 +#define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
   1.376 +
   1.377 +unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.378 +#define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
   1.379 +
   1.380 +unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.381 +#define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
   1.382 +
   1.383 +unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.384 +#define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
   1.385 +
   1.386 +unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.387 +#define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
   1.388 +
   1.389 +unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.390 +#define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
   1.391 +
   1.392 +unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.393 +#define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
   1.394 +
   1.395 +unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.396 +#define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
   1.397 +
   1.398 +unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.399 +#define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
   1.400 +
   1.401 +unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.402 +#define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
   1.403 +
   1.404 +unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.405 +#define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
   1.406 +
   1.407 +unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.408 +#define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
   1.409 +
   1.410 +unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.411 +#define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
   1.412 +
   1.413 +unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.414 +#define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
   1.415 +
   1.416 +unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.417 +#define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
   1.418 +
   1.419 +unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.420 +#define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
   1.421 +
   1.422 +unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.423 +#define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
   1.424 +
   1.425 +unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.426 +#define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
   1.427 +
   1.428 +unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.429 +#define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
   1.430 +
   1.431 +unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.432 +#define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
   1.433 +
   1.434 +unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.435 +#define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
   1.436 +
   1.437 +unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.438 +#define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
   1.439 +
   1.440 +unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred);
   1.441 +#define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
   1.442 +
   1.443 +unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.444 +#define vp9_sad64x64 vp9_sad64x64_c
   1.445 +
   1.446 +unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
   1.447 +#define vp9_sad32x64 vp9_sad32x64_c
   1.448 +
   1.449 +unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
   1.450 +#define vp9_sad64x32 vp9_sad64x32_c
   1.451 +
   1.452 +unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
   1.453 +#define vp9_sad32x16 vp9_sad32x16_c
   1.454 +
   1.455 +unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
   1.456 +#define vp9_sad16x32 vp9_sad16x32_c
   1.457 +
   1.458 +unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.459 +#define vp9_sad32x32 vp9_sad32x32_c
   1.460 +
   1.461 +unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.462 +unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.463 +RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.464 +
   1.465 +unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.466 +unsigned int vp9_sad16x8_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.467 +RTCD_EXTERN unsigned int (*vp9_sad16x8)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.468 +
   1.469 +unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.470 +unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.471 +RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.472 +
   1.473 +unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.474 +unsigned int vp9_sad8x8_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.475 +RTCD_EXTERN unsigned int (*vp9_sad8x8)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.476 +
   1.477 +unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
   1.478 +#define vp9_sad8x4 vp9_sad8x4_c
   1.479 +
   1.480 +unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad);
   1.481 +#define vp9_sad4x8 vp9_sad4x8_c
   1.482 +
   1.483 +unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.484 +unsigned int vp9_sad4x4_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.485 +RTCD_EXTERN unsigned int (*vp9_sad4x4)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int max_sad);
   1.486 +
   1.487 +unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.488 +#define vp9_sad64x64_avg vp9_sad64x64_avg_c
   1.489 +
   1.490 +unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.491 +#define vp9_sad32x64_avg vp9_sad32x64_avg_c
   1.492 +
   1.493 +unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.494 +#define vp9_sad64x32_avg vp9_sad64x32_avg_c
   1.495 +
   1.496 +unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.497 +#define vp9_sad32x16_avg vp9_sad32x16_avg_c
   1.498 +
   1.499 +unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.500 +#define vp9_sad16x32_avg vp9_sad16x32_avg_c
   1.501 +
   1.502 +unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.503 +#define vp9_sad32x32_avg vp9_sad32x32_avg_c
   1.504 +
   1.505 +unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.506 +#define vp9_sad16x16_avg vp9_sad16x16_avg_c
   1.507 +
   1.508 +unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.509 +#define vp9_sad16x8_avg vp9_sad16x8_avg_c
   1.510 +
   1.511 +unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.512 +#define vp9_sad8x16_avg vp9_sad8x16_avg_c
   1.513 +
   1.514 +unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.515 +#define vp9_sad8x8_avg vp9_sad8x8_avg_c
   1.516 +
   1.517 +unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.518 +#define vp9_sad8x4_avg vp9_sad8x4_avg_c
   1.519 +
   1.520 +unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.521 +#define vp9_sad4x8_avg vp9_sad4x8_avg_c
   1.522 +
   1.523 +unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, const uint8_t *second_pred, unsigned int max_sad);
   1.524 +#define vp9_sad4x4_avg vp9_sad4x4_avg_c
   1.525 +
   1.526 +unsigned int vp9_variance_halfpixvar16x16_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.527 +#define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c
   1.528 +
   1.529 +unsigned int vp9_variance_halfpixvar16x16_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.530 +#define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c
   1.531 +
   1.532 +unsigned int vp9_variance_halfpixvar16x16_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.533 +#define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c
   1.534 +
   1.535 +unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.536 +#define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c
   1.537 +
   1.538 +unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.539 +#define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c
   1.540 +
   1.541 +unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.542 +#define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c
   1.543 +
   1.544 +unsigned int vp9_variance_halfpixvar32x32_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.545 +#define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c
   1.546 +
   1.547 +unsigned int vp9_variance_halfpixvar32x32_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.548 +#define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c
   1.549 +
   1.550 +unsigned int vp9_variance_halfpixvar32x32_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.551 +#define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c
   1.552 +
   1.553 +void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.554 +#define vp9_sad64x64x3 vp9_sad64x64x3_c
   1.555 +
   1.556 +void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.557 +#define vp9_sad32x32x3 vp9_sad32x32x3_c
   1.558 +
   1.559 +void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.560 +void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.561 +void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.562 +RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.563 +
   1.564 +void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.565 +void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.566 +void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.567 +RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.568 +
   1.569 +void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.570 +void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.571 +RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.572 +
   1.573 +void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.574 +void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.575 +RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.576 +
   1.577 +void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.578 +void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.579 +RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int  ref_stride, unsigned int *sad_array);
   1.580 +
   1.581 +void vp9_sad64x64x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.582 +#define vp9_sad64x64x8 vp9_sad64x64x8_c
   1.583 +
   1.584 +void vp9_sad32x32x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.585 +#define vp9_sad32x32x8 vp9_sad32x32x8_c
   1.586 +
   1.587 +void vp9_sad16x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.588 +#define vp9_sad16x16x8 vp9_sad16x16x8_c
   1.589 +
   1.590 +void vp9_sad16x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.591 +#define vp9_sad16x8x8 vp9_sad16x8x8_c
   1.592 +
   1.593 +void vp9_sad8x16x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.594 +#define vp9_sad8x16x8 vp9_sad8x16x8_c
   1.595 +
   1.596 +void vp9_sad8x8x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.597 +#define vp9_sad8x8x8 vp9_sad8x8x8_c
   1.598 +
   1.599 +void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
   1.600 +#define vp9_sad8x4x8 vp9_sad8x4x8_c
   1.601 +
   1.602 +void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
   1.603 +#define vp9_sad4x8x8 vp9_sad4x8x8_c
   1.604 +
   1.605 +void vp9_sad4x4x8_c(const uint8_t *src_ptr, int  src_stride, const uint8_t *ref_ptr, int  ref_stride, uint32_t *sad_array);
   1.606 +#define vp9_sad4x4x8 vp9_sad4x4x8_c
   1.607 +
   1.608 +void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.609 +void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.610 +RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.611 +
   1.612 +void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.613 +void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.614 +RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.615 +
   1.616 +void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.617 +void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.618 +RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.619 +
   1.620 +void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.621 +void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.622 +RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.623 +
   1.624 +void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.625 +void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.626 +RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.627 +
   1.628 +void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.629 +void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.630 +RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.631 +
   1.632 +void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.633 +void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.634 +RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.635 +
   1.636 +void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.637 +void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.638 +RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.639 +
   1.640 +void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.641 +void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.642 +RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.643 +
   1.644 +void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.645 +void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.646 +RTCD_EXTERN void (*vp9_sad8x8x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.647 +
   1.648 +void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
   1.649 +void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
   1.650 +RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
   1.651 +
   1.652 +void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
   1.653 +void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
   1.654 +RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
   1.655 +
   1.656 +void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.657 +void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.658 +RTCD_EXTERN void (*vp9_sad4x4x4d)(const uint8_t *src_ptr, int  src_stride, const uint8_t* const ref_ptr[], int  ref_stride, unsigned int *sad_array);
   1.659 +
   1.660 +unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
   1.661 +unsigned int vp9_mse16x16_mmx(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
   1.662 +RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
   1.663 +
   1.664 +unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
   1.665 +#define vp9_mse8x16 vp9_mse8x16_c
   1.666 +
   1.667 +unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
   1.668 +#define vp9_mse16x8 vp9_mse16x8_c
   1.669 +
   1.670 +unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
   1.671 +#define vp9_mse8x8 vp9_mse8x8_c
   1.672 +
   1.673 +unsigned int vp9_sub_pixel_mse64x64_c(const uint8_t *src_ptr, int  source_stride, int  xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.674 +#define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c
   1.675 +
   1.676 +unsigned int vp9_sub_pixel_mse32x32_c(const uint8_t *src_ptr, int  source_stride, int  xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
   1.677 +#define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c
   1.678 +
   1.679 +unsigned int vp9_get_mb_ss_c(const int16_t *);
   1.680 +unsigned int vp9_get_mb_ss_mmx(const int16_t *);
   1.681 +unsigned int vp9_get_mb_ss_sse2(const int16_t *);
   1.682 +RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
   1.683 +
   1.684 +int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
   1.685 +#define vp9_block_error vp9_block_error_c
   1.686 +
   1.687 +void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride);
   1.688 +#define vp9_subtract_block vp9_subtract_block_c
   1.689 +
   1.690 +void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
   1.691 +#define vp9_quantize_b vp9_quantize_b_c
   1.692 +
   1.693 +void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
   1.694 +#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
   1.695 +
   1.696 +void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.697 +void vp9_short_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.698 +RTCD_EXTERN void (*vp9_short_fht4x4)(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.699 +
   1.700 +void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.701 +void vp9_short_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.702 +RTCD_EXTERN void (*vp9_short_fht8x8)(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.703 +
   1.704 +void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.705 +void vp9_short_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.706 +RTCD_EXTERN void (*vp9_short_fht16x16)(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.707 +
   1.708 +void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
   1.709 +#define vp9_fwht4x4 vp9_fwht4x4_c
   1.710 +
   1.711 +void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
   1.712 +void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride);
   1.713 +RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int stride);
   1.714 +
   1.715 +void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
   1.716 +void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride);
   1.717 +RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int stride);
   1.718 +
   1.719 +void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
   1.720 +void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride);
   1.721 +RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int stride);
   1.722 +
   1.723 +void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
   1.724 +void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride);
   1.725 +RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int stride);
   1.726 +
   1.727 +void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
   1.728 +void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride);
   1.729 +RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int stride);
   1.730 +
   1.731 +int vp9_full_search_sad_c(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv, int n);
   1.732 +int vp9_full_search_sadx3(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv, int n);
   1.733 +int vp9_full_search_sadx8(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv, int n);
   1.734 +RTCD_EXTERN int (*vp9_full_search_sad)(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv, int n);
   1.735 +
   1.736 +int vp9_refining_search_sad_c(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv);
   1.737 +int vp9_refining_search_sadx4(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv);
   1.738 +RTCD_EXTERN int (*vp9_refining_search_sad)(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv);
   1.739 +
   1.740 +int vp9_diamond_search_sad_c(struct macroblock *x, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv);
   1.741 +int vp9_diamond_search_sadx4(struct macroblock *x, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv);
   1.742 +RTCD_EXTERN int (*vp9_diamond_search_sad)(struct macroblock *x, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv);
   1.743 +
   1.744 +void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
   1.745 +void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
   1.746 +RTCD_EXTERN void (*vp9_temporal_filter_apply)(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count);
   1.747 +
   1.748 +void vp9_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int fraction);
   1.749 +#define vp9_yv12_copy_partial_frame vp9_yv12_copy_partial_frame_c
   1.750 +
   1.751 +void vp9_rtcd(void);
   1.752 +
   1.753 +#ifdef RTCD_C
   1.754 +#include "vpx_ports/x86.h"
   1.755 +static void setup_rtcd_internal(void)
   1.756 +{
   1.757 +    int flags = x86_simd_caps();
   1.758 +
   1.759 +    (void)flags;
   1.760 +
   1.761 +
   1.762 +
   1.763 +
   1.764 +
   1.765 +
   1.766 +
   1.767 +
   1.768 +
   1.769 +
   1.770 +
   1.771 +
   1.772 +
   1.773 +
   1.774 +
   1.775 +
   1.776 +
   1.777 +
   1.778 +
   1.779 +
   1.780 +
   1.781 +
   1.782 +
   1.783 +
   1.784 +
   1.785 +
   1.786 +
   1.787 +
   1.788 +
   1.789 +
   1.790 +
   1.791 +
   1.792 +
   1.793 +
   1.794 +
   1.795 +
   1.796 +
   1.797 +
   1.798 +
   1.799 +
   1.800 +
   1.801 +
   1.802 +
   1.803 +
   1.804 +
   1.805 +
   1.806 +
   1.807 +
   1.808 +
   1.809 +
   1.810 +
   1.811 +
   1.812 +
   1.813 +    vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_w_c;
   1.814 +    if (flags & HAS_SSE2) vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_w_sse2;
   1.815 +
   1.816 +    vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_vertical_edge_c;
   1.817 +    if (flags & HAS_SSE2) vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_vertical_edge_sse2;
   1.818 +
   1.819 +    vp9_loop_filter_vertical_edge = vp9_loop_filter_vertical_edge_c;
   1.820 +    if (flags & HAS_MMX) vp9_loop_filter_vertical_edge = vp9_loop_filter_vertical_edge_mmx;
   1.821 +
   1.822 +    vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_c;
   1.823 +    if (flags & HAS_SSE2) vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_sse2;
   1.824 +
   1.825 +    vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_horizontal_edge_c;
   1.826 +    if (flags & HAS_SSE2) vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_horizontal_edge_sse2;
   1.827 +
   1.828 +    vp9_loop_filter_horizontal_edge = vp9_loop_filter_horizontal_edge_c;
   1.829 +    if (flags & HAS_MMX) vp9_loop_filter_horizontal_edge = vp9_loop_filter_horizontal_edge_mmx;
   1.830 +
   1.831 +
   1.832 +
   1.833 +
   1.834 +
   1.835 +
   1.836 +    vp9_convolve8 = vp9_convolve8_c;
   1.837 +    if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2;
   1.838 +    if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
   1.839 +
   1.840 +    vp9_convolve8_horiz = vp9_convolve8_horiz_c;
   1.841 +    if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
   1.842 +    if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
   1.843 +
   1.844 +    vp9_convolve8_vert = vp9_convolve8_vert_c;
   1.845 +    if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2;
   1.846 +    if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
   1.847 +
   1.848 +    vp9_convolve8_avg = vp9_convolve8_avg_c;
   1.849 +    if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2;
   1.850 +    if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
   1.851 +
   1.852 +    vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
   1.853 +    if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2;
   1.854 +    if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_ssse3;
   1.855 +
   1.856 +    vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
   1.857 +    if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
   1.858 +    if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3;
   1.859 +
   1.860 +    vp9_idct4x4_1_add = vp9_idct4x4_1_add_c;
   1.861 +    if (flags & HAS_SSE2) vp9_idct4x4_1_add = vp9_idct4x4_1_add_sse2;
   1.862 +
   1.863 +    vp9_idct4x4_16_add = vp9_idct4x4_16_add_c;
   1.864 +    if (flags & HAS_SSE2) vp9_idct4x4_16_add = vp9_idct4x4_16_add_sse2;
   1.865 +
   1.866 +    vp9_idct8x8_1_add = vp9_idct8x8_1_add_c;
   1.867 +    if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2;
   1.868 +
   1.869 +    vp9_idct8x8_64_add = vp9_idct8x8_64_add_c;
   1.870 +    if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
   1.871 +
   1.872 +    vp9_idct8x8_10_add = vp9_idct8x8_10_add_c;
   1.873 +    if (flags & HAS_SSE2) vp9_idct8x8_10_add = vp9_idct8x8_10_add_sse2;
   1.874 +
   1.875 +    vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
   1.876 +    if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
   1.877 +
   1.878 +    vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
   1.879 +    if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
   1.880 +
   1.881 +    vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
   1.882 +    if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
   1.883 +
   1.884 +    vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
   1.885 +    if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
   1.886 +
   1.887 +    vp9_idct32x32_34_add = vp9_idct32x32_34_add_c;
   1.888 +    if (flags & HAS_SSE2) vp9_idct32x32_34_add = vp9_idct32x32_34_add_sse2;
   1.889 +
   1.890 +    vp9_idct32x32_1_add = vp9_idct32x32_1_add_c;
   1.891 +    if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2;
   1.892 +
   1.893 +    vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
   1.894 +    if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
   1.895 +
   1.896 +    vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
   1.897 +    if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
   1.898 +
   1.899 +    vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
   1.900 +    if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
   1.901 +
   1.902 +
   1.903 +
   1.904 +
   1.905 +
   1.906 +
   1.907 +
   1.908 +
   1.909 +
   1.910 +    vp9_variance16x16 = vp9_variance16x16_c;
   1.911 +    if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx;
   1.912 +
   1.913 +    vp9_variance16x8 = vp9_variance16x8_c;
   1.914 +    if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx;
   1.915 +
   1.916 +    vp9_variance8x16 = vp9_variance8x16_c;
   1.917 +    if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx;
   1.918 +
   1.919 +    vp9_variance8x8 = vp9_variance8x8_c;
   1.920 +    if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx;
   1.921 +
   1.922 +    vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c;
   1.923 +    if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2;
   1.924 +
   1.925 +
   1.926 +
   1.927 +    vp9_variance4x4 = vp9_variance4x4_c;
   1.928 +    if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx;
   1.929 +
   1.930 +
   1.931 +
   1.932 +
   1.933 +
   1.934 +
   1.935 +
   1.936 +
   1.937 +
   1.938 +
   1.939 +
   1.940 +
   1.941 +
   1.942 +
   1.943 +
   1.944 +
   1.945 +
   1.946 +
   1.947 +
   1.948 +
   1.949 +
   1.950 +
   1.951 +
   1.952 +
   1.953 +
   1.954 +
   1.955 +
   1.956 +
   1.957 +
   1.958 +
   1.959 +
   1.960 +
   1.961 +
   1.962 +    vp9_sad16x16 = vp9_sad16x16_c;
   1.963 +    if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx;
   1.964 +
   1.965 +    vp9_sad16x8 = vp9_sad16x8_c;
   1.966 +    if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx;
   1.967 +
   1.968 +    vp9_sad8x16 = vp9_sad8x16_c;
   1.969 +    if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx;
   1.970 +
   1.971 +    vp9_sad8x8 = vp9_sad8x8_c;
   1.972 +    if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx;
   1.973 +
   1.974 +
   1.975 +
   1.976 +    vp9_sad4x4 = vp9_sad4x4_c;
   1.977 +    if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx;
   1.978 +
   1.979 +
   1.980 +
   1.981 +
   1.982 +
   1.983 +
   1.984 +
   1.985 +
   1.986 +
   1.987 +
   1.988 +
   1.989 +
   1.990 +
   1.991 +
   1.992 +
   1.993 +
   1.994 +
   1.995 +
   1.996 +
   1.997 +
   1.998 +
   1.999 +
  1.1000 +
  1.1001 +
  1.1002 +
  1.1003 +    vp9_sad16x16x3 = vp9_sad16x16x3_c;
  1.1004 +    if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
  1.1005 +    if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
  1.1006 +
  1.1007 +    vp9_sad16x8x3 = vp9_sad16x8x3_c;
  1.1008 +    if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
  1.1009 +    if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
  1.1010 +
  1.1011 +    vp9_sad8x16x3 = vp9_sad8x16x3_c;
  1.1012 +    if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
  1.1013 +
  1.1014 +    vp9_sad8x8x3 = vp9_sad8x8x3_c;
  1.1015 +    if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
  1.1016 +
  1.1017 +    vp9_sad4x4x3 = vp9_sad4x4x3_c;
  1.1018 +    if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
  1.1019 +
  1.1020 +
  1.1021 +
  1.1022 +
  1.1023 +
  1.1024 +
  1.1025 +
  1.1026 +
  1.1027 +
  1.1028 +
  1.1029 +    vp9_sad64x64x4d = vp9_sad64x64x4d_c;
  1.1030 +    if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
  1.1031 +
  1.1032 +    vp9_sad32x64x4d = vp9_sad32x64x4d_c;
  1.1033 +    if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
  1.1034 +
  1.1035 +    vp9_sad64x32x4d = vp9_sad64x32x4d_c;
  1.1036 +    if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
  1.1037 +
  1.1038 +    vp9_sad32x16x4d = vp9_sad32x16x4d_c;
  1.1039 +    if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
  1.1040 +
  1.1041 +    vp9_sad16x32x4d = vp9_sad16x32x4d_c;
  1.1042 +    if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
  1.1043 +
  1.1044 +    vp9_sad32x32x4d = vp9_sad32x32x4d_c;
  1.1045 +    if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
  1.1046 +
  1.1047 +    vp9_sad16x16x4d = vp9_sad16x16x4d_c;
  1.1048 +    if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
  1.1049 +
  1.1050 +    vp9_sad16x8x4d = vp9_sad16x8x4d_c;
  1.1051 +    if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
  1.1052 +
  1.1053 +    vp9_sad8x16x4d = vp9_sad8x16x4d_c;
  1.1054 +    if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
  1.1055 +
  1.1056 +    vp9_sad8x8x4d = vp9_sad8x8x4d_c;
  1.1057 +    if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
  1.1058 +
  1.1059 +    vp9_sad8x4x4d = vp9_sad8x4x4d_c;
  1.1060 +    if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
  1.1061 +
  1.1062 +    vp9_sad4x8x4d = vp9_sad4x8x4d_c;
  1.1063 +    if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
  1.1064 +
  1.1065 +    vp9_sad4x4x4d = vp9_sad4x4x4d_c;
  1.1066 +    if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
  1.1067 +
  1.1068 +    vp9_mse16x16 = vp9_mse16x16_c;
  1.1069 +    if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx;
  1.1070 +
  1.1071 +
  1.1072 +
  1.1073 +
  1.1074 +
  1.1075 +
  1.1076 +    vp9_get_mb_ss = vp9_get_mb_ss_c;
  1.1077 +    if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx;
  1.1078 +    if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
  1.1079 +
  1.1080 +
  1.1081 +
  1.1082 +
  1.1083 +
  1.1084 +    vp9_short_fht4x4 = vp9_short_fht4x4_c;
  1.1085 +    if (flags & HAS_SSE2) vp9_short_fht4x4 = vp9_short_fht4x4_sse2;
  1.1086 +
  1.1087 +    vp9_short_fht8x8 = vp9_short_fht8x8_c;
  1.1088 +    if (flags & HAS_SSE2) vp9_short_fht8x8 = vp9_short_fht8x8_sse2;
  1.1089 +
  1.1090 +    vp9_short_fht16x16 = vp9_short_fht16x16_c;
  1.1091 +    if (flags & HAS_SSE2) vp9_short_fht16x16 = vp9_short_fht16x16_sse2;
  1.1092 +
  1.1093 +
  1.1094 +    vp9_fdct4x4 = vp9_fdct4x4_c;
  1.1095 +    if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2;
  1.1096 +
  1.1097 +    vp9_fdct8x8 = vp9_fdct8x8_c;
  1.1098 +    if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2;
  1.1099 +
  1.1100 +    vp9_fdct16x16 = vp9_fdct16x16_c;
  1.1101 +    if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
  1.1102 +
  1.1103 +    vp9_fdct32x32 = vp9_fdct32x32_c;
  1.1104 +    if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
  1.1105 +
  1.1106 +    vp9_fdct32x32_rd = vp9_fdct32x32_rd_c;
  1.1107 +    if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2;
  1.1108 +
  1.1109 +    vp9_full_search_sad = vp9_full_search_sad_c;
  1.1110 +    if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
  1.1111 +    if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
  1.1112 +
  1.1113 +    vp9_refining_search_sad = vp9_refining_search_sad_c;
  1.1114 +    if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4;
  1.1115 +
  1.1116 +    vp9_diamond_search_sad = vp9_diamond_search_sad_c;
  1.1117 +    if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4;
  1.1118 +
  1.1119 +    vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
  1.1120 +    if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_sse2;
  1.1121 +}
  1.1122 +#endif
  1.1123 +#endif

mercurial