OLD | NEW |
1 sub vpx_dsp_forward_decls() { | 1 sub vpx_dsp_forward_decls() { |
2 print <<EOF | 2 print <<EOF |
3 /* | 3 /* |
4 * DSP | 4 * DSP |
5 */ | 5 */ |
6 | 6 |
7 #include "vpx/vpx_integer.h" | 7 #include "vpx/vpx_integer.h" |
8 | 8 |
9 EOF | 9 EOF |
10 } | 10 } |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 385 |
386 add_proto qw/void vpx_highbd_sad4x8x4d/, "const uint8_t *src_ptr, int src_stri
de, const uint8_t* const ref_ptr[], int ref_stride, uint32_t *sad_array"; | 386 add_proto qw/void vpx_highbd_sad4x8x4d/, "const uint8_t *src_ptr, int src_stri
de, const uint8_t* const ref_ptr[], int ref_stride, uint32_t *sad_array"; |
387 specialize qw/vpx_highbd_sad4x8x4d/, "$sse2_x86inc"; | 387 specialize qw/vpx_highbd_sad4x8x4d/, "$sse2_x86inc"; |
388 | 388 |
389 add_proto qw/void vpx_highbd_sad4x4x4d/, "const uint8_t *src_ptr, int src_stri
de, const uint8_t* const ref_ptr[], int ref_stride, uint32_t *sad_array"; | 389 add_proto qw/void vpx_highbd_sad4x4x4d/, "const uint8_t *src_ptr, int src_stri
de, const uint8_t* const ref_ptr[], int ref_stride, uint32_t *sad_array"; |
390 specialize qw/vpx_highbd_sad4x4x4d/, "$sse2_x86inc"; | 390 specialize qw/vpx_highbd_sad4x4x4d/, "$sse2_x86inc"; |
391 | 391 |
392 } # CONFIG_VP9_HIGHBITDEPTH | 392 } # CONFIG_VP9_HIGHBITDEPTH |
393 } # CONFIG_ENCODERS | 393 } # CONFIG_ENCODERS |
394 | 394 |
| 395 if (vpx_config("CONFIG_ENCODERS") eq "yes" || vpx_config("CONFIG_POSTPROC") eq "
yes" || vpx_config("CONFIG_VP9_POSTPROC") eq "yes") { |
| 396 |
| 397 add_proto qw/unsigned int vpx_variance64x64/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 398 specialize qw/vpx_variance64x64 sse2 avx2 neon/; |
| 399 |
| 400 add_proto qw/unsigned int vpx_variance64x32/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 401 specialize qw/vpx_variance64x32 sse2 avx2 neon/; |
| 402 |
| 403 add_proto qw/unsigned int vpx_variance32x64/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 404 specialize qw/vpx_variance32x64 sse2 neon/; |
| 405 |
| 406 add_proto qw/unsigned int vpx_variance32x32/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 407 specialize qw/vpx_variance32x32 sse2 avx2 neon/; |
| 408 |
| 409 add_proto qw/unsigned int vpx_variance32x16/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 410 specialize qw/vpx_variance32x16 sse2 avx2/; |
| 411 |
| 412 add_proto qw/unsigned int vpx_variance16x32/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 413 specialize qw/vpx_variance16x32 sse2/; |
| 414 |
| 415 add_proto qw/unsigned int vpx_variance16x16/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 416 specialize qw/vpx_variance16x16 mmx sse2 avx2 media neon/; |
| 417 |
| 418 add_proto qw/unsigned int vpx_variance16x8/, "const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 419 specialize qw/vpx_variance16x8 mmx sse2 neon/; |
| 420 |
| 421 add_proto qw/unsigned int vpx_variance8x16/, "const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 422 specialize qw/vpx_variance8x16 mmx sse2 neon/; |
| 423 |
| 424 add_proto qw/unsigned int vpx_variance8x8/, "const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 425 specialize qw/vpx_variance8x8 mmx sse2 media neon/; |
| 426 |
| 427 add_proto qw/unsigned int vpx_variance8x4/, "const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 428 specialize qw/vpx_variance8x4 sse2/; |
| 429 |
| 430 add_proto qw/unsigned int vpx_variance4x8/, "const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 431 specialize qw/vpx_variance4x8 sse2/; |
| 432 |
| 433 add_proto qw/unsigned int vpx_variance4x4/, "const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 434 specialize qw/vpx_variance4x4 mmx sse2/; |
| 435 |
| 436 |
| 437 add_proto qw/void vpx_get16x16var/, "const uint8_t *src_ptr, int source_stride,
const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"; |
| 438 specialize qw/vpx_get16x16var sse2 avx2 neon/; |
| 439 |
| 440 add_proto qw/void vpx_get8x8var/, "const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"; |
| 441 specialize qw/vpx_get8x8var mmx sse2 neon/; |
| 442 |
| 443 add_proto qw/unsigned int vpx_mse16x16/, "const uint8_t *src_ptr, int source_st
ride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 444 specialize qw/vpx_mse16x16 mmx sse2 avx2 media neon/; |
| 445 |
| 446 add_proto qw/unsigned int vpx_mse16x8/, "const uint8_t *src_ptr, int source_str
ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 447 specialize qw/vpx_mse16x8 sse2/; |
| 448 |
| 449 add_proto qw/unsigned int vpx_mse8x16/, "const uint8_t *src_ptr, int source_str
ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 450 specialize qw/vpx_mse8x16 sse2/; |
| 451 |
| 452 add_proto qw/unsigned int vpx_mse8x8/, "const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 453 specialize qw/vpx_mse8x8 sse2/; |
| 454 |
| 455 add_proto qw/unsigned int vpx_get_mb_ss/, "const int16_t *"; |
| 456 specialize qw/vpx_get_mb_ss mmx sse2/; |
| 457 |
| 458 add_proto qw/unsigned int vpx_get4x4sse_cs/, "const unsigned char *src_ptr, int
source_stride, const unsigned char *ref_ptr, int ref_stride"; |
| 459 specialize qw/vpx_get4x4sse_cs neon/; |
| 460 |
| 461 add_proto qw/void vpx_comp_avg_pred/, "uint8_t *comp_pred, const uint8_t *pred,
int width, int height, const uint8_t *ref, int ref_stride"; |
| 462 |
| 463 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") { |
| 464 add_proto qw/unsigned int vpx_highbd_12_variance64x64/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 465 specialize qw/vpx_highbd_12_variance64x64 sse2/; |
| 466 |
| 467 add_proto qw/unsigned int vpx_highbd_12_variance64x32/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 468 specialize qw/vpx_highbd_12_variance64x32 sse2/; |
| 469 |
| 470 add_proto qw/unsigned int vpx_highbd_12_variance32x64/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 471 specialize qw/vpx_highbd_12_variance32x64 sse2/; |
| 472 |
| 473 add_proto qw/unsigned int vpx_highbd_12_variance32x32/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 474 specialize qw/vpx_highbd_12_variance32x32 sse2/; |
| 475 |
| 476 add_proto qw/unsigned int vpx_highbd_12_variance32x16/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 477 specialize qw/vpx_highbd_12_variance32x16 sse2/; |
| 478 |
| 479 add_proto qw/unsigned int vpx_highbd_12_variance16x32/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 480 specialize qw/vpx_highbd_12_variance16x32 sse2/; |
| 481 |
| 482 add_proto qw/unsigned int vpx_highbd_12_variance16x16/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 483 specialize qw/vpx_highbd_12_variance16x16 sse2/; |
| 484 |
| 485 add_proto qw/unsigned int vpx_highbd_12_variance16x8/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 486 specialize qw/vpx_highbd_12_variance16x8 sse2/; |
| 487 |
| 488 add_proto qw/unsigned int vpx_highbd_12_variance8x16/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 489 specialize qw/vpx_highbd_12_variance8x16 sse2/; |
| 490 |
| 491 add_proto qw/unsigned int vpx_highbd_12_variance8x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 492 specialize qw/vpx_highbd_12_variance8x8 sse2/; |
| 493 |
| 494 add_proto qw/unsigned int vpx_highbd_12_variance8x4/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 495 add_proto qw/unsigned int vpx_highbd_12_variance4x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 496 add_proto qw/unsigned int vpx_highbd_12_variance4x4/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 497 |
| 498 add_proto qw/unsigned int vpx_highbd_10_variance64x64/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 499 specialize qw/vpx_highbd_10_variance64x64 sse2/; |
| 500 |
| 501 add_proto qw/unsigned int vpx_highbd_10_variance64x32/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 502 specialize qw/vpx_highbd_10_variance64x32 sse2/; |
| 503 |
| 504 add_proto qw/unsigned int vpx_highbd_10_variance32x64/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 505 specialize qw/vpx_highbd_10_variance32x64 sse2/; |
| 506 |
| 507 add_proto qw/unsigned int vpx_highbd_10_variance32x32/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 508 specialize qw/vpx_highbd_10_variance32x32 sse2/; |
| 509 |
| 510 add_proto qw/unsigned int vpx_highbd_10_variance32x16/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 511 specialize qw/vpx_highbd_10_variance32x16 sse2/; |
| 512 |
| 513 add_proto qw/unsigned int vpx_highbd_10_variance16x32/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 514 specialize qw/vpx_highbd_10_variance16x32 sse2/; |
| 515 |
| 516 add_proto qw/unsigned int vpx_highbd_10_variance16x16/, "const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"
; |
| 517 specialize qw/vpx_highbd_10_variance16x16 sse2/; |
| 518 |
| 519 add_proto qw/unsigned int vpx_highbd_10_variance16x8/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 520 specialize qw/vpx_highbd_10_variance16x8 sse2/; |
| 521 |
| 522 add_proto qw/unsigned int vpx_highbd_10_variance8x16/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 523 specialize qw/vpx_highbd_10_variance8x16 sse2/; |
| 524 |
| 525 add_proto qw/unsigned int vpx_highbd_10_variance8x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 526 specialize qw/vpx_highbd_10_variance8x8 sse2/; |
| 527 |
| 528 add_proto qw/unsigned int vpx_highbd_10_variance8x4/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 529 add_proto qw/unsigned int vpx_highbd_10_variance4x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 530 add_proto qw/unsigned int vpx_highbd_10_variance4x4/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 531 |
| 532 add_proto qw/unsigned int vpx_highbd_8_variance64x64/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 533 specialize qw/vpx_highbd_8_variance64x64 sse2/; |
| 534 |
| 535 add_proto qw/unsigned int vpx_highbd_8_variance64x32/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 536 specialize qw/vpx_highbd_8_variance64x32 sse2/; |
| 537 |
| 538 add_proto qw/unsigned int vpx_highbd_8_variance32x64/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 539 specialize qw/vpx_highbd_8_variance32x64 sse2/; |
| 540 |
| 541 add_proto qw/unsigned int vpx_highbd_8_variance32x32/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 542 specialize qw/vpx_highbd_8_variance32x32 sse2/; |
| 543 |
| 544 add_proto qw/unsigned int vpx_highbd_8_variance32x16/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 545 specialize qw/vpx_highbd_8_variance32x16 sse2/; |
| 546 |
| 547 add_proto qw/unsigned int vpx_highbd_8_variance16x32/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 548 specialize qw/vpx_highbd_8_variance16x32 sse2/; |
| 549 |
| 550 add_proto qw/unsigned int vpx_highbd_8_variance16x16/, "const uint8_t *src_ptr
, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 551 specialize qw/vpx_highbd_8_variance16x16 sse2/; |
| 552 |
| 553 add_proto qw/unsigned int vpx_highbd_8_variance16x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 554 specialize qw/vpx_highbd_8_variance16x8 sse2/; |
| 555 |
| 556 add_proto qw/unsigned int vpx_highbd_8_variance8x16/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 557 specialize qw/vpx_highbd_8_variance8x16 sse2/; |
| 558 |
| 559 add_proto qw/unsigned int vpx_highbd_8_variance8x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 560 specialize qw/vpx_highbd_8_variance8x8 sse2/; |
| 561 |
| 562 add_proto qw/unsigned int vpx_highbd_8_variance8x4/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 563 add_proto qw/unsigned int vpx_highbd_8_variance4x8/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 564 add_proto qw/unsigned int vpx_highbd_8_variance4x4/, "const uint8_t *src_ptr,
int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; |
| 565 |
| 566 add_proto qw/void vpx_highbd_8_get16x16var/, "const uint8_t *src_ptr, int sour
ce_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"; |
| 567 add_proto qw/void vpx_highbd_8_get8x8var/, "const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"; |
| 568 |
| 569 add_proto qw/void vpx_highbd_10_get16x16var/, "const uint8_t *src_ptr, int sou
rce_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"
; |
| 570 add_proto qw/void vpx_highbd_10_get8x8var/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"; |
| 571 |
| 572 add_proto qw/void vpx_highbd_12_get16x16var/, "const uint8_t *src_ptr, int sou
rce_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"
; |
| 573 add_proto qw/void vpx_highbd_12_get8x8var/, "const uint8_t *src_ptr, int sourc
e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum"; |
| 574 |
| 575 add_proto qw/unsigned int vpx_highbd_8_mse16x16/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 576 specialize qw/vpx_highbd_8_mse16x16 sse2/; |
| 577 |
| 578 add_proto qw/unsigned int vpx_highbd_8_mse16x8/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 579 add_proto qw/unsigned int vpx_highbd_8_mse8x16/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 580 add_proto qw/unsigned int vpx_highbd_8_mse8x8/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 581 specialize qw/vpx_highbd_8_mse8x8 sse2/; |
| 582 |
| 583 add_proto qw/unsigned int vpx_highbd_10_mse16x16/, "const uint8_t *src_ptr, in
t source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 584 specialize qw/vpx_highbd_10_mse16x16 sse2/; |
| 585 |
| 586 add_proto qw/unsigned int vpx_highbd_10_mse16x8/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 587 add_proto qw/unsigned int vpx_highbd_10_mse8x16/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 588 add_proto qw/unsigned int vpx_highbd_10_mse8x8/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 589 specialize qw/vpx_highbd_10_mse8x8 sse2/; |
| 590 |
| 591 add_proto qw/unsigned int vpx_highbd_12_mse16x16/, "const uint8_t *src_ptr, in
t source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 592 specialize qw/vpx_highbd_12_mse16x16 sse2/; |
| 593 |
| 594 add_proto qw/unsigned int vpx_highbd_12_mse16x8/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 595 add_proto qw/unsigned int vpx_highbd_12_mse8x16/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 596 add_proto qw/unsigned int vpx_highbd_12_mse8x8/, "const uint8_t *src_ptr, int
source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; |
| 597 specialize qw/vpx_highbd_12_mse8x8 sse2/; |
| 598 |
| 599 add_proto qw/void vpx_highbd_comp_avg_pred/, "uint16_t *comp_pred, const uint8
_t *pred8, int width, int height, const uint8_t *ref8, int ref_stride"; |
| 600 } # CONFIG_VP9_HIGHBITDEPTH |
| 601 } # CONFIG_ENCODERS || CONFIG_POSTPROC || CONFIG_VP9_POSTPROC |
| 602 |
395 1; | 603 1; |
OLD | NEW |