| OLD | NEW |
| 1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ | 2 #define VP9_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 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 184 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 185 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 185 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 186 | 186 |
| 187 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); | 187 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); |
| 188 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 188 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
| 189 | 189 |
| 190 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 190 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); |
| 191 #define vp9_fdct16x16 vp9_fdct16x16_c | 191 #define vp9_fdct16x16 vp9_fdct16x16_c |
| 192 | 192 |
| 193 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); |
| 194 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c |
| 195 |
| 193 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 196 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); |
| 194 #define vp9_fdct32x32 vp9_fdct32x32_c | 197 #define vp9_fdct32x32 vp9_fdct32x32_c |
| 195 | 198 |
| 199 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); |
| 200 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c |
| 201 |
| 196 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 202 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); |
| 197 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c | 203 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
| 198 | 204 |
| 199 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 205 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); |
| 200 #define vp9_fdct4x4 vp9_fdct4x4_c | 206 #define vp9_fdct4x4 vp9_fdct4x4_c |
| 201 | 207 |
| 208 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); |
| 209 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
| 210 |
| 202 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 211 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); |
| 203 #define vp9_fdct8x8 vp9_fdct8x8_c | 212 #define vp9_fdct8x8 vp9_fdct8x8_c |
| 204 | 213 |
| 214 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); |
| 215 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c |
| 216 |
| 205 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 217 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); |
| 206 #define vp9_fht16x16 vp9_fht16x16_c | 218 #define vp9_fht16x16 vp9_fht16x16_c |
| 207 | 219 |
| 208 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 220 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
| 209 #define vp9_fht4x4 vp9_fht4x4_c | 221 #define vp9_fht4x4 vp9_fht4x4_c |
| 210 | 222 |
| 211 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 223 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
| 212 #define vp9_fht8x8 vp9_fht8x8_c | 224 #define vp9_fht8x8 vp9_fht8x8_c |
| 213 | 225 |
| 214 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); | 226 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); |
| 215 #define vp9_full_range_search vp9_full_range_search_c | 227 #define vp9_full_range_search vp9_full_range_search_c |
| 216 | 228 |
| 217 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 229 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
| 218 #define vp9_full_search_sad vp9_full_search_sad_c | 230 #define vp9_full_search_sad vp9_full_search_sad_c |
| 219 | 231 |
| 220 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 232 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
| 221 #define vp9_fwht4x4 vp9_fwht4x4_c | 233 #define vp9_fwht4x4 vp9_fwht4x4_c |
| 222 | 234 |
| 235 void vp9_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 vp9_get16x16var vp9_get16x16var_c |
| 237 |
| 238 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); |
| 239 #define vp9_get8x8var vp9_get8x8var_c |
| 240 |
| 223 unsigned int vp9_get_mb_ss_c(const int16_t *); | 241 unsigned int vp9_get_mb_ss_c(const int16_t *); |
| 224 #define vp9_get_mb_ss vp9_get_mb_ss_c | 242 #define vp9_get_mb_ss vp9_get_mb_ss_c |
| 225 | 243 |
| 226 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 244 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 227 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c | 245 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
| 228 | 246 |
| 229 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 247 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 230 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 248 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
| 231 | 249 |
| 232 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 250 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 | 348 |
| 331 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); | 349 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); |
| 332 #define vp9_quantize_b vp9_quantize_b_c | 350 #define vp9_quantize_b vp9_quantize_b_c |
| 333 | 351 |
| 334 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); | 352 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); |
| 335 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 353 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
| 336 | 354 |
| 337 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 355 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
| 338 #define vp9_refining_search_sad vp9_refining_search_sad_c | 356 #define vp9_refining_search_sad vp9_refining_search_sad_c |
| 339 | 357 |
| 340 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 358 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 341 #define vp9_sad16x16 vp9_sad16x16_c | 359 #define vp9_sad16x16 vp9_sad16x16_c |
| 342 | 360 |
| 343 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); | 361 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 344 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 362 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
| 345 | 363 |
| 346 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 364 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 347 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 365 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
| 348 | 366 |
| 349 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 367 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 350 #define vp9_sad16x16x4d vp9_sad16x16x4d_c | 368 #define vp9_sad16x16x4d vp9_sad16x16x4d_c |
| 351 | 369 |
| 352 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 370 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
| 353 #define vp9_sad16x16x8 vp9_sad16x16x8_c | 371 #define vp9_sad16x16x8 vp9_sad16x16x8_c |
| 354 | 372 |
| 355 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 373 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 356 #define vp9_sad16x32 vp9_sad16x32_c | 374 #define vp9_sad16x32 vp9_sad16x32_c |
| 357 | 375 |
| 358 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 376 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 359 #define vp9_sad16x32_avg vp9_sad16x32_avg_c | 377 #define vp9_sad16x32_avg vp9_sad16x32_avg_c |
| 360 | 378 |
| 361 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 379 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 362 #define vp9_sad16x32x4d vp9_sad16x32x4d_c | 380 #define vp9_sad16x32x4d vp9_sad16x32x4d_c |
| 363 | 381 |
| 364 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 382 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
| 365 #define vp9_sad16x8 vp9_sad16x8_c | 383 #define vp9_sad16x8 vp9_sad16x8_c |
| 366 | 384 |
| 367 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 385 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 368 #define vp9_sad16x8_avg vp9_sad16x8_avg_c | 386 #define vp9_sad16x8_avg vp9_sad16x8_avg_c |
| 369 | 387 |
| 370 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sad_array); | 388 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sad_array); |
| 371 #define vp9_sad16x8x3 vp9_sad16x8x3_c | 389 #define vp9_sad16x8x3 vp9_sad16x8x3_c |
| 372 | 390 |
| 373 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co
nst ref_ptr[], int ref_stride, unsigned int *sad_array); | 391 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co
nst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 374 #define vp9_sad16x8x4d vp9_sad16x8x4d_c | 392 #define vp9_sad16x8x4d vp9_sad16x8x4d_c |
| 375 | 393 |
| 376 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 394 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
| 377 #define vp9_sad16x8x8 vp9_sad16x8x8_c | 395 #define vp9_sad16x8x8 vp9_sad16x8x8_c |
| 378 | 396 |
| 379 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 397 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 380 #define vp9_sad32x16 vp9_sad32x16_c | 398 #define vp9_sad32x16 vp9_sad32x16_c |
| 381 | 399 |
| 382 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 400 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 383 #define vp9_sad32x16_avg vp9_sad32x16_avg_c | 401 #define vp9_sad32x16_avg vp9_sad32x16_avg_c |
| 384 | 402 |
| 385 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 403 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 386 #define vp9_sad32x16x4d vp9_sad32x16x4d_c | 404 #define vp9_sad32x16x4d vp9_sad32x16x4d_c |
| 387 | 405 |
| 388 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 406 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 389 #define vp9_sad32x32 vp9_sad32x32_c | 407 #define vp9_sad32x32 vp9_sad32x32_c |
| 390 | 408 |
| 391 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); | 409 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 392 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 410 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
| 393 | 411 |
| 394 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 412 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 395 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 413 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
| 396 | 414 |
| 397 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 415 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 398 #define vp9_sad32x32x4d vp9_sad32x32x4d_c | 416 #define vp9_sad32x32x4d vp9_sad32x32x4d_c |
| 399 | 417 |
| 400 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 418 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
| 401 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 419 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
| 402 | 420 |
| 403 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 421 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 404 #define vp9_sad32x64 vp9_sad32x64_c | 422 #define vp9_sad32x64 vp9_sad32x64_c |
| 405 | 423 |
| 406 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 424 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 407 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 425 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
| 408 | 426 |
| 409 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 427 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 410 #define vp9_sad32x64x4d vp9_sad32x64x4d_c | 428 #define vp9_sad32x64x4d vp9_sad32x64x4d_c |
| 411 | 429 |
| 412 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int max_sad); | 430 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
| 413 #define vp9_sad4x4 vp9_sad4x4_c | 431 #define vp9_sad4x4 vp9_sad4x4_c |
| 414 | 432 |
| 415 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_s
ad); | 433 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 416 #define vp9_sad4x4_avg vp9_sad4x4_avg_c | 434 #define vp9_sad4x4_avg vp9_sad4x4_avg_c |
| 417 | 435 |
| 418 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re
f_ptr, int ref_stride, unsigned int *sad_array); | 436 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re
f_ptr, int ref_stride, unsigned int *sad_array); |
| 419 #define vp9_sad4x4x3 vp9_sad4x4x3_c | 437 #define vp9_sad4x4x3 vp9_sad4x4x3_c |
| 420 | 438 |
| 421 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con
st ref_ptr[], int ref_stride, unsigned int *sad_array); | 439 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con
st ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 422 #define vp9_sad4x4x4d vp9_sad4x4x4d_c | 440 #define vp9_sad4x4x4d vp9_sad4x4x4d_c |
| 423 | 441 |
| 424 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | 442 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); |
| 425 #define vp9_sad4x4x8 vp9_sad4x4x8_c | 443 #define vp9_sad4x4x8 vp9_sad4x4x8_c |
| 426 | 444 |
| 427 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int max_sad); | 445 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
| 428 #define vp9_sad4x8 vp9_sad4x8_c | 446 #define vp9_sad4x8 vp9_sad4x8_c |
| 429 | 447 |
| 430 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sa
d); | 448 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 431 #define vp9_sad4x8_avg vp9_sad4x8_avg_c | 449 #define vp9_sad4x8_avg vp9_sad4x8_avg_c |
| 432 | 450 |
| 433 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons
t ref_ptr[], int ref_stride, unsigned int *sad_array); | 451 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons
t ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 434 #define vp9_sad4x8x4d vp9_sad4x8x4d_c | 452 #define vp9_sad4x8x4d vp9_sad4x8x4d_c |
| 435 | 453 |
| 436 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | 454 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); |
| 437 #define vp9_sad4x8x8 vp9_sad4x8x8_c | 455 #define vp9_sad4x8x8 vp9_sad4x8x8_c |
| 438 | 456 |
| 439 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 457 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 440 #define vp9_sad64x32 vp9_sad64x32_c | 458 #define vp9_sad64x32 vp9_sad64x32_c |
| 441 | 459 |
| 442 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 460 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 443 #define vp9_sad64x32_avg vp9_sad64x32_avg_c | 461 #define vp9_sad64x32_avg vp9_sad64x32_avg_c |
| 444 | 462 |
| 445 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 463 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 446 #define vp9_sad64x32x4d vp9_sad64x32x4d_c | 464 #define vp9_sad64x32x4d vp9_sad64x32x4d_c |
| 447 | 465 |
| 448 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 466 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 449 #define vp9_sad64x64 vp9_sad64x64_c | 467 #define vp9_sad64x64 vp9_sad64x64_c |
| 450 | 468 |
| 451 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); | 469 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 452 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 470 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
| 453 | 471 |
| 454 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 472 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 455 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 473 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
| 456 | 474 |
| 457 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | 475 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 458 #define vp9_sad64x64x4d vp9_sad64x64x4d_c | 476 #define vp9_sad64x64x4d vp9_sad64x64x4d_c |
| 459 | 477 |
| 460 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); | 478 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re
f_ptr, int ref_stride, uint32_t *sad_array); |
| 461 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 479 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
| 462 | 480 |
| 463 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int max_sad); | 481 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
| 464 #define vp9_sad8x16 vp9_sad8x16_c | 482 #define vp9_sad8x16 vp9_sad8x16_c |
| 465 | 483 |
| 466 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_
sad); | 484 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 467 #define vp9_sad8x16_avg vp9_sad8x16_avg_c | 485 #define vp9_sad8x16_avg vp9_sad8x16_avg_c |
| 468 | 486 |
| 469 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sad_array); | 487 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sad_array); |
| 470 #define vp9_sad8x16x3 vp9_sad8x16x3_c | 488 #define vp9_sad8x16x3 vp9_sad8x16x3_c |
| 471 | 489 |
| 472 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co
nst ref_ptr[], int ref_stride, unsigned int *sad_array); | 490 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co
nst ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 473 #define vp9_sad8x16x4d vp9_sad8x16x4d_c | 491 #define vp9_sad8x16x4d vp9_sad8x16x4d_c |
| 474 | 492 |
| 475 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 493 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
| 476 #define vp9_sad8x16x8 vp9_sad8x16x8_c | 494 #define vp9_sad8x16x8 vp9_sad8x16x8_c |
| 477 | 495 |
| 478 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int max_sad); | 496 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
| 479 #define vp9_sad8x4 vp9_sad8x4_c | 497 #define vp9_sad8x4 vp9_sad8x4_c |
| 480 | 498 |
| 481 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sa
d); | 499 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 482 #define vp9_sad8x4_avg vp9_sad8x4_avg_c | 500 #define vp9_sad8x4_avg vp9_sad8x4_avg_c |
| 483 | 501 |
| 484 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons
t ref_ptr[], int ref_stride, unsigned int *sad_array); | 502 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons
t ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 485 #define vp9_sad8x4x4d vp9_sad8x4x4d_c | 503 #define vp9_sad8x4x4d vp9_sad8x4x4d_c |
| 486 | 504 |
| 487 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); | 505 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p
tr, int ref_stride, uint32_t *sad_array); |
| 488 #define vp9_sad8x4x8 vp9_sad8x4x8_c | 506 #define vp9_sad8x4x8 vp9_sad8x4x8_c |
| 489 | 507 |
| 490 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int max_sad); | 508 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
| 491 #define vp9_sad8x8 vp9_sad8x8_c | 509 #define vp9_sad8x8 vp9_sad8x8_c |
| 492 | 510 |
| 493 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_s
ad); | 511 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
| 494 #define vp9_sad8x8_avg vp9_sad8x8_avg_c | 512 #define vp9_sad8x8_avg vp9_sad8x8_avg_c |
| 495 | 513 |
| 496 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re
f_ptr, int ref_stride, unsigned int *sad_array); | 514 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re
f_ptr, int ref_stride, unsigned int *sad_array); |
| 497 #define vp9_sad8x8x3 vp9_sad8x8x3_c | 515 #define vp9_sad8x8x3 vp9_sad8x8x3_c |
| 498 | 516 |
| 499 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con
st ref_ptr[], int ref_stride, unsigned int *sad_array); | 517 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con
st ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 500 #define vp9_sad8x8x4d vp9_sad8x8x4d_c | 518 #define vp9_sad8x8x4d vp9_sad8x8x4d_c |
| 501 | 519 |
| 502 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | 520 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); |
| 503 #define vp9_sad8x8x8 vp9_sad8x8x8_c | 521 #define vp9_sad8x8x8 vp9_sad8x8x8_c |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 | 594 |
| 577 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); | 595 unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); |
| 578 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c | 596 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
| 579 | 597 |
| 580 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); | 598 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri
de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); |
| 581 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c | 599 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c |
| 582 | 600 |
| 583 void vp9_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); | 601 void vp9_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); |
| 584 #define vp9_subtract_block vp9_subtract_block_c | 602 #define vp9_subtract_block vp9_subtract_block_c |
| 585 | 603 |
| 586 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *
accumulator, uint16_t *count); | 604 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *
frame2, unsigned int block_width, unsigned int block_height, int strength, int f
ilter_weight, unsigned int *accumulator, uint16_t *count); |
| 587 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c | 605 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
| 588 | 606 |
| 589 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 607 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 590 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c | 608 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c |
| 591 | 609 |
| 592 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 610 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 593 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c | 611 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c |
| 594 | 612 |
| 595 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); | 613 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 596 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c | 614 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 (void)flags; | 680 (void)flags; |
| 663 | 681 |
| 664 } | 682 } |
| 665 #endif | 683 #endif |
| 666 | 684 |
| 667 #ifdef __cplusplus | 685 #ifdef __cplusplus |
| 668 } // extern "C" | 686 } // extern "C" |
| 669 #endif | 687 #endif |
| 670 | 688 |
| 671 #endif | 689 #endif |
| OLD | NEW |