| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 362 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); |
| 363 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch,
int tx_type); | 363 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch,
int tx_type); |
| 364 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2 | 364 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2 |
| 365 | 365 |
| 366 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 366 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 367 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 367 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 368 | 368 |
| 369 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 369 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 370 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 370 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 371 | 371 |
| 372 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); | |
| 373 unsigned int vp9_variance32x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 374 #define vp9_variance32x16 vp9_variance32x16_sse2 | |
| 375 | |
| 376 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); | |
| 377 unsigned int vp9_variance16x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 378 #define vp9_variance16x32 vp9_variance16x32_sse2 | |
| 379 | |
| 380 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); | |
| 381 unsigned int vp9_variance64x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 382 #define vp9_variance64x32 vp9_variance64x32_sse2 | |
| 383 | |
| 384 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); | |
| 385 unsigned int vp9_variance32x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 386 #define vp9_variance32x64 vp9_variance32x64_sse2 | |
| 387 | |
| 388 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); | |
| 389 unsigned int vp9_variance32x32_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 390 #define vp9_variance32x32 vp9_variance32x32_sse2 | |
| 391 | |
| 392 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); | |
| 393 unsigned int vp9_variance64x64_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 394 #define vp9_variance64x64 vp9_variance64x64_sse2 | |
| 395 | |
| 396 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); | |
| 397 unsigned int vp9_variance16x16_mmx(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 398 unsigned int vp9_variance16x16_sse2(const uint8_t *src_ptr, int source_stride, c
onst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 399 #define vp9_variance16x16 vp9_variance16x16_sse2 | |
| 400 | |
| 401 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 402 unsigned int vp9_variance16x8_mmx(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 403 unsigned int vp9_variance16x8_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 404 #define vp9_variance16x8 vp9_variance16x8_sse2 | |
| 405 | |
| 406 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 407 unsigned int vp9_variance8x16_mmx(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 408 unsigned int vp9_variance8x16_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 409 #define vp9_variance8x16 vp9_variance8x16_sse2 | |
| 410 | |
| 411 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 412 unsigned int vp9_variance8x8_mmx(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 413 unsigned int vp9_variance8x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 414 #define vp9_variance8x8 vp9_variance8x8_sse2 | |
| 415 | |
| 416 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); | |
| 417 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 418 #define vp9_get_sse_sum_8x8 vp9_get8x8var_sse2 | |
| 419 | |
| 420 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 421 unsigned int vp9_variance8x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 422 #define vp9_variance8x4 vp9_variance8x4_sse2 | |
| 423 | |
| 424 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 425 unsigned int vp9_variance4x8_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 426 #define vp9_variance4x8 vp9_variance4x8_sse2 | |
| 427 | |
| 428 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 429 unsigned int vp9_variance4x4_mmx(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 430 unsigned int vp9_variance4x4_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 431 #define vp9_variance4x4 vp9_variance4x4_sse2 | |
| 432 | |
| 433 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); | |
| 434 unsigned int vp9_sub_pixel_variance64x64_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 435 unsigned int vp9_sub_pixel_variance64x64_ssse3(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); | |
| 436 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x64)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 437 | |
| 438 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); | |
| 439 unsigned int vp9_sub_pixel_avg_variance64x64_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 440 unsigned int vp9_sub_pixel_avg_variance64x64_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 441 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x64)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 442 | |
| 443 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); | |
| 444 unsigned int vp9_sub_pixel_variance32x64_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 445 unsigned int vp9_sub_pixel_variance32x64_ssse3(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); | |
| 446 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x64)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 447 | |
| 448 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); | |
| 449 unsigned int vp9_sub_pixel_avg_variance32x64_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 450 unsigned int vp9_sub_pixel_avg_variance32x64_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 451 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x64)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 452 | |
| 453 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); | |
| 454 unsigned int vp9_sub_pixel_variance64x32_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 455 unsigned int vp9_sub_pixel_variance64x32_ssse3(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); | |
| 456 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance64x32)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 457 | |
| 458 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); | |
| 459 unsigned int vp9_sub_pixel_avg_variance64x32_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 460 unsigned int vp9_sub_pixel_avg_variance64x32_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 461 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance64x32)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 462 | |
| 463 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); | |
| 464 unsigned int vp9_sub_pixel_variance32x16_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 465 unsigned int vp9_sub_pixel_variance32x16_ssse3(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); | |
| 466 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x16)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 467 | |
| 468 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); | |
| 469 unsigned int vp9_sub_pixel_avg_variance32x16_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 470 unsigned int vp9_sub_pixel_avg_variance32x16_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 471 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x16)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 472 | |
| 473 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); | |
| 474 unsigned int vp9_sub_pixel_variance16x32_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 475 unsigned int vp9_sub_pixel_variance16x32_ssse3(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); | |
| 476 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x32)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 477 | |
| 478 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); | |
| 479 unsigned int vp9_sub_pixel_avg_variance16x32_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 480 unsigned int vp9_sub_pixel_avg_variance16x32_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 481 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x32)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 482 | |
| 483 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); | |
| 484 unsigned int vp9_sub_pixel_variance32x32_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 485 unsigned int vp9_sub_pixel_variance32x32_ssse3(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); | |
| 486 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance32x32)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 487 | |
| 488 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); | |
| 489 unsigned int vp9_sub_pixel_avg_variance32x32_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 490 unsigned int vp9_sub_pixel_avg_variance32x32_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 491 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance32x32)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 492 | |
| 493 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); | |
| 494 unsigned int vp9_sub_pixel_variance16x16_sse2(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 495 unsigned int vp9_sub_pixel_variance16x16_ssse3(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); | |
| 496 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x16)(const uint8_t *src_ptr,
int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_st
ride, unsigned int *sse); | |
| 497 | |
| 498 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); | |
| 499 unsigned int vp9_sub_pixel_avg_variance16x16_sse2(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 500 unsigned int vp9_sub_pixel_avg_variance16x16_ssse3(const uint8_t *src_ptr, int s
ource_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 501 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x16)(const uint8_t *src_p
tr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int re
f_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 502 | |
| 503 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); | |
| 504 unsigned int vp9_sub_pixel_variance8x16_sse2(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse); | |
| 505 unsigned int vp9_sub_pixel_variance8x16_ssse3(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 506 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x16)(const uint8_t *src_ptr, i
nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str
ide, unsigned int *sse); | |
| 507 | |
| 508 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); | |
| 509 unsigned int vp9_sub_pixel_avg_variance8x16_sse2(const uint8_t *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse, const uint8_t *second_pred); | |
| 510 unsigned int vp9_sub_pixel_avg_variance8x16_ssse3(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 511 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x16)(const uint8_t *src_pt
r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref
_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 512 | |
| 513 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); | |
| 514 unsigned int vp9_sub_pixel_variance16x8_sse2(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse); | |
| 515 unsigned int vp9_sub_pixel_variance16x8_ssse3(const uint8_t *src_ptr, int source
_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse); | |
| 516 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance16x8)(const uint8_t *src_ptr, i
nt source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_str
ide, unsigned int *sse); | |
| 517 | |
| 518 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); | |
| 519 unsigned int vp9_sub_pixel_avg_variance16x8_sse2(const uint8_t *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse, const uint8_t *second_pred); | |
| 520 unsigned int vp9_sub_pixel_avg_variance16x8_ssse3(const uint8_t *src_ptr, int so
urce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride,
unsigned int *sse, const uint8_t *second_pred); | |
| 521 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance16x8)(const uint8_t *src_pt
r, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref
_stride, unsigned int *sse, const uint8_t *second_pred); | |
| 522 | |
| 523 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); | |
| 524 unsigned int vp9_sub_pixel_variance8x8_sse2(const uint8_t *src_ptr, int source_s
tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse); | |
| 525 unsigned int vp9_sub_pixel_variance8x8_ssse3(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse); | |
| 526 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(const uint8_t *src_ptr, in
t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri
de, unsigned int *sse); | |
| 527 | |
| 528 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); | |
| 529 unsigned int vp9_sub_pixel_avg_variance8x8_sse2(const uint8_t *src_ptr, int sour
ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un
signed int *sse, const uint8_t *second_pred); | |
| 530 unsigned int vp9_sub_pixel_avg_variance8x8_ssse3(const uint8_t *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse, const uint8_t *second_pred); | |
| 531 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x8)(const uint8_t *src_ptr
, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_
stride, unsigned int *sse, const uint8_t *second_pred); | |
| 532 | |
| 533 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); | |
| 534 unsigned int vp9_sub_pixel_variance8x4_sse2(const uint8_t *src_ptr, int source_s
tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigne
d int *sse); | |
| 535 unsigned int vp9_sub_pixel_variance8x4_ssse3(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse); | |
| 536 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x4)(const uint8_t *src_ptr, in
t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_strid
e, unsigned int *sse); | |
| 537 | |
| 538 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); | |
| 539 unsigned int vp9_sub_pixel_avg_variance8x4_sse2(const uint8_t *src_ptr, int sour
ce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, uns
igned int *sse, const uint8_t *second_pred); | |
| 540 unsigned int vp9_sub_pixel_avg_variance8x4_ssse3(const uint8_t *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un
signed int *sse, const uint8_t *second_pred); | |
| 541 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance8x4)(const uint8_t *src_ptr
, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_s
tride, unsigned int *sse, const uint8_t *second_pred); | |
| 542 | |
| 543 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); | |
| 544 unsigned int vp9_sub_pixel_variance4x8_sse(const uint8_t *src_ptr, int source_st
ride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned
int *sse); | |
| 545 unsigned int vp9_sub_pixel_variance4x8_ssse3(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign
ed int *sse); | |
| 546 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x8)(const uint8_t *src_ptr, in
t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_strid
e, unsigned int *sse); | |
| 547 | |
| 548 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); | |
| 549 unsigned int vp9_sub_pixel_avg_variance4x8_sse(const uint8_t *src_ptr, int sourc
e_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsi
gned int *sse, const uint8_t *second_pred); | |
| 550 unsigned int vp9_sub_pixel_avg_variance4x8_ssse3(const uint8_t *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, un
signed int *sse, const uint8_t *second_pred); | |
| 551 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x8)(const uint8_t *src_ptr
, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_s
tride, unsigned int *sse, const uint8_t *second_pred); | |
| 552 | |
| 553 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); | |
| 554 unsigned int vp9_sub_pixel_variance4x4_sse(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); | |
| 555 unsigned int vp9_sub_pixel_variance4x4_ssse3(const uint8_t *src_ptr, int source_
stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig
ned int *sse); | |
| 556 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance4x4)(const uint8_t *src_ptr, in
t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri
de, unsigned int *sse); | |
| 557 | |
| 558 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); | |
| 559 unsigned int vp9_sub_pixel_avg_variance4x4_sse(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); | |
| 560 unsigned int vp9_sub_pixel_avg_variance4x4_ssse3(const uint8_t *src_ptr, int sou
rce_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, u
nsigned int *sse, const uint8_t *second_pred); | |
| 561 RTCD_EXTERN unsigned int (*vp9_sub_pixel_avg_variance4x4)(const uint8_t *src_ptr
, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_
stride, unsigned int *sse, const uint8_t *second_pred); | |
| 562 | |
| 563 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); | |
| 564 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 565 #define vp9_sad64x64 vp9_sad64x64_sse2 | |
| 566 | |
| 567 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); | |
| 568 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 569 #define vp9_sad32x64 vp9_sad32x64_sse2 | |
| 570 | |
| 571 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); | |
| 572 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 573 #define vp9_sad64x32 vp9_sad64x32_sse2 | |
| 574 | |
| 575 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); | |
| 576 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 577 #define vp9_sad32x16 vp9_sad32x16_sse2 | |
| 578 | |
| 579 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); | |
| 580 unsigned int vp9_sad16x32_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 581 #define vp9_sad16x32 vp9_sad16x32_sse2 | |
| 582 | |
| 583 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); | |
| 584 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 585 #define vp9_sad32x32 vp9_sad32x32_sse2 | |
| 586 | |
| 587 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); | |
| 588 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 589 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 590 #define vp9_sad16x16 vp9_sad16x16_sse2 | |
| 591 | |
| 592 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); | |
| 593 unsigned int vp9_sad16x8_mmx(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 594 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 595 #define vp9_sad16x8 vp9_sad16x8_sse2 | |
| 596 | |
| 597 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); | |
| 598 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 599 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 600 #define vp9_sad8x16 vp9_sad8x16_sse2 | |
| 601 | |
| 602 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); | |
| 603 unsigned int vp9_sad8x8_mmx(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 604 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 605 #define vp9_sad8x8 vp9_sad8x8_sse2 | |
| 606 | |
| 607 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); | |
| 608 unsigned int vp9_sad8x4_sse2(const uint8_t *src_ptr, int source_stride, const ui
nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 609 #define vp9_sad8x4 vp9_sad8x4_sse2 | |
| 610 | |
| 611 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); | |
| 612 unsigned int vp9_sad4x8_sse(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 613 #define vp9_sad4x8 vp9_sad4x8_sse | |
| 614 | |
| 615 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); | |
| 616 unsigned int vp9_sad4x4_mmx(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 617 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 618 #define vp9_sad4x4 vp9_sad4x4_sse | |
| 619 | |
| 620 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); | |
| 621 unsigned int vp9_sad64x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int
max_sad); | |
| 622 #define vp9_sad64x64_avg vp9_sad64x64_avg_sse2 | |
| 623 | |
| 624 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); | |
| 625 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m
ax_sad); | |
| 626 #define vp9_sad32x64_avg vp9_sad32x64_avg_sse2 | |
| 627 | |
| 628 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); | |
| 629 unsigned int vp9_sad64x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m
ax_sad); | |
| 630 #define vp9_sad64x32_avg vp9_sad64x32_avg_sse2 | |
| 631 | |
| 632 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); | |
| 633 unsigned int vp9_sad32x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m
ax_sad); | |
| 634 #define vp9_sad32x16_avg vp9_sad32x16_avg_sse2 | |
| 635 | |
| 636 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); | |
| 637 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m
ax_sad); | |
| 638 #define vp9_sad16x32_avg vp9_sad16x32_avg_sse2 | |
| 639 | |
| 640 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); | |
| 641 unsigned int vp9_sad32x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int
max_sad); | |
| 642 #define vp9_sad32x32_avg vp9_sad32x32_avg_sse2 | |
| 643 | |
| 644 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); | |
| 645 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int
max_sad); | |
| 646 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2 | |
| 647 | |
| 648 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); | |
| 649 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m
ax_sad); | |
| 650 #define vp9_sad16x8_avg vp9_sad16x8_avg_sse2 | |
| 651 | |
| 652 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); | |
| 653 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m
ax_sad); | |
| 654 #define vp9_sad8x16_avg vp9_sad8x16_avg_sse2 | |
| 655 | |
| 656 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); | |
| 657 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int ma
x_sad); | |
| 658 #define vp9_sad8x8_avg vp9_sad8x8_avg_sse2 | |
| 659 | |
| 660 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); | |
| 661 unsigned int vp9_sad8x4_avg_sse2(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max
_sad); | |
| 662 #define vp9_sad8x4_avg vp9_sad8x4_avg_sse2 | |
| 663 | |
| 664 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); | |
| 665 unsigned int vp9_sad4x8_avg_sse(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); | |
| 666 #define vp9_sad4x8_avg vp9_sad4x8_avg_sse | |
| 667 | |
| 668 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); | |
| 669 unsigned int vp9_sad4x4_avg_sse(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); | |
| 670 #define vp9_sad4x4_avg vp9_sad4x4_avg_sse | |
| 671 | |
| 672 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); | |
| 673 unsigned int vp9_variance_halfpixvar16x16_h_sse2(const uint8_t *src_ptr, int sou
rce_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 674 #define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_sse2 | |
| 675 | |
| 676 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); | |
| 677 unsigned int vp9_variance_halfpixvar16x16_v_sse2(const uint8_t *src_ptr, int sou
rce_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 678 #define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_sse2 | |
| 679 | |
| 680 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); | |
| 681 unsigned int vp9_variance_halfpixvar16x16_hv_sse2(const uint8_t *src_ptr, int so
urce_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 682 #define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_sse2 | |
| 683 | |
| 684 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); | |
| 685 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c | |
| 686 | |
| 687 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); | |
| 688 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c | |
| 689 | |
| 690 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); | |
| 691 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c | |
| 692 | |
| 693 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); | |
| 694 #define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c | |
| 695 | |
| 696 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); | |
| 697 #define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c | |
| 698 | |
| 699 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); | |
| 700 #define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c | |
| 701 | |
| 702 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 703 #define vp9_sad64x64x3 vp9_sad64x64x3_c | |
| 704 | |
| 705 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 706 #define vp9_sad32x32x3 vp9_sad32x32x3_c | |
| 707 | |
| 708 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 709 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 710 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 711 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 712 | |
| 713 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); | |
| 714 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 715 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 716 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 717 | |
| 718 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); | |
| 719 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 720 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con
st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 721 | |
| 722 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); | |
| 723 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 724 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 725 | |
| 726 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); | |
| 727 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 728 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons
t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 729 | |
| 730 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); | |
| 731 #define vp9_sad64x64x8 vp9_sad64x64x8_c | |
| 732 | |
| 733 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); | |
| 734 #define vp9_sad32x32x8 vp9_sad32x32x8_c | |
| 735 | |
| 736 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); | |
| 737 #define vp9_sad16x16x8 vp9_sad16x16x8_c | |
| 738 | |
| 739 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 740 #define vp9_sad16x8x8 vp9_sad16x8x8_c | |
| 741 | |
| 742 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 743 #define vp9_sad8x16x8 vp9_sad8x16x8_c | |
| 744 | |
| 745 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 746 #define vp9_sad8x8x8 vp9_sad8x8x8_c | |
| 747 | |
| 748 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); | |
| 749 #define vp9_sad8x4x8 vp9_sad8x4x8_c | |
| 750 | |
| 751 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); | |
| 752 #define vp9_sad4x8x8 vp9_sad4x8x8_c | |
| 753 | |
| 754 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 755 #define vp9_sad4x4x8 vp9_sad4x4x8_c | |
| 756 | |
| 757 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); | |
| 758 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 759 #define vp9_sad64x64x4d vp9_sad64x64x4d_sse2 | |
| 760 | |
| 761 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); | |
| 762 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 763 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2 | |
| 764 | |
| 765 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); | |
| 766 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 767 #define vp9_sad64x32x4d vp9_sad64x32x4d_sse2 | |
| 768 | |
| 769 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); | |
| 770 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 771 #define vp9_sad32x16x4d vp9_sad32x16x4d_sse2 | |
| 772 | |
| 773 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); | |
| 774 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 775 #define vp9_sad16x32x4d vp9_sad16x32x4d_sse2 | |
| 776 | |
| 777 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); | |
| 778 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 779 #define vp9_sad32x32x4d vp9_sad32x32x4d_sse2 | |
| 780 | |
| 781 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); | |
| 782 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t
* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 783 #define vp9_sad16x16x4d vp9_sad16x16x4d_sse2 | |
| 784 | |
| 785 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); | |
| 786 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t*
const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 787 #define vp9_sad16x8x4d vp9_sad16x8x4d_sse2 | |
| 788 | |
| 789 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); | |
| 790 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t*
const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 791 #define vp9_sad8x16x4d vp9_sad8x16x4d_sse2 | |
| 792 | |
| 793 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); | |
| 794 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t*
const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 795 #define vp9_sad8x8x4d vp9_sad8x8x4d_sse2 | |
| 796 | |
| 797 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); | |
| 798 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 799 #define vp9_sad8x4x4d vp9_sad8x4x4d_sse2 | |
| 800 | |
| 801 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); | |
| 802 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co
nst ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 803 #define vp9_sad4x8x4d vp9_sad4x8x4d_sse | |
| 804 | |
| 805 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); | |
| 806 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c
onst ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 807 #define vp9_sad4x4x4d vp9_sad4x4x4d_sse | |
| 808 | |
| 809 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); | |
| 810 unsigned int vp9_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 811 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 812 #define vp9_mse16x16 vp9_mse16x16_sse2 | |
| 813 | |
| 814 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); | |
| 815 #define vp9_mse8x16 vp9_mse8x16_c | |
| 816 | |
| 817 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); | |
| 818 #define vp9_mse16x8 vp9_mse16x8_c | |
| 819 | |
| 820 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); | |
| 821 #define vp9_mse8x8 vp9_mse8x8_c | |
| 822 | |
| 823 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); | |
| 824 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c | |
| 825 | |
| 826 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); | |
| 827 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c | |
| 828 | |
| 829 unsigned int vp9_get_mb_ss_c(const int16_t *); | |
| 830 unsigned int vp9_get_mb_ss_mmx(const int16_t *); | |
| 831 unsigned int vp9_get_mb_ss_sse2(const int16_t *); | |
| 832 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 | |
| 833 | |
| 834 int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size,
int64_t *ssz); | |
| 835 int64_t vp9_block_error_sse2(int16_t *coeff, int16_t *dqcoeff, intptr_t block_si
ze, int64_t *ssz); | |
| 836 #define vp9_block_error vp9_block_error_sse2 | |
| 837 | |
| 838 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); | |
| 839 void vp9_subtract_block_sse2(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di
ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr
, ptrdiff_t pred_stride); | |
| 840 #define vp9_subtract_block vp9_subtract_block_sse2 | |
| 841 | |
| 842 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); | |
| 843 void vp9_quantize_b_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c
onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); | |
| 844 RTCD_EXTERN void (*vp9_quantize_b)(const int16_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, int16_t *qcoeff_ptr, int16_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | |
| 845 | |
| 846 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); | |
| 847 void vp9_quantize_b_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_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 int
16_t *scan, const int16_t *iscan); | |
| 848 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const int16_t *coeff_ptr, intptr_t n_co
effs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const i
nt16_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); | |
| 849 | |
| 850 void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int t
x_type); | |
| 851 void vp9_short_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, in
t tx_type); | |
| 852 #define vp9_short_fht4x4 vp9_short_fht4x4_sse2 | |
| 853 | |
| 854 void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int t
x_type); | |
| 855 void vp9_short_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, in
t tx_type); | |
| 856 #define vp9_short_fht8x8 vp9_short_fht8x8_sse2 | |
| 857 | |
| 858 void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int
tx_type); | |
| 859 void vp9_short_fht16x16_sse2(const int16_t *input, int16_t *output, int stride,
int tx_type); | |
| 860 #define vp9_short_fht16x16 vp9_short_fht16x16_sse2 | |
| 861 | |
| 862 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | |
| 863 #define vp9_fwht4x4 vp9_fwht4x4_c | |
| 864 | |
| 865 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | |
| 866 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); | |
| 867 #define vp9_fdct4x4 vp9_fdct4x4_sse2 | |
| 868 | |
| 869 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | |
| 870 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); | |
| 871 #define vp9_fdct8x8 vp9_fdct8x8_sse2 | |
| 872 | |
| 873 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | |
| 874 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); | |
| 875 #define vp9_fdct16x16 vp9_fdct16x16_sse2 | |
| 876 | |
| 877 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | |
| 878 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); | |
| 879 #define vp9_fdct32x32 vp9_fdct32x32_sse2 | |
| 880 | |
| 881 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | |
| 882 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); | |
| 883 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_sse2 | |
| 884 | |
| 885 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); | |
| 886 int vp9_full_search_sadx3(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); | |
| 887 int vp9_full_search_sadx8(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); | |
| 888 RTCD_EXTERN int (*vp9_full_search_sad)(struct macroblock *x, struct mv *ref_mv,
int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS,
const struct mv *center_mv, int n); | |
| 889 | |
| 890 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); | |
| 891 int vp9_refining_search_sadx4(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); | |
| 892 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv
*ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC
_MVCOSTS, const struct mv *center_mv); | |
| 893 | |
| 894 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); | |
| 895 int vp9_diamond_search_sadx4(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); | |
| 896 RTCD_EXTERN int (*vp9_diamond_search_sad)(struct macroblock *x, struct mv *ref_m
v, struct mv *best_mv, int search_param, int sad_per_bit, int *num00, struct vp9
_variance_vtable *fn_ptr, DEC_MVCOSTS, const struct mv *center_mv); | |
| 897 | |
| 898 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); | |
| 899 #define vp9_full_range_search vp9_full_range_search_c | |
| 900 | |
| 901 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); | |
| 902 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_
t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned in
t *accumulator, uint16_t *count); | |
| 903 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_sse2 | |
| 904 | |
| 905 void vp9_rtcd(void); | 372 void vp9_rtcd(void); |
| 906 | 373 |
| 907 #ifdef RTCD_C | 374 #ifdef RTCD_C |
| 908 #include "vpx_ports/x86.h" | 375 #include "vpx_ports/x86.h" |
| 909 static void setup_rtcd_internal(void) | 376 static void setup_rtcd_internal(void) |
| 910 { | 377 { |
| 911 int flags = x86_simd_caps(); | 378 int flags = x86_simd_caps(); |
| 912 | 379 |
| 913 (void)flags; | 380 (void)flags; |
| 914 | 381 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1028 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; | 495 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; |
| 1029 | 496 |
| 1030 vp9_convolve8_avg = vp9_convolve8_avg_sse2; | 497 vp9_convolve8_avg = vp9_convolve8_avg_sse2; |
| 1031 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; | 498 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; |
| 1032 | 499 |
| 1033 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2; | 500 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sse2; |
| 1034 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 501 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
| 1035 | 502 |
| 1036 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; | 503 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_sse2; |
| 1037 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 504 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
| 1038 | |
| 1039 | |
| 1040 | |
| 1041 | |
| 1042 | |
| 1043 | |
| 1044 | |
| 1045 | |
| 1046 | |
| 1047 | |
| 1048 | |
| 1049 | |
| 1050 | |
| 1051 | |
| 1052 | |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | |
| 1057 | |
| 1058 | |
| 1059 | |
| 1060 | |
| 1061 | |
| 1062 | |
| 1063 | |
| 1064 | |
| 1065 | |
| 1066 | |
| 1067 | |
| 1068 | |
| 1069 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_sse2; | |
| 1070 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6
4x64_ssse3; | |
| 1071 | |
| 1072 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_sse2; | |
| 1073 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v
ariance64x64_ssse3; | |
| 1074 | |
| 1075 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_sse2; | |
| 1076 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3
2x64_ssse3; | |
| 1077 | |
| 1078 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_sse2; | |
| 1079 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v
ariance32x64_ssse3; | |
| 1080 | |
| 1081 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_sse2; | |
| 1082 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6
4x32_ssse3; | |
| 1083 | |
| 1084 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_sse2; | |
| 1085 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v
ariance64x32_ssse3; | |
| 1086 | |
| 1087 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_sse2; | |
| 1088 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3
2x16_ssse3; | |
| 1089 | |
| 1090 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_sse2; | |
| 1091 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v
ariance32x16_ssse3; | |
| 1092 | |
| 1093 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_sse2; | |
| 1094 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1
6x32_ssse3; | |
| 1095 | |
| 1096 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_sse2; | |
| 1097 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v
ariance16x32_ssse3; | |
| 1098 | |
| 1099 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_sse2; | |
| 1100 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3
2x32_ssse3; | |
| 1101 | |
| 1102 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_sse2; | |
| 1103 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v
ariance32x32_ssse3; | |
| 1104 | |
| 1105 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_sse2; | |
| 1106 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1
6x16_ssse3; | |
| 1107 | |
| 1108 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_sse2; | |
| 1109 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v
ariance16x16_ssse3; | |
| 1110 | |
| 1111 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_sse2; | |
| 1112 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x
16_ssse3; | |
| 1113 | |
| 1114 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_sse2; | |
| 1115 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va
riance8x16_ssse3; | |
| 1116 | |
| 1117 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_sse2; | |
| 1118 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16
x8_ssse3; | |
| 1119 | |
| 1120 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_sse2; | |
| 1121 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va
riance16x8_ssse3; | |
| 1122 | |
| 1123 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; | |
| 1124 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | |
| 1125 | |
| 1126 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_sse2; | |
| 1127 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var
iance8x8_ssse3; | |
| 1128 | |
| 1129 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_sse2; | |
| 1130 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4
_ssse3; | |
| 1131 | |
| 1132 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_sse2; | |
| 1133 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var
iance8x4_ssse3; | |
| 1134 | |
| 1135 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_sse; | |
| 1136 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8
_ssse3; | |
| 1137 | |
| 1138 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_sse; | |
| 1139 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var
iance4x8_ssse3; | |
| 1140 | |
| 1141 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_sse; | |
| 1142 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4
_ssse3; | |
| 1143 | |
| 1144 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_sse; | |
| 1145 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var
iance4x4_ssse3; | |
| 1146 | |
| 1147 | |
| 1148 | |
| 1149 | |
| 1150 | |
| 1151 | |
| 1152 | |
| 1153 | |
| 1154 | |
| 1155 | |
| 1156 | |
| 1157 | |
| 1158 | |
| 1159 | |
| 1160 | |
| 1161 | |
| 1162 | |
| 1163 | |
| 1164 | |
| 1165 | |
| 1166 | |
| 1167 | |
| 1168 | |
| 1169 | |
| 1170 | |
| 1171 | |
| 1172 | |
| 1173 | |
| 1174 | |
| 1175 | |
| 1176 | |
| 1177 | |
| 1178 | |
| 1179 | |
| 1180 | |
| 1181 | |
| 1182 | |
| 1183 | |
| 1184 vp9_sad16x16x3 = vp9_sad16x16x3_c; | |
| 1185 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; | |
| 1186 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; | |
| 1187 | |
| 1188 vp9_sad16x8x3 = vp9_sad16x8x3_c; | |
| 1189 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; | |
| 1190 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; | |
| 1191 | |
| 1192 vp9_sad8x16x3 = vp9_sad8x16x3_c; | |
| 1193 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; | |
| 1194 | |
| 1195 vp9_sad8x8x3 = vp9_sad8x8x3_c; | |
| 1196 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; | |
| 1197 | |
| 1198 vp9_sad4x4x3 = vp9_sad4x4x3_c; | |
| 1199 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; | |
| 1200 | |
| 1201 | |
| 1202 | |
| 1203 | |
| 1204 | |
| 1205 | |
| 1206 | |
| 1207 | |
| 1208 | |
| 1209 | |
| 1210 | |
| 1211 | |
| 1212 | |
| 1213 | |
| 1214 | |
| 1215 | |
| 1216 | |
| 1217 | |
| 1218 | |
| 1219 | |
| 1220 | |
| 1221 | |
| 1222 | |
| 1223 | |
| 1224 | |
| 1225 | |
| 1226 | |
| 1227 | |
| 1228 | |
| 1229 | |
| 1230 | |
| 1231 | |
| 1232 vp9_quantize_b = vp9_quantize_b_c; | |
| 1233 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; | |
| 1234 | |
| 1235 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; | |
| 1236 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; | |
| 1237 | |
| 1238 | |
| 1239 | |
| 1240 | |
| 1241 | |
| 1242 | |
| 1243 | |
| 1244 | |
| 1245 | |
| 1246 | |
| 1247 vp9_full_search_sad = vp9_full_search_sad_c; | |
| 1248 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | |
| 1249 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | |
| 1250 | |
| 1251 vp9_refining_search_sad = vp9_refining_search_sad_c; | |
| 1252 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; | |
| 1253 | |
| 1254 vp9_diamond_search_sad = vp9_diamond_search_sad_c; | |
| 1255 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; | |
| 1256 } | 505 } |
| 1257 #endif | 506 #endif |
| 1258 | 507 |
| 1259 #ifdef __cplusplus | 508 #ifdef __cplusplus |
| 1260 } // extern "C" | 509 } // extern "C" |
| 1261 #endif | 510 #endif |
| 1262 | 511 |
| 1263 #endif | 512 #endif |
| OLD | NEW |