OLD | NEW |
1 #ifndef VPX_DSP_RTCD_H_ | 1 #ifndef VPX_DSP_RTCD_H_ |
2 #define VPX_DSP_RTCD_H_ | 2 #define VPX_DSP_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
11 * DSP | 11 * DSP |
12 */ | 12 */ |
13 | 13 |
14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
15 | 15 |
16 | 16 |
17 #ifdef __cplusplus | 17 #ifdef __cplusplus |
18 extern "C" { | 18 extern "C" { |
19 #endif | 19 #endif |
20 | 20 |
| 21 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); |
| 22 #define vpx_comp_avg_pred vpx_comp_avg_pred_c |
| 23 |
| 24 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); |
| 25 #define vpx_get16x16var vpx_get16x16var_c |
| 26 |
| 27 unsigned int vpx_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride,
const unsigned char *ref_ptr, int ref_stride); |
| 28 #define vpx_get4x4sse_cs vpx_get4x4sse_cs_c |
| 29 |
| 30 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); |
| 31 #define vpx_get8x8var vpx_get8x8var_c |
| 32 |
| 33 unsigned int vpx_get_mb_ss_c(const int16_t *); |
| 34 #define vpx_get_mb_ss vpx_get_mb_ss_c |
| 35 |
| 36 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); |
| 37 #define vpx_mse16x16 vpx_mse16x16_c |
| 38 |
| 39 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); |
| 40 #define vpx_mse16x8 vpx_mse16x8_c |
| 41 |
| 42 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); |
| 43 #define vpx_mse8x16 vpx_mse8x16_c |
| 44 |
| 45 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); |
| 46 #define vpx_mse8x8 vpx_mse8x8_c |
| 47 |
21 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); | 48 unsigned int vpx_sad16x16_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride); |
22 #define vpx_sad16x16 vpx_sad16x16_c | 49 #define vpx_sad16x16 vpx_sad16x16_c |
23 | 50 |
24 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); | 51 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); |
25 #define vpx_sad16x16_avg vpx_sad16x16_avg_c | 52 #define vpx_sad16x16_avg vpx_sad16x16_avg_c |
26 | 53 |
27 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 54 void vpx_sad16x16x3_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
28 #define vpx_sad16x16x3 vpx_sad16x16x3_c | 55 #define vpx_sad16x16x3 vpx_sad16x16x3_c |
29 | 56 |
30 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); | 57 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); |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 203 |
177 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); | 204 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); |
178 #define vpx_sad8x8x3 vpx_sad8x8x3_c | 205 #define vpx_sad8x8x3 vpx_sad8x8x3_c |
179 | 206 |
180 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); | 207 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); |
181 #define vpx_sad8x8x4d vpx_sad8x8x4d_c | 208 #define vpx_sad8x8x4d vpx_sad8x8x4d_c |
182 | 209 |
183 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); | 210 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); |
184 #define vpx_sad8x8x8 vpx_sad8x8x8_c | 211 #define vpx_sad8x8x8 vpx_sad8x8x8_c |
185 | 212 |
| 213 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); |
| 214 #define vpx_variance16x16 vpx_variance16x16_c |
| 215 |
| 216 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); |
| 217 #define vpx_variance16x32 vpx_variance16x32_c |
| 218 |
| 219 unsigned int vpx_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 220 #define vpx_variance16x8 vpx_variance16x8_c |
| 221 |
| 222 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); |
| 223 #define vpx_variance32x16 vpx_variance32x16_c |
| 224 |
| 225 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); |
| 226 #define vpx_variance32x32 vpx_variance32x32_c |
| 227 |
| 228 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); |
| 229 #define vpx_variance32x64 vpx_variance32x64_c |
| 230 |
| 231 unsigned int vpx_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 232 #define vpx_variance4x4 vpx_variance4x4_c |
| 233 |
| 234 unsigned int vpx_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 235 #define vpx_variance4x8 vpx_variance4x8_c |
| 236 |
| 237 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); |
| 238 #define vpx_variance64x32 vpx_variance64x32_c |
| 239 |
| 240 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); |
| 241 #define vpx_variance64x64 vpx_variance64x64_c |
| 242 |
| 243 unsigned int vpx_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 244 #define vpx_variance8x16 vpx_variance8x16_c |
| 245 |
| 246 unsigned int vpx_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 247 #define vpx_variance8x4 vpx_variance8x4_c |
| 248 |
| 249 unsigned int vpx_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 250 #define vpx_variance8x8 vpx_variance8x8_c |
| 251 |
186 void vpx_dsp_rtcd(void); | 252 void vpx_dsp_rtcd(void); |
187 | 253 |
188 #include "vpx_config.h" | 254 #include "vpx_config.h" |
189 | 255 |
190 #ifdef RTCD_C | 256 #ifdef RTCD_C |
191 static void setup_rtcd_internal(void) | 257 static void setup_rtcd_internal(void) |
192 { | 258 { |
193 } | 259 } |
194 #endif | 260 #endif |
195 | 261 |
196 #ifdef __cplusplus | 262 #ifdef __cplusplus |
197 } // extern "C" | 263 } // extern "C" |
198 #endif | 264 #endif |
199 | 265 |
200 #endif | 266 #endif |
OLD | NEW |