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 22void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride); 23#define vpx_comp_avg_pred vpx_comp_avg_pred_c 24 25void 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); 26#define vpx_convolve8 vpx_convolve8_c 27 28void 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); 29#define vpx_convolve8_avg vpx_convolve8_avg_c 30 31void 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); 32#define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_c 33 34void 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); 35#define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_c 36 37void 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); 38#define vpx_convolve8_horiz vpx_convolve8_horiz_c 39 40void 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); 41#define vpx_convolve8_vert vpx_convolve8_vert_c 42 43void 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); 44#define vpx_convolve_avg vpx_convolve_avg_c 45 46void 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); 47#define vpx_convolve_copy vpx_convolve_copy_c 48 49void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 50#define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c 51 52void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 53#define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c 54 55void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 56#define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c 57 58void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 59#define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c 60 61void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 62#define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c 63 64void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 65#define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c 66 67void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 68#define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c 69 70void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 71#define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c 72 73void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 74#define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c 75 76void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 77#define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c 78 79void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 80#define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c 81 82void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 83#define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c 84 85void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 86#define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c 87 88void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 89#define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c 90 91void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 92#define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c 93 94void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 95#define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c 96 97void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 98#define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c 99 100void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 101#define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c 102 103void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 104#define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c 105 106void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 107#define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c 108 109void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 110#define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c 111 112void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 113#define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c 114 115void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 116#define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c 117 118void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 119#define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c 120 121void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 122#define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c 123 124void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 125#define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c 126 127void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 128#define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c 129 130void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 131#define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c 132 133void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 134#define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c 135 136void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 137#define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c 138 139void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 140#define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c 141 142void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 143#define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c 144 145void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 146#define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c 147 148void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 149#define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c 150 151void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 152#define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c 153 154void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 155#define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c 156 157void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 158#define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c 159 160void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 161#define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c 162 163void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 164#define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c 165 166void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 167#define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c 168 169void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 170#define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c 171 172void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 173#define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c 174 175void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 176#define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c 177 178void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 179#define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c 180 181void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 182#define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c 183 184void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 185#define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c 186 187void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 188#define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c 189 190void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 191#define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c 192 193void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 194#define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c 195 196void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 197#define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c 198 199void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 200#define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c 201 202void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 203#define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c 204 205void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 206#define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c 207 208void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); 209#define vpx_fdct16x16 vpx_fdct16x16_c 210 211void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); 212#define vpx_fdct16x16_1 vpx_fdct16x16_1_c 213 214void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); 215#define vpx_fdct32x32 vpx_fdct32x32_c 216 217void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); 218#define vpx_fdct32x32_1 vpx_fdct32x32_1_c 219 220void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); 221#define vpx_fdct32x32_rd vpx_fdct32x32_rd_c 222 223void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); 224#define vpx_fdct4x4 vpx_fdct4x4_c 225 226void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); 227#define vpx_fdct4x4_1 vpx_fdct4x4_1_c 228 229void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); 230#define vpx_fdct8x8 vpx_fdct8x8_c 231 232void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); 233#define vpx_fdct8x8_1 vpx_fdct8x8_1_c 234 235void vpx_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 236#define vpx_get16x16var vpx_get16x16var_c 237 238unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride); 239#define vpx_get4x4sse_cs vpx_get4x4sse_cs_c 240 241void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); 242#define vpx_get8x8var vpx_get8x8var_c 243 244unsigned int vpx_get_mb_ss_c(const int16_t *); 245#define vpx_get_mb_ss vpx_get_mb_ss_c 246 247void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 248#define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c 249 250void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 251#define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c 252 253void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 254#define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c 255 256void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 257#define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c 258 259void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 260#define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c 261 262void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 263#define vpx_idct16x16_10_add vpx_idct16x16_10_add_c 264 265void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 266#define vpx_idct16x16_1_add vpx_idct16x16_1_add_c 267 268void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 269#define vpx_idct16x16_256_add vpx_idct16x16_256_add_c 270 271void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 272#define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c 273 274void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 275#define vpx_idct32x32_1_add vpx_idct32x32_1_add_c 276 277void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 278#define vpx_idct32x32_34_add vpx_idct32x32_34_add_c 279 280void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 281#define vpx_idct4x4_16_add vpx_idct4x4_16_add_c 282 283void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 284#define vpx_idct4x4_1_add vpx_idct4x4_1_add_c 285 286void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 287#define vpx_idct8x8_12_add vpx_idct8x8_12_add_c 288 289void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 290#define vpx_idct8x8_1_add vpx_idct8x8_1_add_c 291 292void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 293#define vpx_idct8x8_64_add vpx_idct8x8_64_add_c 294 295void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 296#define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c 297 298void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride); 299#define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c 300 301void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 302#define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_c 303 304void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 305#define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c 306 307void 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); 308#define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c 309 310void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 311#define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c 312 313void 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); 314#define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c 315 316void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 317#define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c 318 319void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); 320#define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c 321 322void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 323#define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c 324 325void 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); 326#define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c 327 328void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); 329#define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c 330 331void 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); 332#define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c 333 334unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 335#define vpx_mse16x16 vpx_mse16x16_c 336 337unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 338#define vpx_mse16x8 vpx_mse16x8_c 339 340unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 341#define vpx_mse8x16 vpx_mse8x16_c 342 343unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); 344#define vpx_mse8x8 vpx_mse8x8_c 345 346void 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); 347#define vpx_quantize_b vpx_quantize_b_c 348 349void 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); 350#define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c 351 352unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 353#define vpx_sad16x16 vpx_sad16x16_c 354 355unsigned 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); 356#define vpx_sad16x16_avg vpx_sad16x16_avg_c 357 358void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 359#define vpx_sad16x16x3 vpx_sad16x16x3_c 360 361void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 362#define vpx_sad16x16x4d vpx_sad16x16x4d_c 363 364void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 365#define vpx_sad16x16x8 vpx_sad16x16x8_c 366 367unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 368#define vpx_sad16x32 vpx_sad16x32_c 369 370unsigned 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); 371#define vpx_sad16x32_avg vpx_sad16x32_avg_c 372 373void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 374#define vpx_sad16x32x4d vpx_sad16x32x4d_c 375 376unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 377#define vpx_sad16x8 vpx_sad16x8_c 378 379unsigned 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); 380#define vpx_sad16x8_avg vpx_sad16x8_avg_c 381 382void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 383#define vpx_sad16x8x3 vpx_sad16x8x3_c 384 385void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 386#define vpx_sad16x8x4d vpx_sad16x8x4d_c 387 388void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 389#define vpx_sad16x8x8 vpx_sad16x8x8_c 390 391unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 392#define vpx_sad32x16 vpx_sad32x16_c 393 394unsigned 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); 395#define vpx_sad32x16_avg vpx_sad32x16_avg_c 396 397void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 398#define vpx_sad32x16x4d vpx_sad32x16x4d_c 399 400unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 401#define vpx_sad32x32 vpx_sad32x32_c 402 403unsigned 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); 404#define vpx_sad32x32_avg vpx_sad32x32_avg_c 405 406void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 407#define vpx_sad32x32x3 vpx_sad32x32x3_c 408 409void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 410#define vpx_sad32x32x4d vpx_sad32x32x4d_c 411 412void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 413#define vpx_sad32x32x8 vpx_sad32x32x8_c 414 415unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 416#define vpx_sad32x64 vpx_sad32x64_c 417 418unsigned 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); 419#define vpx_sad32x64_avg vpx_sad32x64_avg_c 420 421void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 422#define vpx_sad32x64x4d vpx_sad32x64x4d_c 423 424unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 425#define vpx_sad4x4 vpx_sad4x4_c 426 427unsigned 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); 428#define vpx_sad4x4_avg vpx_sad4x4_avg_c 429 430void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 431#define vpx_sad4x4x3 vpx_sad4x4x3_c 432 433void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 434#define vpx_sad4x4x4d vpx_sad4x4x4d_c 435 436void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 437#define vpx_sad4x4x8 vpx_sad4x4x8_c 438 439unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 440#define vpx_sad4x8 vpx_sad4x8_c 441 442unsigned 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); 443#define vpx_sad4x8_avg vpx_sad4x8_avg_c 444 445void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 446#define vpx_sad4x8x4d vpx_sad4x8x4d_c 447 448void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 449#define vpx_sad4x8x8 vpx_sad4x8x8_c 450 451unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 452#define vpx_sad64x32 vpx_sad64x32_c 453 454unsigned 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); 455#define vpx_sad64x32_avg vpx_sad64x32_avg_c 456 457void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 458#define vpx_sad64x32x4d vpx_sad64x32x4d_c 459 460unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 461#define vpx_sad64x64 vpx_sad64x64_c 462 463unsigned 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); 464#define vpx_sad64x64_avg vpx_sad64x64_avg_c 465 466void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 467#define vpx_sad64x64x3 vpx_sad64x64x3_c 468 469void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 470#define vpx_sad64x64x4d vpx_sad64x64x4d_c 471 472void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 473#define vpx_sad64x64x8 vpx_sad64x64x8_c 474 475unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 476#define vpx_sad8x16 vpx_sad8x16_c 477 478unsigned 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); 479#define vpx_sad8x16_avg vpx_sad8x16_avg_c 480 481void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 482#define vpx_sad8x16x3 vpx_sad8x16x3_c 483 484void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 485#define vpx_sad8x16x4d vpx_sad8x16x4d_c 486 487void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 488#define vpx_sad8x16x8 vpx_sad8x16x8_c 489 490unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 491#define vpx_sad8x4 vpx_sad8x4_c 492 493unsigned 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); 494#define vpx_sad8x4_avg vpx_sad8x4_avg_c 495 496void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 497#define vpx_sad8x4x4d vpx_sad8x4x4d_c 498 499void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 500#define vpx_sad8x4x8 vpx_sad8x4x8_c 501 502unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride); 503#define vpx_sad8x8 vpx_sad8x8_c 504 505unsigned 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); 506#define vpx_sad8x8_avg vpx_sad8x8_avg_c 507 508void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 509#define vpx_sad8x8x3 vpx_sad8x8x3_c 510 511void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, uint32_t *sad_array); 512#define vpx_sad8x8x4d vpx_sad8x8x4d_c 513 514void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); 515#define vpx_sad8x8x8 vpx_sad8x8x8_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 616void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 617#define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c 618 619void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 620#define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c 621 622void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 623#define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c 624 625void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 626#define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c 627 628void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 629#define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c 630 631void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 632#define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c 633 634void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 635#define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c 636 637void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 638#define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c 639 640unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 641#define vpx_variance16x16 vpx_variance16x16_c 642 643unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 644#define vpx_variance16x32 vpx_variance16x32_c 645 646unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 647#define vpx_variance16x8 vpx_variance16x8_c 648 649unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 650#define vpx_variance32x16 vpx_variance32x16_c 651 652unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 653#define vpx_variance32x32 vpx_variance32x32_c 654 655unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 656#define vpx_variance32x64 vpx_variance32x64_c 657 658unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 659#define vpx_variance4x4 vpx_variance4x4_c 660 661unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 662#define vpx_variance4x8 vpx_variance4x8_c 663 664unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 665#define vpx_variance64x32 vpx_variance64x32_c 666 667unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 668#define vpx_variance64x64 vpx_variance64x64_c 669 670unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 671#define vpx_variance8x16 vpx_variance8x16_c 672 673unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 674#define vpx_variance8x4 vpx_variance8x4_c 675 676unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 677#define vpx_variance8x8 vpx_variance8x8_c 678 679uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 680#define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c 681 682uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 683#define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c 684 685uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); 686#define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c 687 688void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 689#define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c 690 691void vpx_dsp_rtcd(void); 692 693#include "vpx_config.h" 694 695#ifdef RTCD_C 696static void setup_rtcd_internal(void) 697{ 698#if HAVE_DSPR2 699void vpx_dsputil_static_init(); 700#if CONFIG_VP8 701void dsputil_static_init(); 702#endif 703 704vpx_dsputil_static_init(); 705#if CONFIG_VP8 706dsputil_static_init(); 707#endif 708#endif 709} 710#endif 711 712#ifdef __cplusplus 713} // extern "C" 714#endif 715 716#endif 717