Home | History | Annotate | Download | only in generic
      1 #ifndef VPX_DSP_RTCD_H_
      2 #define VPX_DSP_RTCD_H_
      3 
      4 #ifdef RTCD_C
      5 #define RTCD_EXTERN
      6 #else
      7 #define RTCD_EXTERN extern
      8 #endif
      9 
     10 /*
     11  * DSP
     12  */
     13 
     14 #include "vpx/vpx_integer.h"
     15 #include "vpx_dsp/vpx_dsp_common.h"
     16 
     17 
     18 #ifdef __cplusplus
     19 extern "C" {
     20 #endif
     21 
     22 unsigned int vpx_avg_4x4_c(const uint8_t *, int p);
     23 #define vpx_avg_4x4 vpx_avg_4x4_c
     24 
     25 unsigned int vpx_avg_8x8_c(const uint8_t *, int p);
     26 #define vpx_avg_8x8 vpx_avg_8x8_c
     27 
     28 void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride);
     29 #define vpx_comp_avg_pred vpx_comp_avg_pred_c
     30 
     31 void vpx_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);
     32 #define vpx_convolve8 vpx_convolve8_c
     33 
     34 void vpx_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);
     35 #define vpx_convolve8_avg vpx_convolve8_avg_c
     36 
     37 void vpx_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);
     38 #define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_c
     39 
     40 void vpx_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);
     41 #define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_c
     42 
     43 void vpx_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);
     44 #define vpx_convolve8_horiz vpx_convolve8_horiz_c
     45 
     46 void vpx_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);
     47 #define vpx_convolve8_vert vpx_convolve8_vert_c
     48 
     49 void vpx_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);
     50 #define vpx_convolve_avg vpx_convolve_avg_c
     51 
     52 void vpx_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);
     53 #define vpx_convolve_copy vpx_convolve_copy_c
     54 
     55 void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     56 #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
     57 
     58 void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     59 #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
     60 
     61 void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     62 #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
     63 
     64 void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     65 #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
     66 
     67 void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     68 #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
     69 
     70 void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     71 #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
     72 
     73 void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     74 #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
     75 
     76 void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     77 #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
     78 
     79 void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     80 #define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
     81 
     82 void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     83 #define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
     84 
     85 void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     86 #define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
     87 
     88 void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     89 #define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
     90 
     91 void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     92 #define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
     93 
     94 void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     95 #define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
     96 
     97 void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
     98 #define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
     99 
    100 void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    101 #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
    102 
    103 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    104 #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c
    105 
    106 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    107 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
    108 
    109 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    110 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c
    111 
    112 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    113 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c
    114 
    115 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    116 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
    117 
    118 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    119 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
    120 
    121 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    122 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
    123 
    124 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    125 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
    126 
    127 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    128 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
    129 
    130 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    131 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
    132 
    133 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    134 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c
    135 
    136 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    137 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c
    138 
    139 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    140 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c
    141 
    142 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    143 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c
    144 
    145 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    146 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c
    147 
    148 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    149 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c
    150 
    151 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    152 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c
    153 
    154 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    155 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c
    156 
    157 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    158 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c
    159 
    160 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    161 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c
    162 
    163 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    164 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c
    165 
    166 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    167 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c
    168 
    169 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    170 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c
    171 
    172 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    173 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c
    174 
    175 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    176 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c
    177 
    178 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    179 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c
    180 
    181 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride);
    182 #define vpx_fdct16x16 vpx_fdct16x16_c
    183 
    184 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride);
    185 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c
    186 
    187 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride);
    188 #define vpx_fdct32x32 vpx_fdct32x32_c
    189 
    190 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride);
    191 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c
    192 
    193 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride);
    194 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c
    195 
    196 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride);
    197 #define vpx_fdct4x4 vpx_fdct4x4_c
    198 
    199 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride);
    200 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c
    201 
    202 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride);
    203 #define vpx_fdct8x8 vpx_fdct8x8_c
    204 
    205 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride);
    206 #define vpx_fdct8x8_1 vpx_fdct8x8_1_c
    207 
    208 void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
    209 #define vpx_get16x16var vpx_get16x16var_c
    210 
    211 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int  ref_stride);
    212 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c
    213 
    214 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
    215 #define vpx_get8x8var vpx_get8x8var_c
    216 
    217 unsigned int vpx_get_mb_ss_c(const int16_t *);
    218 #define vpx_get_mb_ss vpx_get_mb_ss_c
    219 
    220 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    221 #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c
    222 
    223 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    224 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c
    225 
    226 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    227 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c
    228 
    229 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    230 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c
    231 
    232 void vpx_hadamard_16x16_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
    233 #define vpx_hadamard_16x16 vpx_hadamard_16x16_c
    234 
    235 void vpx_hadamard_8x8_c(const int16_t *src_diff, int src_stride, int16_t *coeff);
    236 #define vpx_hadamard_8x8 vpx_hadamard_8x8_c
    237 
    238 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    239 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
    240 
    241 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    242 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_c
    243 
    244 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    245 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_c
    246 
    247 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    248 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_c
    249 
    250 void vpx_idct16x16_38_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    251 #define vpx_idct16x16_38_add vpx_idct16x16_38_add_c
    252 
    253 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    254 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c
    255 
    256 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    257 #define vpx_idct32x32_135_add vpx_idct32x32_135_add_c
    258 
    259 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    260 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_c
    261 
    262 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    263 #define vpx_idct32x32_34_add vpx_idct32x32_34_add_c
    264 
    265 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    266 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_c
    267 
    268 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    269 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_c
    270 
    271 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    272 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_c
    273 
    274 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    275 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_c
    276 
    277 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    278 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_c
    279 
    280 int16_t vpx_int_pro_col_c(const uint8_t *ref, const int width);
    281 #define vpx_int_pro_col vpx_int_pro_col_c
    282 
    283 void vpx_int_pro_row_c(int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height);
    284 #define vpx_int_pro_row vpx_int_pro_row_c
    285 
    286 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    287 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
    288 
    289 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int stride);
    290 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
    291 
    292 void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    293 #define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_c
    294 
    295 void vpx_lpf_horizontal_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    296 #define vpx_lpf_horizontal_16_dual vpx_lpf_horizontal_16_dual_c
    297 
    298 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    299 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c
    300 
    301 void vpx_lpf_horizontal_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
    302 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c
    303 
    304 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    305 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c
    306 
    307 void vpx_lpf_horizontal_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
    308 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c
    309 
    310 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    311 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c
    312 
    313 void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    314 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c
    315 
    316 void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    317 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c
    318 
    319 void vpx_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
    320 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c
    321 
    322 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
    323 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c
    324 
    325 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, const uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8_t *limit1, const uint8_t *thresh1);
    326 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c
    327 
    328 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *min, int *max);
    329 #define vpx_minmax_8x8 vpx_minmax_8x8_c
    330 
    331 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
    332 #define vpx_mse16x16 vpx_mse16x16_c
    333 
    334 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
    335 #define vpx_mse16x8 vpx_mse16x8_c
    336 
    337 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
    338 #define vpx_mse8x16 vpx_mse8x16_c
    339 
    340 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int  source_stride, const uint8_t *ref_ptr, int  recon_stride, unsigned int *sse);
    341 #define vpx_mse8x8 vpx_mse8x8_c
    342 
    343 void vpx_quantize_b_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
    344 #define vpx_quantize_b vpx_quantize_b_c
    345 
    346 void vpx_quantize_b_32x32_c(const tran_low_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, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan);
    347 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c
    348 
    349 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    350 #define vpx_sad16x16 vpx_sad16x16_c
    351 
    352 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    353 #define vpx_sad16x16_avg vpx_sad16x16_avg_c
    354 
    355 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    356 #define vpx_sad16x16x3 vpx_sad16x16x3_c
    357 
    358 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    359 #define vpx_sad16x16x4d vpx_sad16x16x4d_c
    360 
    361 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    362 #define vpx_sad16x16x8 vpx_sad16x16x8_c
    363 
    364 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    365 #define vpx_sad16x32 vpx_sad16x32_c
    366 
    367 unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    368 #define vpx_sad16x32_avg vpx_sad16x32_avg_c
    369 
    370 void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    371 #define vpx_sad16x32x4d vpx_sad16x32x4d_c
    372 
    373 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    374 #define vpx_sad16x8 vpx_sad16x8_c
    375 
    376 unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    377 #define vpx_sad16x8_avg vpx_sad16x8_avg_c
    378 
    379 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    380 #define vpx_sad16x8x3 vpx_sad16x8x3_c
    381 
    382 void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    383 #define vpx_sad16x8x4d vpx_sad16x8x4d_c
    384 
    385 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    386 #define vpx_sad16x8x8 vpx_sad16x8x8_c
    387 
    388 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    389 #define vpx_sad32x16 vpx_sad32x16_c
    390 
    391 unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    392 #define vpx_sad32x16_avg vpx_sad32x16_avg_c
    393 
    394 void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    395 #define vpx_sad32x16x4d vpx_sad32x16x4d_c
    396 
    397 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    398 #define vpx_sad32x32 vpx_sad32x32_c
    399 
    400 unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    401 #define vpx_sad32x32_avg vpx_sad32x32_avg_c
    402 
    403 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    404 #define vpx_sad32x32x3 vpx_sad32x32x3_c
    405 
    406 void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    407 #define vpx_sad32x32x4d vpx_sad32x32x4d_c
    408 
    409 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    410 #define vpx_sad32x32x8 vpx_sad32x32x8_c
    411 
    412 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    413 #define vpx_sad32x64 vpx_sad32x64_c
    414 
    415 unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    416 #define vpx_sad32x64_avg vpx_sad32x64_avg_c
    417 
    418 void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    419 #define vpx_sad32x64x4d vpx_sad32x64x4d_c
    420 
    421 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    422 #define vpx_sad4x4 vpx_sad4x4_c
    423 
    424 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    425 #define vpx_sad4x4_avg vpx_sad4x4_avg_c
    426 
    427 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    428 #define vpx_sad4x4x3 vpx_sad4x4x3_c
    429 
    430 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    431 #define vpx_sad4x4x4d vpx_sad4x4x4d_c
    432 
    433 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    434 #define vpx_sad4x4x8 vpx_sad4x4x8_c
    435 
    436 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    437 #define vpx_sad4x8 vpx_sad4x8_c
    438 
    439 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    440 #define vpx_sad4x8_avg vpx_sad4x8_avg_c
    441 
    442 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    443 #define vpx_sad4x8x4d vpx_sad4x8x4d_c
    444 
    445 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    446 #define vpx_sad4x8x8 vpx_sad4x8x8_c
    447 
    448 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    449 #define vpx_sad64x32 vpx_sad64x32_c
    450 
    451 unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    452 #define vpx_sad64x32_avg vpx_sad64x32_avg_c
    453 
    454 void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    455 #define vpx_sad64x32x4d vpx_sad64x32x4d_c
    456 
    457 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    458 #define vpx_sad64x64 vpx_sad64x64_c
    459 
    460 unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    461 #define vpx_sad64x64_avg vpx_sad64x64_avg_c
    462 
    463 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    464 #define vpx_sad64x64x3 vpx_sad64x64x3_c
    465 
    466 void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    467 #define vpx_sad64x64x4d vpx_sad64x64x4d_c
    468 
    469 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    470 #define vpx_sad64x64x8 vpx_sad64x64x8_c
    471 
    472 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    473 #define vpx_sad8x16 vpx_sad8x16_c
    474 
    475 unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    476 #define vpx_sad8x16_avg vpx_sad8x16_avg_c
    477 
    478 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    479 #define vpx_sad8x16x3 vpx_sad8x16x3_c
    480 
    481 void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    482 #define vpx_sad8x16x4d vpx_sad8x16x4d_c
    483 
    484 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    485 #define vpx_sad8x16x8 vpx_sad8x16x8_c
    486 
    487 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    488 #define vpx_sad8x4 vpx_sad8x4_c
    489 
    490 unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    491 #define vpx_sad8x4_avg vpx_sad8x4_avg_c
    492 
    493 void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    494 #define vpx_sad8x4x4d vpx_sad8x4x4d_c
    495 
    496 void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    497 #define vpx_sad8x4x8 vpx_sad8x4x8_c
    498 
    499 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride);
    500 #define vpx_sad8x8 vpx_sad8x8_c
    501 
    502 unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
    503 #define vpx_sad8x8_avg vpx_sad8x8_avg_c
    504 
    505 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    506 #define vpx_sad8x8x3 vpx_sad8x8x3_c
    507 
    508 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array);
    509 #define vpx_sad8x8x4d vpx_sad8x8x4d_c
    510 
    511 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array);
    512 #define vpx_sad8x8x8 vpx_sad8x8x8_c
    513 
    514 int vpx_satd_c(const int16_t *coeff, int length);
    515 #define vpx_satd vpx_satd_c
    516 
    517 void vpx_scaled_2d_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);
    518 #define vpx_scaled_2d vpx_scaled_2d_c
    519 
    520 void vpx_scaled_avg_2d_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);
    521 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
    522 
    523 void vpx_scaled_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);
    524 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
    525 
    526 void vpx_scaled_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);
    527 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
    528 
    529 void vpx_scaled_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);
    530 #define vpx_scaled_horiz vpx_scaled_horiz_c
    531 
    532 void vpx_scaled_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);
    533 #define vpx_scaled_vert vpx_scaled_vert_c
    534 
    535 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    536 #define vpx_sub_pixel_avg_variance16x16 vpx_sub_pixel_avg_variance16x16_c
    537 
    538 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    539 #define vpx_sub_pixel_avg_variance16x32 vpx_sub_pixel_avg_variance16x32_c
    540 
    541 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    542 #define vpx_sub_pixel_avg_variance16x8 vpx_sub_pixel_avg_variance16x8_c
    543 
    544 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    545 #define vpx_sub_pixel_avg_variance32x16 vpx_sub_pixel_avg_variance32x16_c
    546 
    547 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    548 #define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c
    549 
    550 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    551 #define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c
    552 
    553 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    554 #define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c
    555 
    556 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    557 #define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c
    558 
    559 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    560 #define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c
    561 
    562 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    563 #define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c
    564 
    565 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    566 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c
    567 
    568 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    569 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c
    570 
    571 uint32_t vpx_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, uint32_t *sse, const uint8_t *second_pred);
    572 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c
    573 
    574 uint32_t vpx_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    575 #define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_c
    576 
    577 uint32_t vpx_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    578 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c
    579 
    580 uint32_t vpx_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    581 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c
    582 
    583 uint32_t vpx_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    584 #define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c
    585 
    586 uint32_t vpx_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    587 #define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_c
    588 
    589 uint32_t vpx_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    590 #define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c
    591 
    592 uint32_t vpx_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    593 #define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c
    594 
    595 uint32_t vpx_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    596 #define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c
    597 
    598 uint32_t vpx_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    599 #define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c
    600 
    601 uint32_t vpx_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    602 #define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_c
    603 
    604 uint32_t vpx_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    605 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c
    606 
    607 uint32_t vpx_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    608 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c
    609 
    610 uint32_t vpx_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int  yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t *sse);
    611 #define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_c
    612 
    613 void vpx_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);
    614 #define vpx_subtract_block vpx_subtract_block_c
    615 
    616 uint64_t vpx_sum_squares_2d_i16_c(const int16_t *src, int stride, int size);
    617 #define vpx_sum_squares_2d_i16 vpx_sum_squares_2d_i16_c
    618 
    619 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    620 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c
    621 
    622 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    623 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c
    624 
    625 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    626 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c
    627 
    628 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    629 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c
    630 
    631 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    632 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c
    633 
    634 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    635 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c
    636 
    637 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    638 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c
    639 
    640 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    641 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c
    642 
    643 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    644 #define vpx_variance16x16 vpx_variance16x16_c
    645 
    646 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    647 #define vpx_variance16x32 vpx_variance16x32_c
    648 
    649 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    650 #define vpx_variance16x8 vpx_variance16x8_c
    651 
    652 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    653 #define vpx_variance32x16 vpx_variance32x16_c
    654 
    655 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    656 #define vpx_variance32x32 vpx_variance32x32_c
    657 
    658 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    659 #define vpx_variance32x64 vpx_variance32x64_c
    660 
    661 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    662 #define vpx_variance4x4 vpx_variance4x4_c
    663 
    664 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    665 #define vpx_variance4x8 vpx_variance4x8_c
    666 
    667 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    668 #define vpx_variance64x32 vpx_variance64x32_c
    669 
    670 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    671 #define vpx_variance64x64 vpx_variance64x64_c
    672 
    673 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    674 #define vpx_variance8x16 vpx_variance8x16_c
    675 
    676 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    677 #define vpx_variance8x4 vpx_variance8x4_c
    678 
    679 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
    680 #define vpx_variance8x8 vpx_variance8x8_c
    681 
    682 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    683 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
    684 
    685 int vpx_vector_var_c(const int16_t *ref, const int16_t *src, const int bwl);
    686 #define vpx_vector_var vpx_vector_var_c
    687 
    688 void vpx_dsp_rtcd(void);
    689 
    690 #include "vpx_config.h"
    691 
    692 #ifdef RTCD_C
    693 static void setup_rtcd_internal(void)
    694 {
    695 }
    696 #endif
    697 
    698 #ifdef __cplusplus
    699 }  // extern "C"
    700 #endif
    701 
    702 #endif
    703