| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 | 336 |
| 337 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 337 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); |
| 338 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c | 338 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
| 339 | 339 |
| 340 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 340 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 341 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 341 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 342 | 342 |
| 343 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 343 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 344 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 344 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 345 | 345 |
| 346 unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 347 #define vp9_variance32x16 vp9_variance32x16_c | |
| 348 | |
| 349 unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 350 #define vp9_variance16x32 vp9_variance16x32_c | |
| 351 | |
| 352 unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 353 #define vp9_variance64x32 vp9_variance64x32_c | |
| 354 | |
| 355 unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 356 #define vp9_variance32x64 vp9_variance32x64_c | |
| 357 | |
| 358 unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 359 #define vp9_variance32x32 vp9_variance32x32_c | |
| 360 | |
| 361 unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 362 #define vp9_variance64x64 vp9_variance64x64_c | |
| 363 | |
| 364 unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 365 #define vp9_variance16x16 vp9_variance16x16_c | |
| 366 | |
| 367 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 368 #define vp9_variance16x8 vp9_variance16x8_c | |
| 369 | |
| 370 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 371 #define vp9_variance8x16 vp9_variance8x16_c | |
| 372 | |
| 373 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 374 #define vp9_variance8x8 vp9_variance8x8_c | |
| 375 | |
| 376 void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 377 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c | |
| 378 | |
| 379 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 380 #define vp9_variance8x4 vp9_variance8x4_c | |
| 381 | |
| 382 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 383 #define vp9_variance4x8 vp9_variance4x8_c | |
| 384 | |
| 385 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 386 #define vp9_variance4x4 vp9_variance4x4_c | |
| 387 | |
| 388 unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 389 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c | |
| 390 | |
| 391 unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 392 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c | |
| 393 | |
| 394 unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 395 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c | |
| 396 | |
| 397 unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 398 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c | |
| 399 | |
| 400 unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 401 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c | |
| 402 | |
| 403 unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 404 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c | |
| 405 | |
| 406 unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 407 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c | |
| 408 | |
| 409 unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 410 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c | |
| 411 | |
| 412 unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 413 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c | |
| 414 | |
| 415 unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 416 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c | |
| 417 | |
| 418 unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 419 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c | |
| 420 | |
| 421 unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 422 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c | |
| 423 | |
| 424 unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 425 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c | |
| 426 | |
| 427 unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 428 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c | |
| 429 | |
| 430 unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); | |
| 431 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c | |
| 432 | |
| 433 unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse, const uint8_t *second_pred); | |
| 434 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c | |
| 435 | |
| 436 unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_str
ide, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); | |
| 437 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c | |
| 438 | |
| 439 unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse, const uint8_t *second_pred); | |
| 440 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c | |
| 441 | |
| 442 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); | |
| 443 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c | |
| 444 | |
| 445 unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse, const uint8_t *second_pred); | |
| 446 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c | |
| 447 | |
| 448 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); | |
| 449 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c | |
| 450 | |
| 451 unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse, const uint8_t *second_pred); | |
| 452 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c | |
| 453 | |
| 454 unsigned int vp9_sub_pixel_variance4x8_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); | |
| 455 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c | |
| 456 | |
| 457 unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse, const uint8_t *second_pred); | |
| 458 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c | |
| 459 | |
| 460 unsigned int vp9_sub_pixel_variance4x4_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); | |
| 461 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c | |
| 462 | |
| 463 unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse, const uint8_t *second_pred); | |
| 464 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c | |
| 465 | |
| 466 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); | |
| 467 #define vp9_sad64x64 vp9_sad64x64_c | |
| 468 | |
| 469 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); | |
| 470 #define vp9_sad32x64 vp9_sad32x64_c | |
| 471 | |
| 472 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); | |
| 473 #define vp9_sad64x32 vp9_sad64x32_c | |
| 474 | |
| 475 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); | |
| 476 #define vp9_sad32x16 vp9_sad32x16_c | |
| 477 | |
| 478 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); | |
| 479 #define vp9_sad16x32 vp9_sad16x32_c | |
| 480 | |
| 481 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); | |
| 482 #define vp9_sad32x32 vp9_sad32x32_c | |
| 483 | |
| 484 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); | |
| 485 #define vp9_sad16x16 vp9_sad16x16_c | |
| 486 | |
| 487 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); | |
| 488 #define vp9_sad16x8 vp9_sad16x8_c | |
| 489 | |
| 490 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); | |
| 491 #define vp9_sad8x16 vp9_sad8x16_c | |
| 492 | |
| 493 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); | |
| 494 #define vp9_sad8x8 vp9_sad8x8_c | |
| 495 | |
| 496 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); | |
| 497 #define vp9_sad8x4 vp9_sad8x4_c | |
| 498 | |
| 499 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); | |
| 500 #define vp9_sad4x8 vp9_sad4x8_c | |
| 501 | |
| 502 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); | |
| 503 #define vp9_sad4x4 vp9_sad4x4_c | |
| 504 | |
| 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, unsigned int max
_sad); | |
| 506 #define vp9_sad64x64_avg vp9_sad64x64_avg_c | |
| 507 | |
| 508 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); | |
| 509 #define vp9_sad32x64_avg vp9_sad32x64_avg_c | |
| 510 | |
| 511 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); | |
| 512 #define vp9_sad64x32_avg vp9_sad64x32_avg_c | |
| 513 | |
| 514 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); | |
| 515 #define vp9_sad32x16_avg vp9_sad32x16_avg_c | |
| 516 | |
| 517 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); | |
| 518 #define vp9_sad16x32_avg vp9_sad16x32_avg_c | |
| 519 | |
| 520 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); | |
| 521 #define vp9_sad32x32_avg vp9_sad32x32_avg_c | |
| 522 | |
| 523 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); | |
| 524 #define vp9_sad16x16_avg vp9_sad16x16_avg_c | |
| 525 | |
| 526 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); | |
| 527 #define vp9_sad16x8_avg vp9_sad16x8_avg_c | |
| 528 | |
| 529 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); | |
| 530 #define vp9_sad8x16_avg vp9_sad8x16_avg_c | |
| 531 | |
| 532 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); | |
| 533 #define vp9_sad8x8_avg vp9_sad8x8_avg_c | |
| 534 | |
| 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, unsigned int max_sa
d); | |
| 536 #define vp9_sad8x4_avg vp9_sad8x4_avg_c | |
| 537 | |
| 538 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); | |
| 539 #define vp9_sad4x8_avg vp9_sad4x8_avg_c | |
| 540 | |
| 541 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); | |
| 542 #define vp9_sad4x4_avg vp9_sad4x4_avg_c | |
| 543 | |
| 544 unsigned int vp9_variance_halfpixvar16x16_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 545 #define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c | |
| 546 | |
| 547 unsigned int vp9_variance_halfpixvar16x16_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 548 #define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c | |
| 549 | |
| 550 unsigned int vp9_variance_halfpixvar16x16_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 551 #define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c | |
| 552 | |
| 553 unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 554 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c | |
| 555 | |
| 556 unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 557 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c | |
| 558 | |
| 559 unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 560 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c | |
| 561 | |
| 562 unsigned int vp9_variance_halfpixvar32x32_h_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 563 #define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c | |
| 564 | |
| 565 unsigned int vp9_variance_halfpixvar32x32_v_c(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 566 #define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c | |
| 567 | |
| 568 unsigned int vp9_variance_halfpixvar32x32_hv_c(const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 569 #define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c | |
| 570 | |
| 571 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 572 #define vp9_sad64x64x3 vp9_sad64x64x3_c | |
| 573 | |
| 574 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 575 #define vp9_sad32x32x3 vp9_sad32x32x3_c | |
| 576 | |
| 577 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 578 #define vp9_sad16x16x3 vp9_sad16x16x3_c | |
| 579 | |
| 580 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); | |
| 581 #define vp9_sad16x8x3 vp9_sad16x8x3_c | |
| 582 | |
| 583 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); | |
| 584 #define vp9_sad8x16x3 vp9_sad8x16x3_c | |
| 585 | |
| 586 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); | |
| 587 #define vp9_sad8x8x3 vp9_sad8x8x3_c | |
| 588 | |
| 589 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); | |
| 590 #define vp9_sad4x4x3 vp9_sad4x4x3_c | |
| 591 | |
| 592 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); | |
| 593 #define vp9_sad64x64x8 vp9_sad64x64x8_c | |
| 594 | |
| 595 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); | |
| 596 #define vp9_sad32x32x8 vp9_sad32x32x8_c | |
| 597 | |
| 598 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); | |
| 599 #define vp9_sad16x16x8 vp9_sad16x16x8_c | |
| 600 | |
| 601 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 602 #define vp9_sad16x8x8 vp9_sad16x8x8_c | |
| 603 | |
| 604 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 605 #define vp9_sad8x16x8 vp9_sad8x16x8_c | |
| 606 | |
| 607 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 608 #define vp9_sad8x8x8 vp9_sad8x8x8_c | |
| 609 | |
| 610 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); | |
| 611 #define vp9_sad8x4x8 vp9_sad8x4x8_c | |
| 612 | |
| 613 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); | |
| 614 #define vp9_sad4x8x8 vp9_sad4x8x8_c | |
| 615 | |
| 616 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 617 #define vp9_sad4x4x8 vp9_sad4x4x8_c | |
| 618 | |
| 619 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); | |
| 620 #define vp9_sad64x64x4d vp9_sad64x64x4d_c | |
| 621 | |
| 622 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); | |
| 623 #define vp9_sad32x64x4d vp9_sad32x64x4d_c | |
| 624 | |
| 625 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); | |
| 626 #define vp9_sad64x32x4d vp9_sad64x32x4d_c | |
| 627 | |
| 628 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); | |
| 629 #define vp9_sad32x16x4d vp9_sad32x16x4d_c | |
| 630 | |
| 631 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); | |
| 632 #define vp9_sad16x32x4d vp9_sad16x32x4d_c | |
| 633 | |
| 634 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); | |
| 635 #define vp9_sad32x32x4d vp9_sad32x32x4d_c | |
| 636 | |
| 637 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); | |
| 638 #define vp9_sad16x16x4d vp9_sad16x16x4d_c | |
| 639 | |
| 640 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); | |
| 641 #define vp9_sad16x8x4d vp9_sad16x8x4d_c | |
| 642 | |
| 643 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); | |
| 644 #define vp9_sad8x16x4d vp9_sad8x16x4d_c | |
| 645 | |
| 646 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); | |
| 647 #define vp9_sad8x8x4d vp9_sad8x8x4d_c | |
| 648 | |
| 649 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); | |
| 650 #define vp9_sad8x4x4d vp9_sad8x4x4d_c | |
| 651 | |
| 652 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); | |
| 653 #define vp9_sad4x8x4d vp9_sad4x8x4d_c | |
| 654 | |
| 655 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); | |
| 656 #define vp9_sad4x4x4d vp9_sad4x4x4d_c | |
| 657 | |
| 658 unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 659 #define vp9_mse16x16 vp9_mse16x16_c | |
| 660 | |
| 661 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 662 #define vp9_mse8x16 vp9_mse8x16_c | |
| 663 | |
| 664 unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 665 #define vp9_mse16x8 vp9_mse16x8_c | |
| 666 | |
| 667 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 668 #define vp9_mse8x8 vp9_mse8x8_c | |
| 669 | |
| 670 unsigned int vp9_sub_pixel_mse64x64_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); | |
| 671 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c | |
| 672 | |
| 673 unsigned int vp9_sub_pixel_mse32x32_c(const uint8_t *src_ptr, int source_stride
, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned i
nt *sse); | |
| 674 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c | |
| 675 | |
| 676 unsigned int vp9_get_mb_ss_c(const int16_t *); | |
| 677 #define vp9_get_mb_ss vp9_get_mb_ss_c | |
| 678 | |
| 679 int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size,
int64_t *ssz); | |
| 680 #define vp9_block_error vp9_block_error_c | |
| 681 | |
| 682 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); | |
| 683 #define vp9_subtract_block vp9_subtract_block_c | |
| 684 | |
| 685 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); | |
| 686 #define vp9_quantize_b vp9_quantize_b_c | |
| 687 | |
| 688 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); | |
| 689 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | |
| 690 | |
| 691 void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int t
x_type); | |
| 692 #define vp9_short_fht4x4 vp9_short_fht4x4_c | |
| 693 | |
| 694 void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int t
x_type); | |
| 695 #define vp9_short_fht8x8 vp9_short_fht8x8_c | |
| 696 | |
| 697 void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int
tx_type); | |
| 698 #define vp9_short_fht16x16 vp9_short_fht16x16_c | |
| 699 | |
| 700 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | |
| 701 #define vp9_fwht4x4 vp9_fwht4x4_c | |
| 702 | |
| 703 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | |
| 704 #define vp9_fdct4x4 vp9_fdct4x4_c | |
| 705 | |
| 706 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | |
| 707 #define vp9_fdct8x8 vp9_fdct8x8_c | |
| 708 | |
| 709 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | |
| 710 #define vp9_fdct16x16 vp9_fdct16x16_c | |
| 711 | |
| 712 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | |
| 713 #define vp9_fdct32x32 vp9_fdct32x32_c | |
| 714 | |
| 715 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | |
| 716 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c | |
| 717 | |
| 718 int vp9_full_search_sad_c(struct macroblock *x, struct mv *ref_mv, int sad_per_b
it, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct
mv *center_mv, int n); | |
| 719 #define vp9_full_search_sad vp9_full_search_sad_c | |
| 720 | |
| 721 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, con
st struct mv *center_mv); | |
| 722 #define vp9_refining_search_sad vp9_refining_search_sad_c | |
| 723 | |
| 724 int vp9_diamond_search_sad_c(struct macroblock *x, struct mv *ref_mv, struct mv
*best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vta
ble *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | |
| 725 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | |
| 726 | |
| 727 int vp9_full_range_search_c(struct macroblock *x, struct mv *ref_mv, struct mv *
best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vtab
le *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | |
| 728 #define vp9_full_range_search vp9_full_range_search_c | |
| 729 | |
| 730 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); | |
| 731 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c | |
| 732 | |
| 733 void vp9_rtcd(void); | 346 void vp9_rtcd(void); |
| 734 #include "vpx_config.h" | 347 #include "vpx_config.h" |
| 735 | 348 |
| 736 #ifdef RTCD_C | 349 #ifdef RTCD_C |
| 737 #include "vpx_ports/arm.h" | 350 #include "vpx_ports/arm.h" |
| 738 static void setup_rtcd_internal(void) | 351 static void setup_rtcd_internal(void) |
| 739 { | 352 { |
| 740 int flags = arm_cpu_caps(); | 353 int flags = arm_cpu_caps(); |
| 741 | 354 |
| 742 (void)flags; | 355 (void)flags; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; | 529 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
| 917 if (flags & HAS_NEON) vp9_iht8x8_64_add = vp9_iht8x8_64_add_neon; | 530 if (flags & HAS_NEON) vp9_iht8x8_64_add = vp9_iht8x8_64_add_neon; |
| 918 } | 531 } |
| 919 #endif | 532 #endif |
| 920 | 533 |
| 921 #ifdef __cplusplus | 534 #ifdef __cplusplus |
| 922 } // extern "C" | 535 } // extern "C" |
| 923 #endif | 536 #endif |
| 924 | 537 |
| 925 #endif | 538 #endif |
| OLD | NEW |