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 19extern "C" { 20#endif 21 22unsigned int vpx_avg_4x4_c(const uint8_t *, int p); 23#define vpx_avg_4x4 vpx_avg_4x4_c 24 25unsigned int vpx_avg_8x8_c(const uint8_t *, int p); 26#define vpx_avg_8x8 vpx_avg_8x8_c 27 28void 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 31void 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 34void 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 37void 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 40void 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 43void 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 46void 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 49void 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 52void 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 55void 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 58void 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 61void 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 64void 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 67void 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 70void 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 73void 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 76void 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 79void 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 82void 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 85void 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 88void 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 91void 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 94void 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 97void 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 100void 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 103void 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 106void 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 109void 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 112void 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 115void 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 118void 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 121void 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 124void 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 127void 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 130void 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 133void 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 136void 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 139void 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 142void 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 145void 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 148void 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 151void 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 154void 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 157void 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 160void 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 163void 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 166void 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 169void 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 172void 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 175void 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 178void 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 181void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); 182#define vpx_fdct16x16 vpx_fdct16x16_c 183 184void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); 185#define vpx_fdct16x16_1 vpx_fdct16x16_1_c 186 187void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); 188#define vpx_fdct32x32 vpx_fdct32x32_c 189 190void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); 191#define vpx_fdct32x32_1 vpx_fdct32x32_1_c 192 193void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); 194#define vpx_fdct32x32_rd vpx_fdct32x32_rd_c 195 196void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); 197#define vpx_fdct4x4 vpx_fdct4x4_c 198 199void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); 200#define vpx_fdct4x4_1 vpx_fdct4x4_1_c 201 202void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); 203#define vpx_fdct8x8 vpx_fdct8x8_c 204 205void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); 206#define vpx_fdct8x8_1 vpx_fdct8x8_1_c 207 208void 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 211unsigned 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 214void 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 217unsigned int vpx_get_mb_ss_c(const int16_t *); 218#define vpx_get_mb_ss vpx_get_mb_ss_c 219 220void 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 223void 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 226void 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 229void 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 232void 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 235void 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 238void 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 241void 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 244void 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 247void 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 250void 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 253void 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 256void 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 259void 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 262void 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 265void 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 268void 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 271void 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 274void 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 277void 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 280int16_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 283void 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 286void 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 289void 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 292void 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 295void 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 298void 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 301void 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 304void 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 307void 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 310void 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 313void 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 316void 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 319void 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 322void 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 325void 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 328void 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 331unsigned 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 334unsigned 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 337unsigned 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 340unsigned 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 343void 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 346void 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 349unsigned 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 352unsigned 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 355void 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 358void 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 361void 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 364unsigned 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 367unsigned 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 370void 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 373unsigned 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 376unsigned 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 379void 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 382void 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 385void 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 388unsigned 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 391unsigned 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 394void 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 397unsigned 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 400unsigned 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 403void 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 406void 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 409void 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 412unsigned 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 415unsigned 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 418void 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 421unsigned 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 424unsigned 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 427void 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 430void 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 433void 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 436unsigned 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 439unsigned 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 442void 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 445void 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 448unsigned 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 451unsigned 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 454void 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 457unsigned 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 460unsigned 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 463void 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 466void 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 469void 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 472unsigned 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 475unsigned 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 478void 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 481void 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 484void 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 487unsigned 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 490unsigned 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 493void 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 496void 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 499unsigned 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 502unsigned 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 505void 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 508void 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 511void 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 514int vpx_satd_c(const int16_t *coeff, int length); 515#define vpx_satd vpx_satd_c 516 517void 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 520void 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 523void 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 526void 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 529void 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 532void 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 535uint32_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 538uint32_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 541uint32_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 544uint32_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 547uint32_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 550uint32_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 553uint32_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 556uint32_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 559uint32_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 562uint32_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 565uint32_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 568uint32_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 571uint32_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 574uint32_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 577uint32_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 580uint32_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 583uint32_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 586uint32_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 589uint32_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 592uint32_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 595uint32_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 598uint32_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 601uint32_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 604uint32_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 607uint32_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 610uint32_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 613void 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 616uint64_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 619void 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 622void 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 625void 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 628void 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 631void 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 634void 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 637void 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 640void 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 643unsigned 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 646unsigned 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 649unsigned 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 652unsigned 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 655unsigned 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 658unsigned 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 661unsigned 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 664unsigned 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 667unsigned 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 670unsigned 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 673unsigned 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 676unsigned 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 679unsigned 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 682void 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 685int 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 688void vpx_dsp_rtcd(void); 689 690#include "vpx_config.h" 691 692#ifdef RTCD_C 693static void setup_rtcd_internal(void) 694{ 695#if HAVE_DSPR2 696void vpx_dsputil_static_init(); 697#if CONFIG_VP8 698void dsputil_static_init(); 699#endif 700 701vpx_dsputil_static_init(); 702#if CONFIG_VP8 703dsputil_static_init(); 704#endif 705#endif 706} 707#endif 708 709#ifdef __cplusplus 710} // extern "C" 711#endif 712 713#endif 714