media/libvpx/vp9_rtcd_x86-darwin9-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-darwin9-gcc.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,1122 @@
     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 +void vp9_mb_lpf_horizontal_edge_w_avx2(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count);
   1.201 +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.202 +
   1.203 +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.204 +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.205 +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.206 +
   1.207 +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.208 +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.209 +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.210 +
   1.211 +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.212 +#define vp9_blend_mb_inner vp9_blend_mb_inner_c
   1.213 +
   1.214 +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.215 +#define vp9_blend_mb_outer vp9_blend_mb_outer_c
   1.216 +
   1.217 +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.218 +#define vp9_blend_b vp9_blend_b_c
   1.219 +
   1.220 +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.221 +#define vp9_convolve_copy vp9_convolve_copy_c
   1.222 +
   1.223 +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.224 +#define vp9_convolve_avg vp9_convolve_avg_c
   1.225 +
   1.226 +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.227 +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.228 +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.229 +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.230 +
   1.231 +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.232 +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.233 +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.234 +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.235 +
   1.236 +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.237 +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.238 +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.239 +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.240 +
   1.241 +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.242 +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.243 +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.244 +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.245 +
   1.246 +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.247 +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.248 +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.249 +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.250 +
   1.251 +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.252 +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.253 +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.254 +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.255 +
   1.256 +void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.257 +void vp9_idct4x4_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.258 +RTCD_EXTERN void (*vp9_idct4x4_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.259 +
   1.260 +void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.261 +void vp9_idct4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.262 +RTCD_EXTERN void (*vp9_idct4x4_16_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.263 +
   1.264 +void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.265 +void vp9_idct8x8_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.266 +RTCD_EXTERN void (*vp9_idct8x8_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.267 +
   1.268 +void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.269 +void vp9_idct8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.270 +RTCD_EXTERN void (*vp9_idct8x8_64_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.271 +
   1.272 +void vp9_idct8x8_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.273 +void vp9_idct8x8_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.274 +RTCD_EXTERN void (*vp9_idct8x8_10_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.275 +
   1.276 +void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.277 +void vp9_idct16x16_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.278 +RTCD_EXTERN void (*vp9_idct16x16_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.279 +
   1.280 +void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.281 +void vp9_idct16x16_256_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.282 +RTCD_EXTERN void (*vp9_idct16x16_256_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.283 +
   1.284 +void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.285 +void vp9_idct16x16_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.286 +RTCD_EXTERN void (*vp9_idct16x16_10_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.287 +
   1.288 +void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.289 +void vp9_idct32x32_1024_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.290 +RTCD_EXTERN void (*vp9_idct32x32_1024_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.291 +
   1.292 +void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.293 +void vp9_idct32x32_34_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.294 +RTCD_EXTERN void (*vp9_idct32x32_34_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.295 +
   1.296 +void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.297 +void vp9_idct32x32_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride);
   1.298 +RTCD_EXTERN void (*vp9_idct32x32_1_add)(const int16_t *input, uint8_t *dest, int dest_stride);
   1.299 +
   1.300 +void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.301 +void vp9_iht4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.302 +RTCD_EXTERN void (*vp9_iht4x4_16_add)(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.303 +
   1.304 +void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.305 +void vp9_iht8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.306 +RTCD_EXTERN void (*vp9_iht8x8_64_add)(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   1.307 +
   1.308 +void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   1.309 +void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   1.310 +RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   1.311 +
   1.312 +void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.313 +#define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
   1.314 +
   1.315 +void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   1.316 +#define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
   1.317 +
   1.318 +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.319 +#define vp9_variance32x16 vp9_variance32x16_c
   1.320 +
   1.321 +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.322 +#define vp9_variance16x32 vp9_variance16x32_c
   1.323 +
   1.324 +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.325 +#define vp9_variance64x32 vp9_variance64x32_c
   1.326 +
   1.327 +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.328 +#define vp9_variance32x64 vp9_variance32x64_c
   1.329 +
   1.330 +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.331 +#define vp9_variance32x32 vp9_variance32x32_c
   1.332 +
   1.333 +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.334 +#define vp9_variance64x64 vp9_variance64x64_c
   1.335 +
   1.336 +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.337 +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.338 +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.339 +
   1.340 +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.341 +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.342 +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.343 +
   1.344 +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.345 +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.346 +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.347 +
   1.348 +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.349 +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.350 +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.351 +
   1.352 +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.353 +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.354 +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.355 +
   1.356 +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.357 +#define vp9_variance8x4 vp9_variance8x4_c
   1.358 +
   1.359 +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.360 +#define vp9_variance4x8 vp9_variance4x8_c
   1.361 +
   1.362 +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.363 +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.364 +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.365 +
   1.366 +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.367 +#define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
   1.368 +
   1.369 +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.370 +#define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
   1.371 +
   1.372 +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.373 +#define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
   1.374 +
   1.375 +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.376 +#define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
   1.377 +
   1.378 +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.379 +#define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
   1.380 +
   1.381 +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.382 +#define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
   1.383 +
   1.384 +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.385 +#define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
   1.386 +
   1.387 +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.388 +#define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
   1.389 +
   1.390 +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.391 +#define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
   1.392 +
   1.393 +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.394 +#define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
   1.395 +
   1.396 +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.397 +#define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
   1.398 +
   1.399 +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.400 +#define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
   1.401 +
   1.402 +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.403 +#define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
   1.404 +
   1.405 +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.406 +#define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
   1.407 +
   1.408 +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.409 +#define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
   1.410 +
   1.411 +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.412 +#define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
   1.413 +
   1.414 +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.415 +#define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
   1.416 +
   1.417 +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.418 +#define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
   1.419 +
   1.420 +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.421 +#define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
   1.422 +
   1.423 +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.424 +#define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
   1.425 +
   1.426 +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.427 +#define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
   1.428 +
   1.429 +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.430 +#define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
   1.431 +
   1.432 +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.433 +#define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
   1.434 +
   1.435 +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.436 +#define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
   1.437 +
   1.438 +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.439 +#define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
   1.440 +
   1.441 +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.442 +#define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
   1.443 +
   1.444 +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.445 +#define vp9_sad64x64 vp9_sad64x64_c
   1.446 +
   1.447 +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.448 +#define vp9_sad32x64 vp9_sad32x64_c
   1.449 +
   1.450 +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.451 +#define vp9_sad64x32 vp9_sad64x32_c
   1.452 +
   1.453 +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.454 +#define vp9_sad32x16 vp9_sad32x16_c
   1.455 +
   1.456 +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.457 +#define vp9_sad16x32 vp9_sad16x32_c
   1.458 +
   1.459 +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.460 +#define vp9_sad32x32 vp9_sad32x32_c
   1.461 +
   1.462 +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.463 +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.464 +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.465 +
   1.466 +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.467 +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.468 +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.469 +
   1.470 +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.471 +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.472 +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.473 +
   1.474 +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.475 +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.476 +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.477 +
   1.478 +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.479 +#define vp9_sad8x4 vp9_sad8x4_c
   1.480 +
   1.481 +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.482 +#define vp9_sad4x8 vp9_sad4x8_c
   1.483 +
   1.484 +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.485 +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.486 +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.487 +
   1.488 +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.489 +#define vp9_sad64x64_avg vp9_sad64x64_avg_c
   1.490 +
   1.491 +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.492 +#define vp9_sad32x64_avg vp9_sad32x64_avg_c
   1.493 +
   1.494 +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.495 +#define vp9_sad64x32_avg vp9_sad64x32_avg_c
   1.496 +
   1.497 +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.498 +#define vp9_sad32x16_avg vp9_sad32x16_avg_c
   1.499 +
   1.500 +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.501 +#define vp9_sad16x32_avg vp9_sad16x32_avg_c
   1.502 +
   1.503 +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.504 +#define vp9_sad32x32_avg vp9_sad32x32_avg_c
   1.505 +
   1.506 +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.507 +#define vp9_sad16x16_avg vp9_sad16x16_avg_c
   1.508 +
   1.509 +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.510 +#define vp9_sad16x8_avg vp9_sad16x8_avg_c
   1.511 +
   1.512 +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.513 +#define vp9_sad8x16_avg vp9_sad8x16_avg_c
   1.514 +
   1.515 +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.516 +#define vp9_sad8x8_avg vp9_sad8x8_avg_c
   1.517 +
   1.518 +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.519 +#define vp9_sad8x4_avg vp9_sad8x4_avg_c
   1.520 +
   1.521 +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.522 +#define vp9_sad4x8_avg vp9_sad4x8_avg_c
   1.523 +
   1.524 +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.525 +#define vp9_sad4x4_avg vp9_sad4x4_avg_c
   1.526 +
   1.527 +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.528 +#define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c
   1.529 +
   1.530 +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.531 +#define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c
   1.532 +
   1.533 +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.534 +#define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c
   1.535 +
   1.536 +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.537 +#define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c
   1.538 +
   1.539 +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.540 +#define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c
   1.541 +
   1.542 +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.543 +#define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c
   1.544 +
   1.545 +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.546 +#define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c
   1.547 +
   1.548 +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.549 +#define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c
   1.550 +
   1.551 +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.552 +#define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c
   1.553 +
   1.554 +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.555 +#define vp9_sad64x64x3 vp9_sad64x64x3_c
   1.556 +
   1.557 +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.558 +#define vp9_sad32x32x3 vp9_sad32x32x3_c
   1.559 +
   1.560 +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.561 +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.562 +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.563 +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.564 +
   1.565 +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.566 +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.567 +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.568 +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.569 +
   1.570 +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.571 +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.572 +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.573 +
   1.574 +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.575 +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.576 +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.577 +
   1.578 +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.579 +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.580 +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.581 +
   1.582 +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.583 +#define vp9_sad64x64x8 vp9_sad64x64x8_c
   1.584 +
   1.585 +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.586 +#define vp9_sad32x32x8 vp9_sad32x32x8_c
   1.587 +
   1.588 +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.589 +#define vp9_sad16x16x8 vp9_sad16x16x8_c
   1.590 +
   1.591 +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.592 +#define vp9_sad16x8x8 vp9_sad16x8x8_c
   1.593 +
   1.594 +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.595 +#define vp9_sad8x16x8 vp9_sad8x16x8_c
   1.596 +
   1.597 +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.598 +#define vp9_sad8x8x8 vp9_sad8x8x8_c
   1.599 +
   1.600 +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.601 +#define vp9_sad8x4x8 vp9_sad8x4x8_c
   1.602 +
   1.603 +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.604 +#define vp9_sad4x8x8 vp9_sad4x8x8_c
   1.605 +
   1.606 +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.607 +#define vp9_sad4x4x8 vp9_sad4x4x8_c
   1.608 +
   1.609 +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.610 +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.611 +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.612 +
   1.613 +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.614 +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.615 +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.616 +
   1.617 +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.618 +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.619 +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.620 +
   1.621 +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.622 +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.623 +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.624 +
   1.625 +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.626 +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.627 +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.628 +
   1.629 +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.630 +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.631 +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.632 +
   1.633 +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.634 +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.635 +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.636 +
   1.637 +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.638 +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.639 +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.640 +
   1.641 +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.642 +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.643 +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.644 +
   1.645 +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.646 +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.647 +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.648 +
   1.649 +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.650 +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.651 +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.652 +
   1.653 +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.654 +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.655 +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.656 +
   1.657 +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.658 +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.659 +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.660 +
   1.661 +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.662 +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.663 +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.664 +
   1.665 +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.666 +#define vp9_mse8x16 vp9_mse8x16_c
   1.667 +
   1.668 +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.669 +#define vp9_mse16x8 vp9_mse16x8_c
   1.670 +
   1.671 +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.672 +#define vp9_mse8x8 vp9_mse8x8_c
   1.673 +
   1.674 +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.675 +#define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c
   1.676 +
   1.677 +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.678 +#define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c
   1.679 +
   1.680 +unsigned int vp9_get_mb_ss_c(const int16_t *);
   1.681 +unsigned int vp9_get_mb_ss_mmx(const int16_t *);
   1.682 +unsigned int vp9_get_mb_ss_sse2(const int16_t *);
   1.683 +RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
   1.684 +
   1.685 +int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
   1.686 +#define vp9_block_error vp9_block_error_c
   1.687 +
   1.688 +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.689 +#define vp9_subtract_block vp9_subtract_block_c
   1.690 +
   1.691 +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.692 +#define vp9_quantize_b vp9_quantize_b_c
   1.693 +
   1.694 +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.695 +#define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
   1.696 +
   1.697 +void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.698 +void vp9_short_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.699 +RTCD_EXTERN void (*vp9_short_fht4x4)(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.700 +
   1.701 +void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.702 +void vp9_short_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.703 +RTCD_EXTERN void (*vp9_short_fht8x8)(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.704 +
   1.705 +void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.706 +void vp9_short_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.707 +RTCD_EXTERN void (*vp9_short_fht16x16)(const int16_t *input, int16_t *output, int stride, int tx_type);
   1.708 +
   1.709 +void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
   1.710 +#define vp9_fwht4x4 vp9_fwht4x4_c
   1.711 +
   1.712 +void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
   1.713 +void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride);
   1.714 +RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int stride);
   1.715 +
   1.716 +void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
   1.717 +void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride);
   1.718 +RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int stride);
   1.719 +
   1.720 +void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
   1.721 +void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride);
   1.722 +RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int stride);
   1.723 +
   1.724 +void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
   1.725 +void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride);
   1.726 +RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int stride);
   1.727 +
   1.728 +void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
   1.729 +void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride);
   1.730 +RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int stride);
   1.731 +
   1.732 +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.733 +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.734 +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.735 +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.736 +
   1.737 +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.738 +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.739 +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.740 +
   1.741 +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.742 +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.743 +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.744 +
   1.745 +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.746 +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.747 +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.748 +
   1.749 +void vp9_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int fraction);
   1.750 +#define vp9_yv12_copy_partial_frame vp9_yv12_copy_partial_frame_c
   1.751 +
   1.752 +void vp9_rtcd(void);
   1.753 +
   1.754 +#ifdef RTCD_C
   1.755 +#include "vpx_ports/x86.h"
   1.756 +static void setup_rtcd_internal(void)
   1.757 +{
   1.758 +    int flags = x86_simd_caps();
   1.759 +
   1.760 +    (void)flags;
   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 +
   1.814 +    vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_w_c;
   1.815 +    if (flags & HAS_SSE2) vp9_mb_lpf_vertical_edge_w = vp9_mb_lpf_vertical_edge_w_sse2;
   1.816 +
   1.817 +    vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_vertical_edge_c;
   1.818 +    if (flags & HAS_SSE2) vp9_mbloop_filter_vertical_edge = vp9_mbloop_filter_vertical_edge_sse2;
   1.819 +
   1.820 +    vp9_loop_filter_vertical_edge = vp9_loop_filter_vertical_edge_c;
   1.821 +    if (flags & HAS_MMX) vp9_loop_filter_vertical_edge = vp9_loop_filter_vertical_edge_mmx;
   1.822 +
   1.823 +    vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_c;
   1.824 +    if (flags & HAS_SSE2) vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_sse2;
   1.825 +    if (flags & HAS_AVX2) vp9_mb_lpf_horizontal_edge_w = vp9_mb_lpf_horizontal_edge_w_avx2;
   1.826 +
   1.827 +    vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_horizontal_edge_c;
   1.828 +    if (flags & HAS_SSE2) vp9_mbloop_filter_horizontal_edge = vp9_mbloop_filter_horizontal_edge_sse2;
   1.829 +
   1.830 +    vp9_loop_filter_horizontal_edge = vp9_loop_filter_horizontal_edge_c;
   1.831 +    if (flags & HAS_MMX) vp9_loop_filter_horizontal_edge = vp9_loop_filter_horizontal_edge_mmx;
   1.832 +
   1.833 +
   1.834 +
   1.835 +
   1.836 +
   1.837 +
   1.838 +    vp9_convolve8 = vp9_convolve8_c;
   1.839 +    if (flags & HAS_SSE2) vp9_convolve8 = vp9_convolve8_sse2;
   1.840 +    if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3;
   1.841 +
   1.842 +    vp9_convolve8_horiz = vp9_convolve8_horiz_c;
   1.843 +    if (flags & HAS_SSE2) vp9_convolve8_horiz = vp9_convolve8_horiz_sse2;
   1.844 +    if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3;
   1.845 +
   1.846 +    vp9_convolve8_vert = vp9_convolve8_vert_c;
   1.847 +    if (flags & HAS_SSE2) vp9_convolve8_vert = vp9_convolve8_vert_sse2;
   1.848 +    if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3;
   1.849 +
   1.850 +    vp9_convolve8_avg = vp9_convolve8_avg_c;
   1.851 +    if (flags & HAS_SSE2) vp9_convolve8_avg = vp9_convolve8_avg_sse2;
   1.852 +    if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3;
   1.853 +
   1.854 +    vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c;
   1.855 +    if (flags & HAS_SSE2) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2;
   1.856 +    if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_ssse3;
   1.857 +
   1.858 +    vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c;
   1.859 +    if (flags & HAS_SSE2) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2;
   1.860 +    if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3;
   1.861 +
   1.862 +    vp9_idct4x4_1_add = vp9_idct4x4_1_add_c;
   1.863 +    if (flags & HAS_SSE2) vp9_idct4x4_1_add = vp9_idct4x4_1_add_sse2;
   1.864 +
   1.865 +    vp9_idct4x4_16_add = vp9_idct4x4_16_add_c;
   1.866 +    if (flags & HAS_SSE2) vp9_idct4x4_16_add = vp9_idct4x4_16_add_sse2;
   1.867 +
   1.868 +    vp9_idct8x8_1_add = vp9_idct8x8_1_add_c;
   1.869 +    if (flags & HAS_SSE2) vp9_idct8x8_1_add = vp9_idct8x8_1_add_sse2;
   1.870 +
   1.871 +    vp9_idct8x8_64_add = vp9_idct8x8_64_add_c;
   1.872 +    if (flags & HAS_SSE2) vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
   1.873 +
   1.874 +    vp9_idct8x8_10_add = vp9_idct8x8_10_add_c;
   1.875 +    if (flags & HAS_SSE2) vp9_idct8x8_10_add = vp9_idct8x8_10_add_sse2;
   1.876 +
   1.877 +    vp9_idct16x16_1_add = vp9_idct16x16_1_add_c;
   1.878 +    if (flags & HAS_SSE2) vp9_idct16x16_1_add = vp9_idct16x16_1_add_sse2;
   1.879 +
   1.880 +    vp9_idct16x16_256_add = vp9_idct16x16_256_add_c;
   1.881 +    if (flags & HAS_SSE2) vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
   1.882 +
   1.883 +    vp9_idct16x16_10_add = vp9_idct16x16_10_add_c;
   1.884 +    if (flags & HAS_SSE2) vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
   1.885 +
   1.886 +    vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_c;
   1.887 +    if (flags & HAS_SSE2) vp9_idct32x32_1024_add = vp9_idct32x32_1024_add_sse2;
   1.888 +
   1.889 +    vp9_idct32x32_34_add = vp9_idct32x32_34_add_c;
   1.890 +    if (flags & HAS_SSE2) vp9_idct32x32_34_add = vp9_idct32x32_34_add_sse2;
   1.891 +
   1.892 +    vp9_idct32x32_1_add = vp9_idct32x32_1_add_c;
   1.893 +    if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2;
   1.894 +
   1.895 +    vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
   1.896 +    if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
   1.897 +
   1.898 +    vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
   1.899 +    if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
   1.900 +
   1.901 +    vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
   1.902 +    if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
   1.903 +
   1.904 +
   1.905 +
   1.906 +
   1.907 +
   1.908 +
   1.909 +
   1.910 +
   1.911 +
   1.912 +    vp9_variance16x16 = vp9_variance16x16_c;
   1.913 +    if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx;
   1.914 +
   1.915 +    vp9_variance16x8 = vp9_variance16x8_c;
   1.916 +    if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx;
   1.917 +
   1.918 +    vp9_variance8x16 = vp9_variance8x16_c;
   1.919 +    if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx;
   1.920 +
   1.921 +    vp9_variance8x8 = vp9_variance8x8_c;
   1.922 +    if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx;
   1.923 +
   1.924 +    vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c;
   1.925 +    if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2;
   1.926 +
   1.927 +
   1.928 +
   1.929 +    vp9_variance4x4 = vp9_variance4x4_c;
   1.930 +    if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx;
   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 +
   1.963 +
   1.964 +    vp9_sad16x16 = vp9_sad16x16_c;
   1.965 +    if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx;
   1.966 +
   1.967 +    vp9_sad16x8 = vp9_sad16x8_c;
   1.968 +    if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx;
   1.969 +
   1.970 +    vp9_sad8x16 = vp9_sad8x16_c;
   1.971 +    if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx;
   1.972 +
   1.973 +    vp9_sad8x8 = vp9_sad8x8_c;
   1.974 +    if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx;
   1.975 +
   1.976 +
   1.977 +
   1.978 +    vp9_sad4x4 = vp9_sad4x4_c;
   1.979 +    if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx;
   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 +
  1.1004 +
  1.1005 +    vp9_sad16x16x3 = vp9_sad16x16x3_c;
  1.1006 +    if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
  1.1007 +    if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
  1.1008 +
  1.1009 +    vp9_sad16x8x3 = vp9_sad16x8x3_c;
  1.1010 +    if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
  1.1011 +    if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
  1.1012 +
  1.1013 +    vp9_sad8x16x3 = vp9_sad8x16x3_c;
  1.1014 +    if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
  1.1015 +
  1.1016 +    vp9_sad8x8x3 = vp9_sad8x8x3_c;
  1.1017 +    if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
  1.1018 +
  1.1019 +    vp9_sad4x4x3 = vp9_sad4x4x3_c;
  1.1020 +    if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
  1.1021 +
  1.1022 +
  1.1023 +
  1.1024 +
  1.1025 +
  1.1026 +
  1.1027 +
  1.1028 +
  1.1029 +
  1.1030 +
  1.1031 +    vp9_sad64x64x4d = vp9_sad64x64x4d_c;
  1.1032 +    if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
  1.1033 +
  1.1034 +    vp9_sad32x64x4d = vp9_sad32x64x4d_c;
  1.1035 +    if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
  1.1036 +
  1.1037 +    vp9_sad64x32x4d = vp9_sad64x32x4d_c;
  1.1038 +    if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
  1.1039 +
  1.1040 +    vp9_sad32x16x4d = vp9_sad32x16x4d_c;
  1.1041 +    if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
  1.1042 +
  1.1043 +    vp9_sad16x32x4d = vp9_sad16x32x4d_c;
  1.1044 +    if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
  1.1045 +
  1.1046 +    vp9_sad32x32x4d = vp9_sad32x32x4d_c;
  1.1047 +    if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
  1.1048 +
  1.1049 +    vp9_sad16x16x4d = vp9_sad16x16x4d_c;
  1.1050 +    if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
  1.1051 +
  1.1052 +    vp9_sad16x8x4d = vp9_sad16x8x4d_c;
  1.1053 +    if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
  1.1054 +
  1.1055 +    vp9_sad8x16x4d = vp9_sad8x16x4d_c;
  1.1056 +    if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
  1.1057 +
  1.1058 +    vp9_sad8x8x4d = vp9_sad8x8x4d_c;
  1.1059 +    if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
  1.1060 +
  1.1061 +    vp9_sad8x4x4d = vp9_sad8x4x4d_c;
  1.1062 +    if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
  1.1063 +
  1.1064 +    vp9_sad4x8x4d = vp9_sad4x8x4d_c;
  1.1065 +    if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
  1.1066 +
  1.1067 +    vp9_sad4x4x4d = vp9_sad4x4x4d_c;
  1.1068 +    if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
  1.1069 +
  1.1070 +    vp9_mse16x16 = vp9_mse16x16_c;
  1.1071 +    if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx;
  1.1072 +
  1.1073 +
  1.1074 +
  1.1075 +
  1.1076 +
  1.1077 +
  1.1078 +    vp9_get_mb_ss = vp9_get_mb_ss_c;
  1.1079 +    if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx;
  1.1080 +    if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
  1.1081 +
  1.1082 +
  1.1083 +
  1.1084 +
  1.1085 +
  1.1086 +    vp9_short_fht4x4 = vp9_short_fht4x4_c;
  1.1087 +    if (flags & HAS_SSE2) vp9_short_fht4x4 = vp9_short_fht4x4_sse2;
  1.1088 +
  1.1089 +    vp9_short_fht8x8 = vp9_short_fht8x8_c;
  1.1090 +    if (flags & HAS_SSE2) vp9_short_fht8x8 = vp9_short_fht8x8_sse2;
  1.1091 +
  1.1092 +    vp9_short_fht16x16 = vp9_short_fht16x16_c;
  1.1093 +    if (flags & HAS_SSE2) vp9_short_fht16x16 = vp9_short_fht16x16_sse2;
  1.1094 +
  1.1095 +
  1.1096 +    vp9_fdct4x4 = vp9_fdct4x4_c;
  1.1097 +    if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2;
  1.1098 +
  1.1099 +    vp9_fdct8x8 = vp9_fdct8x8_c;
  1.1100 +    if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2;
  1.1101 +
  1.1102 +    vp9_fdct16x16 = vp9_fdct16x16_c;
  1.1103 +    if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
  1.1104 +
  1.1105 +    vp9_fdct32x32 = vp9_fdct32x32_c;
  1.1106 +    if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
  1.1107 +
  1.1108 +    vp9_fdct32x32_rd = vp9_fdct32x32_rd_c;
  1.1109 +    if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2;
  1.1110 +
  1.1111 +    vp9_full_search_sad = vp9_full_search_sad_c;
  1.1112 +    if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
  1.1113 +    if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
  1.1114 +
  1.1115 +    vp9_refining_search_sad = vp9_refining_search_sad_c;
  1.1116 +    if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4;
  1.1117 +
  1.1118 +    vp9_diamond_search_sad = vp9_diamond_search_sad_c;
  1.1119 +    if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4;
  1.1120 +
  1.1121 +    vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
  1.1122 +    if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_sse2;
  1.1123 +}
  1.1124 +#endif
  1.1125 +#endif

mercurial