| 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 /* | 10 /* |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
| 27 | 27 |
| 28 #ifdef __cplusplus | 28 #ifdef __cplusplus |
| 29 extern "C" { | 29 extern "C" { |
| 30 #endif | 30 #endif |
| 31 | 31 |
| 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); | 32 unsigned int vp9_avg_4x4_c(const uint8_t *, int p); |
| 33 #define vp9_avg_4x4 vp9_avg_4x4_c | 33 #define vp9_avg_4x4 vp9_avg_4x4_c |
| 34 | 34 |
| 35 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); | 35 unsigned int vp9_avg_8x8_c(const uint8_t *, int p); |
| 36 #define vp9_avg_8x8 vp9_avg_8x8_c | 36 unsigned int vp9_avg_8x8_neon(const uint8_t *, int p); |
| 37 #define vp9_avg_8x8 vp9_avg_8x8_neon |
| 37 | 38 |
| 38 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); | 39 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
| 39 #define vp9_block_error vp9_block_error_c | 40 #define vp9_block_error vp9_block_error_c |
| 40 | 41 |
| 41 void vp9_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); | 42 void vp9_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); |
| 42 void vp9_convolve8_neon(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); | 43 void vp9_convolve8_neon(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); |
| 43 #define vp9_convolve8 vp9_convolve8_neon | 44 #define vp9_convolve8 vp9_convolve8_neon |
| 44 | 45 |
| 45 void vp9_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); | 46 void vp9_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); |
| 46 void vp9_convolve8_avg_neon(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); | 47 void vp9_convolve8_avg_neon(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); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 220 |
| 220 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); | 221 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
| 221 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); | 222 void vp9_fdct8x8_neon(const int16_t *input, tran_low_t *output, int stride); |
| 222 #define vp9_fdct8x8 vp9_fdct8x8_neon | 223 #define vp9_fdct8x8 vp9_fdct8x8_neon |
| 223 | 224 |
| 224 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); | 225 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
| 225 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); | 226 void vp9_fdct8x8_1_neon(const int16_t *input, tran_low_t *output, int stride); |
| 226 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon | 227 #define vp9_fdct8x8_1 vp9_fdct8x8_1_neon |
| 227 | 228 |
| 228 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan); | 229 void vp9_fdct8x8_quant_c(const int16_t *input, int stride, tran_low_t *coeff_ptr
, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *rou
nd_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qc
oeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_ptr
, const int16_t *scan, const int16_t *iscan); |
| 229 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_c | 230 void vp9_fdct8x8_quant_neon(const int16_t *input, int stride, tran_low_t *coeff_
ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *
round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t
*qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, uint16_t *eob_
ptr, const int16_t *scan, const int16_t *iscan); |
| 231 #define vp9_fdct8x8_quant vp9_fdct8x8_quant_neon |
| 230 | 232 |
| 231 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); | 233 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
| 232 #define vp9_fht16x16 vp9_fht16x16_c | 234 #define vp9_fht16x16 vp9_fht16x16_c |
| 233 | 235 |
| 234 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 236 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 235 #define vp9_fht4x4 vp9_fht4x4_c | 237 #define vp9_fht4x4 vp9_fht4x4_c |
| 236 | 238 |
| 237 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); | 239 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
| 238 #define vp9_fht8x8 vp9_fht8x8_c | 240 #define vp9_fht8x8 vp9_fht8x8_c |
| 239 | 241 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c | 322 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 321 | 323 |
| 322 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 324 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 323 void vp9_iht4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); | 325 void vp9_iht4x4_16_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 324 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon | 326 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_neon |
| 325 | 327 |
| 326 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 328 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
| 327 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); | 329 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
| 328 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon | 330 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_neon |
| 329 | 331 |
| 332 int16_t vp9_int_pro_col_c(uint8_t const *ref, const int width); |
| 333 #define vp9_int_pro_col vp9_int_pro_col_c |
| 334 |
| 335 void vp9_int_pro_row_c(int16_t *hbuf, uint8_t const *ref, const int ref_stride,
const int height); |
| 336 #define vp9_int_pro_row vp9_int_pro_row_c |
| 337 |
| 330 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); | 338 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
| 331 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 339 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 332 | 340 |
| 333 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); | 341 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
| 334 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 342 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 335 | 343 |
| 336 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 344 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| 337 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c | 345 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_c |
| 338 | 346 |
| 339 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 347 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 407 unsigned int vp9_sad16x16_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 400 #define vp9_sad16x16 vp9_sad16x16_neon | 408 #define vp9_sad16x16 vp9_sad16x16_neon |
| 401 | 409 |
| 402 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); | 410 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); |
| 403 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | 411 #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
| 404 | 412 |
| 405 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 413 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 406 #define vp9_sad16x16x3 vp9_sad16x16x3_c | 414 #define vp9_sad16x16x3 vp9_sad16x16x3_c |
| 407 | 415 |
| 408 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); | 416 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); |
| 409 #define vp9_sad16x16x4d vp9_sad16x16x4d_c | 417 void vp9_sad16x16x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 418 #define vp9_sad16x16x4d vp9_sad16x16x4d_neon |
| 410 | 419 |
| 411 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); | 420 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); |
| 412 #define vp9_sad16x16x8 vp9_sad16x16x8_c | 421 #define vp9_sad16x16x8 vp9_sad16x16x8_c |
| 413 | 422 |
| 414 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 423 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 415 #define vp9_sad16x32 vp9_sad16x32_c | 424 #define vp9_sad16x32 vp9_sad16x32_c |
| 416 | 425 |
| 417 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); | 426 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); |
| 418 #define vp9_sad16x32_avg vp9_sad16x32_avg_c | 427 #define vp9_sad16x32_avg vp9_sad16x32_avg_c |
| 419 | 428 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 448 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 457 unsigned int vp9_sad32x32_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 449 #define vp9_sad32x32 vp9_sad32x32_neon | 458 #define vp9_sad32x32 vp9_sad32x32_neon |
| 450 | 459 |
| 451 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); | 460 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); |
| 452 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | 461 #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
| 453 | 462 |
| 454 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 463 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 455 #define vp9_sad32x32x3 vp9_sad32x32x3_c | 464 #define vp9_sad32x32x3 vp9_sad32x32x3_c |
| 456 | 465 |
| 457 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); | 466 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); |
| 458 #define vp9_sad32x32x4d vp9_sad32x32x4d_c | 467 void vp9_sad32x32x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 468 #define vp9_sad32x32x4d vp9_sad32x32x4d_neon |
| 459 | 469 |
| 460 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); | 470 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); |
| 461 #define vp9_sad32x32x8 vp9_sad32x32x8_c | 471 #define vp9_sad32x32x8 vp9_sad32x32x8_c |
| 462 | 472 |
| 463 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 473 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
| 464 #define vp9_sad32x64 vp9_sad32x64_c | 474 #define vp9_sad32x64 vp9_sad32x64_c |
| 465 | 475 |
| 466 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); | 476 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); |
| 467 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | 477 #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
| 468 | 478 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 519 unsigned int vp9_sad64x64_neon(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
| 510 #define vp9_sad64x64 vp9_sad64x64_neon | 520 #define vp9_sad64x64 vp9_sad64x64_neon |
| 511 | 521 |
| 512 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); | 522 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); |
| 513 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | 523 #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
| 514 | 524 |
| 515 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | 525 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); |
| 516 #define vp9_sad64x64x3 vp9_sad64x64x3_c | 526 #define vp9_sad64x64x3 vp9_sad64x64x3_c |
| 517 | 527 |
| 518 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); | 528 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); |
| 519 #define vp9_sad64x64x4d vp9_sad64x64x4d_c | 529 void vp9_sad64x64x4d_neon(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
| 530 #define vp9_sad64x64x4d vp9_sad64x64x4d_neon |
| 520 | 531 |
| 521 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); | 532 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); |
| 522 #define vp9_sad64x64x8 vp9_sad64x64x8_c | 533 #define vp9_sad64x64x8 vp9_sad64x64x8_c |
| 523 | 534 |
| 524 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); | 535 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride); |
| 525 #define vp9_sad8x16 vp9_sad8x16_c | 536 #define vp9_sad8x16 vp9_sad8x16_c |
| 526 | 537 |
| 527 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); | 538 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); |
| 528 #define vp9_sad8x16_avg vp9_sad8x16_avg_c | 539 #define vp9_sad8x16_avg vp9_sad8x16_avg_c |
| 529 | 540 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 734 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 724 #define vp9_variance8x16 vp9_variance8x16_c | 735 #define vp9_variance8x16 vp9_variance8x16_c |
| 725 | 736 |
| 726 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 737 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 727 #define vp9_variance8x4 vp9_variance8x4_c | 738 #define vp9_variance8x4 vp9_variance8x4_c |
| 728 | 739 |
| 729 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 740 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 730 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | 741 unsigned int vp9_variance8x8_neon(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
| 731 #define vp9_variance8x8 vp9_variance8x8_neon | 742 #define vp9_variance8x8 vp9_variance8x8_neon |
| 732 | 743 |
| 744 int vp9_vector_sad_c(int16_t const *ref, int16_t const *src, const int width); |
| 745 #define vp9_vector_sad vp9_vector_sad_c |
| 746 |
| 733 void vp9_rtcd(void); | 747 void vp9_rtcd(void); |
| 734 | 748 |
| 735 #include "vpx_config.h" | 749 #include "vpx_config.h" |
| 736 | 750 |
| 737 #ifdef RTCD_C | 751 #ifdef RTCD_C |
| 738 #include "vpx_ports/arm.h" | 752 #include "vpx_ports/arm.h" |
| 739 static void setup_rtcd_internal(void) | 753 static void setup_rtcd_internal(void) |
| 740 { | 754 { |
| 741 int flags = arm_cpu_caps(); | 755 int flags = arm_cpu_caps(); |
| 742 | 756 |
| 743 (void)flags; | 757 (void)flags; |
| 744 | 758 |
| 745 } | 759 } |
| 746 #endif | 760 #endif |
| 747 | 761 |
| 748 #ifdef __cplusplus | 762 #ifdef __cplusplus |
| 749 } // extern "C" | 763 } // extern "C" |
| 750 #endif | 764 #endif |
| 751 | 765 |
| 752 #endif | 766 #endif |
| OLD | NEW |