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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 192 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
193 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 193 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
194 | 194 |
195 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); | 195 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); |
196 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 196 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
197 | 197 |
198 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 198 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); |
199 #define vp9_fdct16x16 vp9_fdct16x16_c | 199 #define vp9_fdct16x16 vp9_fdct16x16_c |
200 | 200 |
| 201 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); |
| 202 #define vp9_fdct16x16_1 vp9_fdct16x16_1_c |
| 203 |
201 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 204 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); |
202 #define vp9_fdct32x32 vp9_fdct32x32_c | 205 #define vp9_fdct32x32 vp9_fdct32x32_c |
203 | 206 |
| 207 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); |
| 208 #define vp9_fdct32x32_1 vp9_fdct32x32_1_c |
| 209 |
204 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 210 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); |
205 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c | 211 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
206 | 212 |
207 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 213 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); |
208 #define vp9_fdct4x4 vp9_fdct4x4_c | 214 #define vp9_fdct4x4 vp9_fdct4x4_c |
209 | 215 |
| 216 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); |
| 217 #define vp9_fdct4x4_1 vp9_fdct4x4_1_c |
| 218 |
210 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 219 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); |
211 #define vp9_fdct8x8 vp9_fdct8x8_c | 220 #define vp9_fdct8x8 vp9_fdct8x8_c |
212 | 221 |
| 222 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); |
| 223 #define vp9_fdct8x8_1 vp9_fdct8x8_1_c |
| 224 |
213 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 225 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); |
214 #define vp9_fht16x16 vp9_fht16x16_c | 226 #define vp9_fht16x16 vp9_fht16x16_c |
215 | 227 |
216 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 228 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
217 #define vp9_fht4x4 vp9_fht4x4_c | 229 #define vp9_fht4x4 vp9_fht4x4_c |
218 | 230 |
219 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 231 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); |
220 #define vp9_fht8x8 vp9_fht8x8_c | 232 #define vp9_fht8x8 vp9_fht8x8_c |
221 | 233 |
222 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); | 234 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); |
223 #define vp9_full_range_search vp9_full_range_search_c | 235 #define vp9_full_range_search vp9_full_range_search_c |
224 | 236 |
225 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); | 237 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); |
226 #define vp9_full_search_sad vp9_full_search_sad_c | 238 #define vp9_full_search_sad vp9_full_search_sad_c |
227 | 239 |
228 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 240 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
229 #define vp9_fwht4x4 vp9_fwht4x4_c | 241 #define vp9_fwht4x4 vp9_fwht4x4_c |
230 | 242 |
| 243 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); |
| 244 #define vp9_get16x16var vp9_get16x16var_c |
| 245 |
| 246 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); |
| 247 #define vp9_get8x8var vp9_get8x8var_c |
| 248 |
231 unsigned int vp9_get_mb_ss_c(const int16_t *); | 249 unsigned int vp9_get_mb_ss_c(const int16_t *); |
232 #define vp9_get_mb_ss vp9_get_mb_ss_c | 250 #define vp9_get_mb_ss vp9_get_mb_ss_c |
233 | 251 |
234 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 252 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
235 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 253 void vp9_h_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
236 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 254 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
237 | 255 |
238 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); | 256 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
239 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 257 void vp9_h_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
240 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 258 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 | 384 |
367 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); | 385 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); |
368 #define vp9_quantize_b vp9_quantize_b_c | 386 #define vp9_quantize_b vp9_quantize_b_c |
369 | 387 |
370 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); | 388 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); |
371 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | 389 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
372 | 390 |
373 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); | 391 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); |
374 #define vp9_refining_search_sad vp9_refining_search_sad_c | 392 #define vp9_refining_search_sad vp9_refining_search_sad_c |
375 | 393 |
376 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); | 394 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
377 #define vp9_sad16x16 vp9_sad16x16_c | 395 #define vp9_sad16x16 vp9_sad16x16_c |
378 | 396 |
379 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); | 397 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); |
380 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 398 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
381 | 399 |
382 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 400 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
383 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 401 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
384 | 402 |
385 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); | 403 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); |
386 #define vp9_sad16x16x4d vp9_sad16x16x4d_c | 404 #define vp9_sad16x16x4d vp9_sad16x16x4d_c |
387 | 405 |
388 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); | 406 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); |
389 #define vp9_sad16x16x8 vp9_sad16x16x8_c | 407 #define vp9_sad16x16x8 vp9_sad16x16x8_c |
390 | 408 |
391 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); | 409 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
392 #define vp9_sad16x32 vp9_sad16x32_c | 410 #define vp9_sad16x32 vp9_sad16x32_c |
393 | 411 |
394 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); | 412 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); |
395 #define vp9_sad16x32_avg vp9_sad16x32_avg_c | 413 #define vp9_sad16x32_avg vp9_sad16x32_avg_c |
396 | 414 |
397 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); | 415 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); |
398 #define vp9_sad16x32x4d vp9_sad16x32x4d_c | 416 #define vp9_sad16x32x4d vp9_sad16x32x4d_c |
399 | 417 |
400 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); | 418 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
401 #define vp9_sad16x8 vp9_sad16x8_c | 419 #define vp9_sad16x8 vp9_sad16x8_c |
402 | 420 |
403 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); | 421 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); |
404 #define vp9_sad16x8_avg vp9_sad16x8_avg_c | 422 #define vp9_sad16x8_avg vp9_sad16x8_avg_c |
405 | 423 |
406 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); | 424 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); |
407 #define vp9_sad16x8x3 vp9_sad16x8x3_c | 425 #define vp9_sad16x8x3 vp9_sad16x8x3_c |
408 | 426 |
409 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); | 427 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); |
410 #define vp9_sad16x8x4d vp9_sad16x8x4d_c | 428 #define vp9_sad16x8x4d vp9_sad16x8x4d_c |
411 | 429 |
412 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 430 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
413 #define vp9_sad16x8x8 vp9_sad16x8x8_c | 431 #define vp9_sad16x8x8 vp9_sad16x8x8_c |
414 | 432 |
415 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); | 433 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
416 #define vp9_sad32x16 vp9_sad32x16_c | 434 #define vp9_sad32x16 vp9_sad32x16_c |
417 | 435 |
418 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); | 436 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); |
419 #define vp9_sad32x16_avg vp9_sad32x16_avg_c | 437 #define vp9_sad32x16_avg vp9_sad32x16_avg_c |
420 | 438 |
421 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); | 439 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); |
422 #define vp9_sad32x16x4d vp9_sad32x16x4d_c | 440 #define vp9_sad32x16x4d vp9_sad32x16x4d_c |
423 | 441 |
424 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); | 442 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
425 #define vp9_sad32x32 vp9_sad32x32_c | 443 #define vp9_sad32x32 vp9_sad32x32_c |
426 | 444 |
427 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); | 445 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); |
428 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 446 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
429 | 447 |
430 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 448 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
431 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 449 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
432 | 450 |
433 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); | 451 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); |
434 #define vp9_sad32x32x4d vp9_sad32x32x4d_c | 452 #define vp9_sad32x32x4d vp9_sad32x32x4d_c |
435 | 453 |
436 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); | 454 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); |
437 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 455 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
438 | 456 |
439 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); | 457 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
440 #define vp9_sad32x64 vp9_sad32x64_c | 458 #define vp9_sad32x64 vp9_sad32x64_c |
441 | 459 |
442 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); | 460 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); |
443 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 461 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
444 | 462 |
445 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); | 463 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); |
446 #define vp9_sad32x64x4d vp9_sad32x64x4d_c | 464 #define vp9_sad32x64x4d vp9_sad32x64x4d_c |
447 | 465 |
448 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); | 466 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
449 #define vp9_sad4x4 vp9_sad4x4_c | 467 #define vp9_sad4x4 vp9_sad4x4_c |
450 | 468 |
451 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); | 469 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); |
452 #define vp9_sad4x4_avg vp9_sad4x4_avg_c | 470 #define vp9_sad4x4_avg vp9_sad4x4_avg_c |
453 | 471 |
454 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); | 472 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); |
455 #define vp9_sad4x4x3 vp9_sad4x4x3_c | 473 #define vp9_sad4x4x3 vp9_sad4x4x3_c |
456 | 474 |
457 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); | 475 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); |
458 #define vp9_sad4x4x4d vp9_sad4x4x4d_c | 476 #define vp9_sad4x4x4d vp9_sad4x4x4d_c |
459 | 477 |
460 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | 478 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); |
461 #define vp9_sad4x4x8 vp9_sad4x4x8_c | 479 #define vp9_sad4x4x8 vp9_sad4x4x8_c |
462 | 480 |
463 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); | 481 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
464 #define vp9_sad4x8 vp9_sad4x8_c | 482 #define vp9_sad4x8 vp9_sad4x8_c |
465 | 483 |
466 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); | 484 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); |
467 #define vp9_sad4x8_avg vp9_sad4x8_avg_c | 485 #define vp9_sad4x8_avg vp9_sad4x8_avg_c |
468 | 486 |
469 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); | 487 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); |
470 #define vp9_sad4x8x4d vp9_sad4x8x4d_c | 488 #define vp9_sad4x8x4d vp9_sad4x8x4d_c |
471 | 489 |
472 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); | 490 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); |
473 #define vp9_sad4x8x8 vp9_sad4x8x8_c | 491 #define vp9_sad4x8x8 vp9_sad4x8x8_c |
474 | 492 |
475 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); | 493 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
476 #define vp9_sad64x32 vp9_sad64x32_c | 494 #define vp9_sad64x32 vp9_sad64x32_c |
477 | 495 |
478 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); | 496 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); |
479 #define vp9_sad64x32_avg vp9_sad64x32_avg_c | 497 #define vp9_sad64x32_avg vp9_sad64x32_avg_c |
480 | 498 |
481 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); | 499 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); |
482 #define vp9_sad64x32x4d vp9_sad64x32x4d_c | 500 #define vp9_sad64x32x4d vp9_sad64x32x4d_c |
483 | 501 |
484 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); | 502 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
485 #define vp9_sad64x64 vp9_sad64x64_c | 503 #define vp9_sad64x64 vp9_sad64x64_c |
486 | 504 |
487 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); | 505 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); |
488 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 506 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
489 | 507 |
490 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 508 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
491 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 509 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
492 | 510 |
493 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); | 511 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); |
494 #define vp9_sad64x64x4d vp9_sad64x64x4d_c | 512 #define vp9_sad64x64x4d vp9_sad64x64x4d_c |
495 | 513 |
496 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); | 514 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); |
497 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 515 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
498 | 516 |
499 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); | 517 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
500 #define vp9_sad8x16 vp9_sad8x16_c | 518 #define vp9_sad8x16 vp9_sad8x16_c |
501 | 519 |
502 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); | 520 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); |
503 #define vp9_sad8x16_avg vp9_sad8x16_avg_c | 521 #define vp9_sad8x16_avg vp9_sad8x16_avg_c |
504 | 522 |
505 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); | 523 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); |
506 #define vp9_sad8x16x3 vp9_sad8x16x3_c | 524 #define vp9_sad8x16x3 vp9_sad8x16x3_c |
507 | 525 |
508 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); | 526 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); |
509 #define vp9_sad8x16x4d vp9_sad8x16x4d_c | 527 #define vp9_sad8x16x4d vp9_sad8x16x4d_c |
510 | 528 |
511 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | 529 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); |
512 #define vp9_sad8x16x8 vp9_sad8x16x8_c | 530 #define vp9_sad8x16x8 vp9_sad8x16x8_c |
513 | 531 |
514 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); | 532 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
515 #define vp9_sad8x4 vp9_sad8x4_c | 533 #define vp9_sad8x4 vp9_sad8x4_c |
516 | 534 |
517 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); | 535 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); |
518 #define vp9_sad8x4_avg vp9_sad8x4_avg_c | 536 #define vp9_sad8x4_avg vp9_sad8x4_avg_c |
519 | 537 |
520 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); | 538 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); |
521 #define vp9_sad8x4x4d vp9_sad8x4x4d_c | 539 #define vp9_sad8x4x4d vp9_sad8x4x4d_c |
522 | 540 |
523 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); | 541 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); |
524 #define vp9_sad8x4x8 vp9_sad8x4x8_c | 542 #define vp9_sad8x4x8 vp9_sad8x4x8_c |
525 | 543 |
526 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); | 544 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride); |
527 #define vp9_sad8x8 vp9_sad8x8_c | 545 #define vp9_sad8x8 vp9_sad8x8_c |
528 | 546 |
529 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); | 547 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); |
530 #define vp9_sad8x8_avg vp9_sad8x8_avg_c | 548 #define vp9_sad8x8_avg vp9_sad8x8_avg_c |
531 | 549 |
532 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); | 550 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); |
533 #define vp9_sad8x8x3 vp9_sad8x8x3_c | 551 #define vp9_sad8x8x3 vp9_sad8x8x3_c |
534 | 552 |
535 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); | 553 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); |
536 #define vp9_sad8x8x4d vp9_sad8x8x4d_c | 554 #define vp9_sad8x8x4d vp9_sad8x8x4d_c |
537 | 555 |
538 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | 556 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); |
539 #define vp9_sad8x8x8 vp9_sad8x8x8_c | 557 #define vp9_sad8x8x8 vp9_sad8x8x8_c |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 | 630 |
613 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); | 631 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); |
614 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c | 632 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
615 | 633 |
616 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); | 634 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); |
617 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c | 635 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c |
618 | 636 |
619 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); | 637 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); |
620 #define vp9_subtract_block vp9_subtract_block_c | 638 #define vp9_subtract_block vp9_subtract_block_c |
621 | 639 |
622 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); | 640 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); |
623 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c | 641 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
624 | 642 |
625 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 643 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
626 void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 644 void vp9_tm_predictor_16x16_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
627 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); | 645 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
628 | 646 |
629 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); | 647 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
630 void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 648 void vp9_tm_predictor_32x32_neon(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
631 RTCD_EXTERN void (*vp9_tm_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); | 649 RTCD_EXTERN void (*vp9_tm_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
632 | 650 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | 812 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
795 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; | 813 if (flags & HAS_NEON) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_neon; |
796 } | 814 } |
797 #endif | 815 #endif |
798 | 816 |
799 #ifdef __cplusplus | 817 #ifdef __cplusplus |
800 } // extern "C" | 818 } // extern "C" |
801 #endif | 819 #endif |
802 | 820 |
803 #endif | 821 #endif |
OLD | NEW |