| OLD | NEW |
| (Empty) |
| 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, ptr
diff_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 *fi
lter_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 *ds
t, 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 *f
ilter_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 *fil
ter_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 *fi
lter_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 *a
bove, 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 *a
bove, 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 *a
bove, 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 *a
bove, 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 *a
bove, 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 *a
bove, 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 *a
bove, 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 *a
bove, const uint8_t *left); | |
| 101 #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c | |
| 102 | |
| 103 void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 104 #define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c | |
| 105 | |
| 106 void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 107 #define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c | |
| 108 | |
| 109 void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 110 #define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c | |
| 111 | |
| 112 void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 113 #define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c | |
| 114 | |
| 115 void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 116 #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c | |
| 117 | |
| 118 void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 119 #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c | |
| 120 | |
| 121 void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 122 #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c | |
| 123 | |
| 124 void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 125 #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c | |
| 126 | |
| 127 void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 128 #define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c | |
| 129 | |
| 130 void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 131 #define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c | |
| 132 | |
| 133 void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 134 #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c | |
| 135 | |
| 136 void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 137 #define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c | |
| 138 | |
| 139 void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 140 #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c | |
| 141 | |
| 142 void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | |
| 143 #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c | |
| 144 | |
| 145 void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 146 #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c | |
| 147 | |
| 148 void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 149 #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c | |
| 150 | |
| 151 void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 152 #define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c | |
| 153 | |
| 154 void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 155 #define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c | |
| 156 | |
| 157 void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 158 #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c | |
| 159 | |
| 160 void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 161 #define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c | |
| 162 | |
| 163 void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 164 #define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c | |
| 165 | |
| 166 void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 167 #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c | |
| 168 | |
| 169 void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 170 #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c | |
| 171 | |
| 172 void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 173 #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c | |
| 174 | |
| 175 void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 176 #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c | |
| 177 | |
| 178 void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 179 #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c | |
| 180 | |
| 181 void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); | |
| 182 #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c | |
| 183 | |
| 184 void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 185 #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c | |
| 186 | |
| 187 void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 188 #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c | |
| 189 | |
| 190 void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 191 #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c | |
| 192 | |
| 193 void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 194 #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c | |
| 195 | |
| 196 void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 197 #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c | |
| 198 | |
| 199 void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 200 #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c | |
| 201 | |
| 202 void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 203 #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c | |
| 204 | |
| 205 void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); | |
| 206 #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c | |
| 207 | |
| 208 void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 209 #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c | |
| 210 | |
| 211 void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | |
| 212 #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c | |
| 213 | |
| 214 void vpx_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); | |
| 215 #define vpx_fdct16x16 vpx_fdct16x16_c | |
| 216 | |
| 217 void vpx_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 218 #define vpx_fdct16x16_1 vpx_fdct16x16_1_c | |
| 219 | |
| 220 void vpx_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); | |
| 221 #define vpx_fdct32x32 vpx_fdct32x32_c | |
| 222 | |
| 223 void vpx_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 224 #define vpx_fdct32x32_1 vpx_fdct32x32_1_c | |
| 225 | |
| 226 void vpx_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); | |
| 227 #define vpx_fdct32x32_rd vpx_fdct32x32_rd_c | |
| 228 | |
| 229 void vpx_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); | |
| 230 #define vpx_fdct4x4 vpx_fdct4x4_c | |
| 231 | |
| 232 void vpx_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 233 #define vpx_fdct4x4_1 vpx_fdct4x4_1_c | |
| 234 | |
| 235 void vpx_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | |
| 236 #define vpx_fdct8x8 vpx_fdct8x8_c | |
| 237 | |
| 238 void vpx_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | |
| 239 #define vpx_fdct8x8_1 vpx_fdct8x8_1_c | |
| 240 | |
| 241 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); | |
| 242 #define vpx_get16x16var vpx_get16x16var_c | |
| 243 | |
| 244 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); | |
| 245 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c | |
| 246 | |
| 247 void vpx_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 248 #define vpx_get8x8var vpx_get8x8var_c | |
| 249 | |
| 250 unsigned int vpx_get_mb_ss_c(const int16_t *); | |
| 251 #define vpx_get_mb_ss vpx_get_mb_ss_c | |
| 252 | |
| 253 void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 254 #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c | |
| 255 | |
| 256 void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 257 #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c | |
| 258 | |
| 259 void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 260 #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c | |
| 261 | |
| 262 void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 263 #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c | |
| 264 | |
| 265 void vpx_hadamard_16x16_c(int16_t const *src_diff, int src_stride, int16_t *coef
f); | |
| 266 #define vpx_hadamard_16x16 vpx_hadamard_16x16_c | |
| 267 | |
| 268 void vpx_hadamard_8x8_c(int16_t const *src_diff, int src_stride, int16_t *coeff)
; | |
| 269 #define vpx_hadamard_8x8 vpx_hadamard_8x8_c | |
| 270 | |
| 271 void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 272 #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c | |
| 273 | |
| 274 void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
| 275 #define vpx_idct16x16_10_add vpx_idct16x16_10_add_c | |
| 276 | |
| 277 void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
| 278 #define vpx_idct16x16_1_add vpx_idct16x16_1_add_c | |
| 279 | |
| 280 void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 281 #define vpx_idct16x16_256_add vpx_idct16x16_256_add_c | |
| 282 | |
| 283 void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); | |
| 284 #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c | |
| 285 | |
| 286 void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); | |
| 287 #define vpx_idct32x32_135_add vpx_idct32x32_135_add_c | |
| 288 | |
| 289 void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); | |
| 290 #define vpx_idct32x32_1_add vpx_idct32x32_1_add_c | |
| 291 | |
| 292 void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); | |
| 293 #define vpx_idct32x32_34_add vpx_idct32x32_34_add_c | |
| 294 | |
| 295 void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 296 #define vpx_idct4x4_16_add vpx_idct4x4_16_add_c | |
| 297 | |
| 298 void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
| 299 #define vpx_idct4x4_1_add vpx_idct4x4_1_add_c | |
| 300 | |
| 301 void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 302 #define vpx_idct8x8_12_add vpx_idct8x8_12_add_c | |
| 303 | |
| 304 void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
| 305 #define vpx_idct8x8_1_add vpx_idct8x8_1_add_c | |
| 306 | |
| 307 void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 308 #define vpx_idct8x8_64_add vpx_idct8x8_64_add_c | |
| 309 | |
| 310 int16_t vpx_int_pro_col_c(uint8_t const *ref, const int width); | |
| 311 #define vpx_int_pro_col vpx_int_pro_col_c | |
| 312 | |
| 313 void vpx_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride,
const int height); | |
| 314 #define vpx_int_pro_row vpx_int_pro_row_c | |
| 315 | |
| 316 void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | |
| 317 #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c | |
| 318 | |
| 319 void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | |
| 320 #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c | |
| 321 | |
| 322 void vpx_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 323 #define vpx_lpf_horizontal_16 vpx_lpf_horizontal_16_c | |
| 324 | |
| 325 void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 326 #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c | |
| 327 | |
| 328 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 uin
t8_t *limit1, const uint8_t *thresh1); | |
| 329 #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c | |
| 330 | |
| 331 void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | |
| 332 #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c | |
| 333 | |
| 334 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 uin
t8_t *limit1, const uint8_t *thresh1); | |
| 335 #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c | |
| 336 | |
| 337 void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const u
int8_t *limit, const uint8_t *thresh); | |
| 338 #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c | |
| 339 | |
| 340 void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh); | |
| 341 #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c | |
| 342 | |
| 343 void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | |
| 344 #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c | |
| 345 | |
| 346 void vpx_lpf_vertical_4_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | |
| 347 #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c | |
| 348 | |
| 349 void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const ui
nt8_t *limit, const uint8_t *thresh, int count); | |
| 350 #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c | |
| 351 | |
| 352 void vpx_lpf_vertical_8_dual_c(uint8_t *s, int pitch, const uint8_t *blimit0, co
nst uint8_t *limit0, const uint8_t *thresh0, const uint8_t *blimit1, const uint8
_t *limit1, const uint8_t *thresh1); | |
| 353 #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c | |
| 354 | |
| 355 void vpx_minmax_8x8_c(const uint8_t *s, int p, const uint8_t *d, int dp, int *mi
n, int *max); | |
| 356 #define vpx_minmax_8x8 vpx_minmax_8x8_c | |
| 357 | |
| 358 unsigned int vpx_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 359 #define vpx_mse16x16 vpx_mse16x16_c | |
| 360 | |
| 361 unsigned int vpx_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 362 #define vpx_mse16x8 vpx_mse16x8_c | |
| 363 | |
| 364 unsigned int vpx_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 365 #define vpx_mse8x16 vpx_mse8x16_c | |
| 366 | |
| 367 unsigned int vpx_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 368 #define vpx_mse8x8 vpx_mse8x8_c | |
| 369 | |
| 370 void vpx_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, const in
t16_t *iscan); | |
| 371 #define vpx_quantize_b vpx_quantize_b_c | |
| 372 | |
| 373 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 *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr, const int16_t *scan, co
nst int16_t *iscan); | |
| 374 #define vpx_quantize_b_32x32 vpx_quantize_b_32x32_c | |
| 375 | |
| 376 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 377 #define vpx_sad16x16 vpx_sad16x16_c | |
| 378 | |
| 379 unsigned int vpx_sad16x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 380 #define vpx_sad16x16_avg vpx_sad16x16_avg_c | |
| 381 | |
| 382 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 383 #define vpx_sad16x16x3 vpx_sad16x16x3_c | |
| 384 | |
| 385 void vpx_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 386 #define vpx_sad16x16x4d vpx_sad16x16x4d_c | |
| 387 | |
| 388 void vpx_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 389 #define vpx_sad16x16x8 vpx_sad16x16x8_c | |
| 390 | |
| 391 unsigned int vpx_sad16x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 392 #define vpx_sad16x32 vpx_sad16x32_c | |
| 393 | |
| 394 unsigned int vpx_sad16x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 395 #define vpx_sad16x32_avg vpx_sad16x32_avg_c | |
| 396 | |
| 397 void vpx_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 398 #define vpx_sad16x32x4d vpx_sad16x32x4d_c | |
| 399 | |
| 400 unsigned int vpx_sad16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 401 #define vpx_sad16x8 vpx_sad16x8_c | |
| 402 | |
| 403 unsigned int vpx_sad16x8_avg_c(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 404 #define vpx_sad16x8_avg vpx_sad16x8_avg_c | |
| 405 | |
| 406 void vpx_sad16x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 407 #define vpx_sad16x8x3 vpx_sad16x8x3_c | |
| 408 | |
| 409 void vpx_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co
nst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 410 #define vpx_sad16x8x4d vpx_sad16x8x4d_c | |
| 411 | |
| 412 void vpx_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 413 #define vpx_sad16x8x8 vpx_sad16x8x8_c | |
| 414 | |
| 415 unsigned int vpx_sad32x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 416 #define vpx_sad32x16 vpx_sad32x16_c | |
| 417 | |
| 418 unsigned int vpx_sad32x16_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 419 #define vpx_sad32x16_avg vpx_sad32x16_avg_c | |
| 420 | |
| 421 void vpx_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 422 #define vpx_sad32x16x4d vpx_sad32x16x4d_c | |
| 423 | |
| 424 unsigned int vpx_sad32x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 425 #define vpx_sad32x32 vpx_sad32x32_c | |
| 426 | |
| 427 unsigned int vpx_sad32x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 428 #define vpx_sad32x32_avg vpx_sad32x32_avg_c | |
| 429 | |
| 430 void vpx_sad32x32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 431 #define vpx_sad32x32x3 vpx_sad32x32x3_c | |
| 432 | |
| 433 void vpx_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 434 #define vpx_sad32x32x4d vpx_sad32x32x4d_c | |
| 435 | |
| 436 void vpx_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 437 #define vpx_sad32x32x8 vpx_sad32x32x8_c | |
| 438 | |
| 439 unsigned int vpx_sad32x64_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 440 #define vpx_sad32x64 vpx_sad32x64_c | |
| 441 | |
| 442 unsigned int vpx_sad32x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 443 #define vpx_sad32x64_avg vpx_sad32x64_avg_c | |
| 444 | |
| 445 void vpx_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 446 #define vpx_sad32x64x4d vpx_sad32x64x4d_c | |
| 447 | |
| 448 unsigned int vpx_sad4x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 449 #define vpx_sad4x4 vpx_sad4x4_c | |
| 450 | |
| 451 unsigned int vpx_sad4x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 452 #define vpx_sad4x4_avg vpx_sad4x4_avg_c | |
| 453 | |
| 454 void vpx_sad4x4x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 455 #define vpx_sad4x4x3 vpx_sad4x4x3_c | |
| 456 | |
| 457 void vpx_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 458 #define vpx_sad4x4x4d vpx_sad4x4x4d_c | |
| 459 | |
| 460 void vpx_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 461 #define vpx_sad4x4x8 vpx_sad4x4x8_c | |
| 462 | |
| 463 unsigned int vpx_sad4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 464 #define vpx_sad4x8 vpx_sad4x8_c | |
| 465 | |
| 466 unsigned int vpx_sad4x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 467 #define vpx_sad4x8_avg vpx_sad4x8_avg_c | |
| 468 | |
| 469 void vpx_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 470 #define vpx_sad4x8x4d vpx_sad4x8x4d_c | |
| 471 | |
| 472 void vpx_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 473 #define vpx_sad4x8x8 vpx_sad4x8x8_c | |
| 474 | |
| 475 unsigned int vpx_sad64x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 476 #define vpx_sad64x32 vpx_sad64x32_c | |
| 477 | |
| 478 unsigned int vpx_sad64x32_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 479 #define vpx_sad64x32_avg vpx_sad64x32_avg_c | |
| 480 | |
| 481 void vpx_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 482 #define vpx_sad64x32x4d vpx_sad64x32x4d_c | |
| 483 | |
| 484 unsigned int vpx_sad64x64_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | |
| 485 #define vpx_sad64x64 vpx_sad64x64_c | |
| 486 | |
| 487 unsigned int vpx_sad64x64_avg_c(const uint8_t *src_ptr, int src_stride, const ui
nt8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 488 #define vpx_sad64x64_avg vpx_sad64x64_avg_c | |
| 489 | |
| 490 void vpx_sad64x64x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 491 #define vpx_sad64x64x3 vpx_sad64x64x3_c | |
| 492 | |
| 493 void vpx_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * c
onst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 494 #define vpx_sad64x64x4d vpx_sad64x64x4d_c | |
| 495 | |
| 496 void vpx_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 497 #define vpx_sad64x64x8 vpx_sad64x64x8_c | |
| 498 | |
| 499 unsigned int vpx_sad8x16_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 500 #define vpx_sad8x16 vpx_sad8x16_c | |
| 501 | |
| 502 unsigned int vpx_sad8x16_avg_c(const uint8_t *src_ptr, int src_stride, const uin
t8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 503 #define vpx_sad8x16_avg vpx_sad8x16_avg_c | |
| 504 | |
| 505 void vpx_sad8x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 506 #define vpx_sad8x16x3 vpx_sad8x16x3_c | |
| 507 | |
| 508 void vpx_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * co
nst ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 509 #define vpx_sad8x16x4d vpx_sad8x16x4d_c | |
| 510 | |
| 511 void vpx_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 512 #define vpx_sad8x16x8 vpx_sad8x16x8_c | |
| 513 | |
| 514 unsigned int vpx_sad8x4_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 515 #define vpx_sad8x4 vpx_sad8x4_c | |
| 516 | |
| 517 unsigned int vpx_sad8x4_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 518 #define vpx_sad8x4_avg vpx_sad8x4_avg_c | |
| 519 | |
| 520 void vpx_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 521 #define vpx_sad8x4x4d vpx_sad8x4x4d_c | |
| 522 | |
| 523 void vpx_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 524 #define vpx_sad8x4x8 vpx_sad8x4x8_c | |
| 525 | |
| 526 unsigned int vpx_sad8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t
*ref_ptr, int ref_stride); | |
| 527 #define vpx_sad8x8 vpx_sad8x8_c | |
| 528 | |
| 529 unsigned int vpx_sad8x8_avg_c(const uint8_t *src_ptr, int src_stride, const uint
8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | |
| 530 #define vpx_sad8x8_avg vpx_sad8x8_avg_c | |
| 531 | |
| 532 void vpx_sad8x8x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 533 #define vpx_sad8x8x3 vpx_sad8x8x3_c | |
| 534 | |
| 535 void vpx_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t * con
st ref_ptr[], int ref_stride, uint32_t *sad_array); | |
| 536 #define vpx_sad8x8x4d vpx_sad8x8x4d_c | |
| 537 | |
| 538 void vpx_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | |
| 539 #define vpx_sad8x8x8 vpx_sad8x8x8_c | |
| 540 | |
| 541 int vpx_satd_c(const int16_t *coeff, int length); | |
| 542 #define vpx_satd vpx_satd_c | |
| 543 | |
| 544 void vpx_scaled_2d_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_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); | |
| 545 #define vpx_scaled_2d vpx_scaled_2d_c | |
| 546 | |
| 547 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 *fi
lter_y, int y_step_q4, int w, int h); | |
| 548 #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c | |
| 549 | |
| 550 void vpx_scaled_avg_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, 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); | |
| 551 #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c | |
| 552 | |
| 553 void vpx_scaled_avg_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, 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); | |
| 554 #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c | |
| 555 | |
| 556 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 *fil
ter_y, int y_step_q4, int w, int h); | |
| 557 #define vpx_scaled_horiz vpx_scaled_horiz_c | |
| 558 | |
| 559 void vpx_scaled_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, p
trdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filt
er_y, int y_step_q4, int w, int h); | |
| 560 #define vpx_scaled_vert vpx_scaled_vert_c | |
| 561 | |
| 562 uint32_t vpx_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_st
ride, 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_variance16x16 vpx_sub_pixel_avg_variance16x16_c | |
| 564 | |
| 565 uint32_t vpx_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_st
ride, 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_variance16x32 vpx_sub_pixel_avg_variance16x32_c | |
| 567 | |
| 568 uint32_t vpx_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_str
ide, 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_variance16x8 vpx_sub_pixel_avg_variance16x8_c | |
| 570 | |
| 571 uint32_t vpx_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_st
ride, 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_variance32x16 vpx_sub_pixel_avg_variance32x16_c | |
| 573 | |
| 574 uint32_t vpx_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 575 #define vpx_sub_pixel_avg_variance32x32 vpx_sub_pixel_avg_variance32x32_c | |
| 576 | |
| 577 uint32_t vpx_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 578 #define vpx_sub_pixel_avg_variance32x64 vpx_sub_pixel_avg_variance32x64_c | |
| 579 | |
| 580 uint32_t vpx_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 581 #define vpx_sub_pixel_avg_variance4x4 vpx_sub_pixel_avg_variance4x4_c | |
| 582 | |
| 583 uint32_t vpx_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 584 #define vpx_sub_pixel_avg_variance4x8 vpx_sub_pixel_avg_variance4x8_c | |
| 585 | |
| 586 uint32_t vpx_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 587 #define vpx_sub_pixel_avg_variance64x32 vpx_sub_pixel_avg_variance64x32_c | |
| 588 | |
| 589 uint32_t vpx_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_
t *sse, const uint8_t *second_pred); | |
| 590 #define vpx_sub_pixel_avg_variance64x64 vpx_sub_pixel_avg_variance64x64_c | |
| 591 | |
| 592 uint32_t vpx_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 593 #define vpx_sub_pixel_avg_variance8x16 vpx_sub_pixel_avg_variance8x16_c | |
| 594 | |
| 595 uint32_t vpx_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 596 #define vpx_sub_pixel_avg_variance8x4 vpx_sub_pixel_avg_variance8x4_c | |
| 597 | |
| 598 uint32_t vpx_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uint32_t
*sse, const uint8_t *second_pred); | |
| 599 #define vpx_sub_pixel_avg_variance8x8 vpx_sub_pixel_avg_variance8x8_c | |
| 600 | |
| 601 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 *s
se); | |
| 602 #define vpx_sub_pixel_variance16x16 vpx_sub_pixel_variance16x16_c | |
| 603 | |
| 604 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 *s
se); | |
| 605 #define vpx_sub_pixel_variance16x32 vpx_sub_pixel_variance16x32_c | |
| 606 | |
| 607 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 *ss
e); | |
| 608 #define vpx_sub_pixel_variance16x8 vpx_sub_pixel_variance16x8_c | |
| 609 | |
| 610 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 *s
se); | |
| 611 #define vpx_sub_pixel_variance32x16 vpx_sub_pixel_variance32x16_c | |
| 612 | |
| 613 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 *s
se); | |
| 614 #define vpx_sub_pixel_variance32x32 vpx_sub_pixel_variance32x32_c | |
| 615 | |
| 616 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 *s
se); | |
| 617 #define vpx_sub_pixel_variance32x64 vpx_sub_pixel_variance32x64_c | |
| 618 | |
| 619 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
); | |
| 620 #define vpx_sub_pixel_variance4x4 vpx_sub_pixel_variance4x4_c | |
| 621 | |
| 622 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
); | |
| 623 #define vpx_sub_pixel_variance4x8 vpx_sub_pixel_variance4x8_c | |
| 624 | |
| 625 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 *s
se); | |
| 626 #define vpx_sub_pixel_variance64x32 vpx_sub_pixel_variance64x32_c | |
| 627 | |
| 628 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 *s
se); | |
| 629 #define vpx_sub_pixel_variance64x64 vpx_sub_pixel_variance64x64_c | |
| 630 | |
| 631 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 *ss
e); | |
| 632 #define vpx_sub_pixel_variance8x16 vpx_sub_pixel_variance8x16_c | |
| 633 | |
| 634 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
); | |
| 635 #define vpx_sub_pixel_variance8x4 vpx_sub_pixel_variance8x4_c | |
| 636 | |
| 637 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
); | |
| 638 #define vpx_sub_pixel_variance8x8 vpx_sub_pixel_variance8x8_c | |
| 639 | |
| 640 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, p
trdiff_t pred_stride); | |
| 641 #define vpx_subtract_block vpx_subtract_block_c | |
| 642 | |
| 643 void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 644 #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c | |
| 645 | |
| 646 void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | |
| 647 #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c | |
| 648 | |
| 649 void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 650 #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c | |
| 651 | |
| 652 void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 653 #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c | |
| 654 | |
| 655 void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 656 #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c | |
| 657 | |
| 658 void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | |
| 659 #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c | |
| 660 | |
| 661 void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 662 #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c | |
| 663 | |
| 664 void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | |
| 665 #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c | |
| 666 | |
| 667 unsigned int vpx_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 668 #define vpx_variance16x16 vpx_variance16x16_c | |
| 669 | |
| 670 unsigned int vpx_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 671 #define vpx_variance16x32 vpx_variance16x32_c | |
| 672 | |
| 673 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 674 #define vpx_variance16x8 vpx_variance16x8_c | |
| 675 | |
| 676 unsigned int vpx_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 677 #define vpx_variance32x16 vpx_variance32x16_c | |
| 678 | |
| 679 unsigned int vpx_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 680 #define vpx_variance32x32 vpx_variance32x32_c | |
| 681 | |
| 682 unsigned int vpx_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 683 #define vpx_variance32x64 vpx_variance32x64_c | |
| 684 | |
| 685 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 686 #define vpx_variance4x4 vpx_variance4x4_c | |
| 687 | |
| 688 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 689 #define vpx_variance4x8 vpx_variance4x8_c | |
| 690 | |
| 691 unsigned int vpx_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 692 #define vpx_variance64x32 vpx_variance64x32_c | |
| 693 | |
| 694 unsigned int vpx_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 695 #define vpx_variance64x64 vpx_variance64x64_c | |
| 696 | |
| 697 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 698 #define vpx_variance8x16 vpx_variance8x16_c | |
| 699 | |
| 700 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 701 #define vpx_variance8x4 vpx_variance8x4_c | |
| 702 | |
| 703 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 704 #define vpx_variance8x8 vpx_variance8x8_c | |
| 705 | |
| 706 uint32_t vpx_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 707 #define vpx_variance_halfpixvar16x16_h vpx_variance_halfpixvar16x16_h_c | |
| 708 | |
| 709 uint32_t vpx_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int sou
rce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 710 #define vpx_variance_halfpixvar16x16_hv vpx_variance_halfpixvar16x16_hv_c | |
| 711 | |
| 712 uint32_t vpx_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int sour
ce_stride, const unsigned char *ref_ptr, int ref_stride, uint32_t *sse); | |
| 713 #define vpx_variance_halfpixvar16x16_v vpx_variance_halfpixvar16x16_v_c | |
| 714 | |
| 715 void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | |
| 716 #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c | |
| 717 | |
| 718 int vpx_vector_var_c(int16_t const *ref, int16_t const *src, const int bwl); | |
| 719 #define vpx_vector_var vpx_vector_var_c | |
| 720 | |
| 721 void vpx_dsp_rtcd(void); | |
| 722 | |
| 723 #include "vpx_config.h" | |
| 724 | |
| 725 #ifdef RTCD_C | |
| 726 static void setup_rtcd_internal(void) | |
| 727 { | |
| 728 } | |
| 729 #endif | |
| 730 | |
| 731 #ifdef __cplusplus | |
| 732 } // extern "C" | |
| 733 #endif | |
| 734 | |
| 735 #endif | |
| OLD | NEW |