| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 361 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_sse2(const int16_t *input, uint8_t *output, int pitch,
int tx_type); | 362 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch,
int tx_type); |
| 363 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output,
int pitch, int tx_type); | 363 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output,
int pitch, int tx_type); |
| 364 | 364 |
| 365 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 365 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 366 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 366 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
| 367 | 367 |
| 368 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 368 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
| 369 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 369 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
| 370 | 370 |
| 371 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); | |
| 372 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); | |
| 373 RTCD_EXTERN unsigned int (*vp9_variance32x16)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 374 | |
| 375 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); | |
| 376 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); | |
| 377 RTCD_EXTERN unsigned int (*vp9_variance16x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 378 | |
| 379 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); | |
| 380 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); | |
| 381 RTCD_EXTERN unsigned int (*vp9_variance64x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 382 | |
| 383 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); | |
| 384 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); | |
| 385 RTCD_EXTERN unsigned int (*vp9_variance32x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 386 | |
| 387 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); | |
| 388 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); | |
| 389 RTCD_EXTERN unsigned int (*vp9_variance32x32)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 390 | |
| 391 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); | |
| 392 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); | |
| 393 RTCD_EXTERN unsigned int (*vp9_variance64x64)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 394 | |
| 395 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); | |
| 396 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); | |
| 397 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); | |
| 398 RTCD_EXTERN unsigned int (*vp9_variance16x16)(const uint8_t *src_ptr, int source
_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 399 | |
| 400 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 401 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); | |
| 402 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); | |
| 403 RTCD_EXTERN unsigned int (*vp9_variance16x8)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 404 | |
| 405 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 406 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); | |
| 407 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); | |
| 408 RTCD_EXTERN unsigned int (*vp9_variance8x16)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 409 | |
| 410 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 411 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); | |
| 412 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); | |
| 413 RTCD_EXTERN unsigned int (*vp9_variance8x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 414 | |
| 415 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); | |
| 416 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); | |
| 417 RTCD_EXTERN void (*vp9_get_sse_sum_8x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | |
| 418 | |
| 419 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 420 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); | |
| 421 RTCD_EXTERN unsigned int (*vp9_variance8x4)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 422 | |
| 423 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 424 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); | |
| 425 RTCD_EXTERN unsigned int (*vp9_variance4x8)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 426 | |
| 427 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 428 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); | |
| 429 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); | |
| 430 RTCD_EXTERN unsigned int (*vp9_variance4x4)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); | |
| 431 | |
| 432 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); | |
| 433 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); | |
| 434 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); | |
| 435 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); | |
| 436 | |
| 437 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); | |
| 438 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); | |
| 439 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); | |
| 440 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); | |
| 441 | |
| 442 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); | |
| 443 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); | |
| 444 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); | |
| 445 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); | |
| 446 | |
| 447 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); | |
| 448 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); | |
| 449 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); | |
| 450 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); | |
| 451 | |
| 452 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); | |
| 453 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); | |
| 454 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); | |
| 455 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); | |
| 456 | |
| 457 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); | |
| 458 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); | |
| 459 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); | |
| 460 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); | |
| 461 | |
| 462 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); | |
| 463 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); | |
| 464 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); | |
| 465 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); | |
| 466 | |
| 467 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); | |
| 468 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); | |
| 469 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); | |
| 470 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); | |
| 471 | |
| 472 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); | |
| 473 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); | |
| 474 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); | |
| 475 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); | |
| 476 | |
| 477 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); | |
| 478 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); | |
| 479 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); | |
| 480 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); | |
| 481 | |
| 482 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); | |
| 483 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); | |
| 484 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); | |
| 485 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); | |
| 486 | |
| 487 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); | |
| 488 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); | |
| 489 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); | |
| 490 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); | |
| 491 | |
| 492 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); | |
| 493 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); | |
| 494 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); | |
| 495 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); | |
| 496 | |
| 497 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); | |
| 498 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); | |
| 499 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); | |
| 500 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); | |
| 501 | |
| 502 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); | |
| 503 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); | |
| 504 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); | |
| 505 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); | |
| 506 | |
| 507 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); | |
| 508 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); | |
| 509 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); | |
| 510 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); | |
| 511 | |
| 512 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); | |
| 513 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); | |
| 514 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); | |
| 515 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); | |
| 516 | |
| 517 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); | |
| 518 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); | |
| 519 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); | |
| 520 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); | |
| 521 | |
| 522 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); | |
| 523 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); | |
| 524 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); | |
| 525 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); | |
| 526 | |
| 527 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); | |
| 528 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); | |
| 529 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); | |
| 530 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); | |
| 531 | |
| 532 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); | |
| 533 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); | |
| 534 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); | |
| 535 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); | |
| 536 | |
| 537 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); | |
| 538 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); | |
| 539 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); | |
| 540 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); | |
| 541 | |
| 542 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); | |
| 543 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); | |
| 544 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); | |
| 545 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); | |
| 546 | |
| 547 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); | |
| 548 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); | |
| 549 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); | |
| 550 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); | |
| 551 | |
| 552 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); | |
| 553 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); | |
| 554 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); | |
| 555 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); | |
| 556 | |
| 557 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); | |
| 558 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); | |
| 559 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); | |
| 560 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); | |
| 561 | |
| 562 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); | |
| 563 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); | |
| 564 RTCD_EXTERN unsigned int (*vp9_sad64x64)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 565 | |
| 566 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); | |
| 567 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); | |
| 568 RTCD_EXTERN unsigned int (*vp9_sad32x64)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 569 | |
| 570 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); | |
| 571 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); | |
| 572 RTCD_EXTERN unsigned int (*vp9_sad64x32)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 573 | |
| 574 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); | |
| 575 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); | |
| 576 RTCD_EXTERN unsigned int (*vp9_sad32x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 577 | |
| 578 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); | |
| 579 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); | |
| 580 RTCD_EXTERN unsigned int (*vp9_sad16x32)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 581 | |
| 582 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); | |
| 583 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); | |
| 584 RTCD_EXTERN unsigned int (*vp9_sad32x32)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 585 | |
| 586 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); | |
| 587 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); | |
| 588 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); | |
| 589 RTCD_EXTERN unsigned int (*vp9_sad16x16)(const uint8_t *src_ptr, int source_stri
de, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 590 | |
| 591 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); | |
| 592 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); | |
| 593 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); | |
| 594 RTCD_EXTERN unsigned int (*vp9_sad16x8)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 595 | |
| 596 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); | |
| 597 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); | |
| 598 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); | |
| 599 RTCD_EXTERN unsigned int (*vp9_sad8x16)(const uint8_t *src_ptr, int source_strid
e, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 600 | |
| 601 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); | |
| 602 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); | |
| 603 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); | |
| 604 RTCD_EXTERN unsigned int (*vp9_sad8x8)(const uint8_t *src_ptr, int source_stride
, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 605 | |
| 606 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); | |
| 607 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); | |
| 608 RTCD_EXTERN unsigned int (*vp9_sad8x4)(const uint8_t *src_ptr, int source_stride
, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 609 | |
| 610 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); | |
| 611 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); | |
| 612 RTCD_EXTERN unsigned int (*vp9_sad4x8)(const uint8_t *src_ptr, int source_stride
, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 613 | |
| 614 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); | |
| 615 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); | |
| 616 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); | |
| 617 RTCD_EXTERN unsigned int (*vp9_sad4x4)(const uint8_t *src_ptr, int source_stride
, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); | |
| 618 | |
| 619 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); | |
| 620 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); | |
| 621 RTCD_EXTERN unsigned int (*vp9_sad64x64_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, uns
igned int max_sad); | |
| 622 | |
| 623 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); | |
| 624 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); | |
| 625 RTCD_EXTERN unsigned int (*vp9_sad32x64_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsi
gned int max_sad); | |
| 626 | |
| 627 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); | |
| 628 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); | |
| 629 RTCD_EXTERN unsigned int (*vp9_sad64x32_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsi
gned int max_sad); | |
| 630 | |
| 631 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); | |
| 632 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); | |
| 633 RTCD_EXTERN unsigned int (*vp9_sad32x16_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsi
gned int max_sad); | |
| 634 | |
| 635 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); | |
| 636 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); | |
| 637 RTCD_EXTERN unsigned int (*vp9_sad16x32_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsi
gned int max_sad); | |
| 638 | |
| 639 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); | |
| 640 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); | |
| 641 RTCD_EXTERN unsigned int (*vp9_sad32x32_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, uns
igned int max_sad); | |
| 642 | |
| 643 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); | |
| 644 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); | |
| 645 RTCD_EXTERN unsigned int (*vp9_sad16x16_avg)(const uint8_t *src_ptr, int source_
stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, uns
igned int max_sad); | |
| 646 | |
| 647 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); | |
| 648 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); | |
| 649 RTCD_EXTERN unsigned int (*vp9_sad16x8_avg)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsi
gned int max_sad); | |
| 650 | |
| 651 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); | |
| 652 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); | |
| 653 RTCD_EXTERN unsigned int (*vp9_sad8x16_avg)(const uint8_t *src_ptr, int source_s
tride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsi
gned int max_sad); | |
| 654 | |
| 655 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); | |
| 656 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); | |
| 657 RTCD_EXTERN unsigned int (*vp9_sad8x8_avg)(const uint8_t *src_ptr, int source_st
ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsig
ned int max_sad); | |
| 658 | |
| 659 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); | |
| 660 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); | |
| 661 RTCD_EXTERN unsigned int (*vp9_sad8x4_avg)(const uint8_t *src_ptr, int source_st
ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsign
ed int max_sad); | |
| 662 | |
| 663 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); | |
| 664 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); | |
| 665 RTCD_EXTERN unsigned int (*vp9_sad4x8_avg)(const uint8_t *src_ptr, int source_st
ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsign
ed int max_sad); | |
| 666 | |
| 667 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); | |
| 668 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); | |
| 669 RTCD_EXTERN unsigned int (*vp9_sad4x4_avg)(const uint8_t *src_ptr, int source_st
ride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsig
ned int max_sad); | |
| 670 | |
| 671 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); | |
| 672 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); | |
| 673 RTCD_EXTERN unsigned int (*vp9_variance_halfpixvar16x16_h)(const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse)
; | |
| 674 | |
| 675 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); | |
| 676 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); | |
| 677 RTCD_EXTERN unsigned int (*vp9_variance_halfpixvar16x16_v)(const uint8_t *src_pt
r, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse)
; | |
| 678 | |
| 679 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); | |
| 680 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); | |
| 681 RTCD_EXTERN unsigned int (*vp9_variance_halfpixvar16x16_hv)(const uint8_t *src_p
tr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse
); | |
| 682 | |
| 683 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); | |
| 684 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c | |
| 685 | |
| 686 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); | |
| 687 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c | |
| 688 | |
| 689 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); | |
| 690 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c | |
| 691 | |
| 692 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); | |
| 693 #define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c | |
| 694 | |
| 695 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); | |
| 696 #define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c | |
| 697 | |
| 698 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); | |
| 699 #define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c | |
| 700 | |
| 701 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 702 #define vp9_sad64x64x3 vp9_sad64x64x3_c | |
| 703 | |
| 704 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 705 #define vp9_sad32x32x3 vp9_sad32x32x3_c | |
| 706 | |
| 707 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *
ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 708 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 709 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 710 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); | |
| 711 | |
| 712 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); | |
| 713 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 714 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_
t *ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 715 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); | |
| 716 | |
| 717 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); | |
| 718 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 719 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); | |
| 720 | |
| 721 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); | |
| 722 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 723 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); | |
| 724 | |
| 725 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); | |
| 726 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sad_array); | |
| 727 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); | |
| 728 | |
| 729 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); | |
| 730 #define vp9_sad64x64x8 vp9_sad64x64x8_c | |
| 731 | |
| 732 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); | |
| 733 #define vp9_sad32x32x8 vp9_sad32x32x8_c | |
| 734 | |
| 735 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); | |
| 736 #define vp9_sad16x16x8 vp9_sad16x16x8_c | |
| 737 | |
| 738 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 739 #define vp9_sad16x8x8 vp9_sad16x8x8_c | |
| 740 | |
| 741 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref
_ptr, int ref_stride, uint32_t *sad_array); | |
| 742 #define vp9_sad8x16x8 vp9_sad8x16x8_c | |
| 743 | |
| 744 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 745 #define vp9_sad8x8x8 vp9_sad8x8x8_c | |
| 746 | |
| 747 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); | |
| 748 #define vp9_sad8x4x8 vp9_sad8x4x8_c | |
| 749 | |
| 750 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); | |
| 751 #define vp9_sad4x8x8 vp9_sad4x8x8_c | |
| 752 | |
| 753 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_
ptr, int ref_stride, uint32_t *sad_array); | |
| 754 #define vp9_sad4x4x8 vp9_sad4x4x8_c | |
| 755 | |
| 756 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); | |
| 757 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); | |
| 758 RTCD_EXTERN void (*vp9_sad64x64x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 759 | |
| 760 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); | |
| 761 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); | |
| 762 RTCD_EXTERN void (*vp9_sad32x64x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 763 | |
| 764 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); | |
| 765 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); | |
| 766 RTCD_EXTERN void (*vp9_sad64x32x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 767 | |
| 768 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); | |
| 769 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); | |
| 770 RTCD_EXTERN void (*vp9_sad32x16x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 771 | |
| 772 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); | |
| 773 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); | |
| 774 RTCD_EXTERN void (*vp9_sad16x32x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 775 | |
| 776 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); | |
| 777 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); | |
| 778 RTCD_EXTERN void (*vp9_sad32x32x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 779 | |
| 780 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); | |
| 781 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); | |
| 782 RTCD_EXTERN void (*vp9_sad16x16x4d)(const uint8_t *src_ptr, int src_stride, con
st uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 783 | |
| 784 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); | |
| 785 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); | |
| 786 RTCD_EXTERN void (*vp9_sad16x8x4d)(const uint8_t *src_ptr, int src_stride, cons
t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 787 | |
| 788 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); | |
| 789 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); | |
| 790 RTCD_EXTERN void (*vp9_sad8x16x4d)(const uint8_t *src_ptr, int src_stride, cons
t uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 791 | |
| 792 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); | |
| 793 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); | |
| 794 RTCD_EXTERN void (*vp9_sad8x8x4d)(const uint8_t *src_ptr, int src_stride, const
uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 795 | |
| 796 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); | |
| 797 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); | |
| 798 RTCD_EXTERN void (*vp9_sad8x4x4d)(const uint8_t *src_ptr, int src_stride, const
uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 799 | |
| 800 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); | |
| 801 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); | |
| 802 RTCD_EXTERN void (*vp9_sad4x8x4d)(const uint8_t *src_ptr, int src_stride, const
uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 803 | |
| 804 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); | |
| 805 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); | |
| 806 RTCD_EXTERN void (*vp9_sad4x4x4d)(const uint8_t *src_ptr, int src_stride, const
uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); | |
| 807 | |
| 808 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); | |
| 809 unsigned int vp9_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 810 unsigned int vp9_mse16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 811 RTCD_EXTERN unsigned int (*vp9_mse16x16)(const uint8_t *src_ptr, int source_str
ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | |
| 812 | |
| 813 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); | |
| 814 #define vp9_mse8x16 vp9_mse8x16_c | |
| 815 | |
| 816 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); | |
| 817 #define vp9_mse16x8 vp9_mse16x8_c | |
| 818 | |
| 819 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); | |
| 820 #define vp9_mse8x8 vp9_mse8x8_c | |
| 821 | |
| 822 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); | |
| 823 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c | |
| 824 | |
| 825 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); | |
| 826 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c | |
| 827 | |
| 828 unsigned int vp9_get_mb_ss_c(const int16_t *); | |
| 829 unsigned int vp9_get_mb_ss_mmx(const int16_t *); | |
| 830 unsigned int vp9_get_mb_ss_sse2(const int16_t *); | |
| 831 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *); | |
| 832 | |
| 833 int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size,
int64_t *ssz); | |
| 834 int64_t vp9_block_error_sse2(int16_t *coeff, int16_t *dqcoeff, intptr_t block_si
ze, int64_t *ssz); | |
| 835 RTCD_EXTERN int64_t (*vp9_block_error)(int16_t *coeff, int16_t *dqcoeff, intptr_
t block_size, int64_t *ssz); | |
| 836 | |
| 837 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); | |
| 838 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); | |
| 839 RTCD_EXTERN void (*vp9_subtract_block)(int rows, int cols, int16_t *diff_ptr, pt
rdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t
*pred_ptr, ptrdiff_t pred_stride); | |
| 840 | |
| 841 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); | |
| 842 #define vp9_quantize_b vp9_quantize_b_c | |
| 843 | |
| 844 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); | |
| 845 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c | |
| 846 | |
| 847 void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int t
x_type); | |
| 848 void vp9_short_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, in
t tx_type); | |
| 849 RTCD_EXTERN void (*vp9_short_fht4x4)(const int16_t *input, int16_t *output, int
stride, int tx_type); | |
| 850 | |
| 851 void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int t
x_type); | |
| 852 void vp9_short_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, in
t tx_type); | |
| 853 RTCD_EXTERN void (*vp9_short_fht8x8)(const int16_t *input, int16_t *output, int
stride, int tx_type); | |
| 854 | |
| 855 void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int
tx_type); | |
| 856 void vp9_short_fht16x16_sse2(const int16_t *input, int16_t *output, int stride,
int tx_type); | |
| 857 RTCD_EXTERN void (*vp9_short_fht16x16)(const int16_t *input, int16_t *output, in
t stride, int tx_type); | |
| 858 | |
| 859 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | |
| 860 #define vp9_fwht4x4 vp9_fwht4x4_c | |
| 861 | |
| 862 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | |
| 863 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); | |
| 864 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid
e); | |
| 865 | |
| 866 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | |
| 867 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); | |
| 868 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); | |
| 869 | |
| 870 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | |
| 871 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); | |
| 872 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str
ide); | |
| 873 | |
| 874 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | |
| 875 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); | |
| 876 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str
ide); | |
| 877 | |
| 878 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | |
| 879 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); | |
| 880 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int
stride); | |
| 881 | |
| 882 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); | |
| 883 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); | |
| 884 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); | |
| 885 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); | |
| 886 | |
| 887 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); | |
| 888 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); | |
| 889 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); | |
| 890 | |
| 891 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); | |
| 892 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); | |
| 893 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); | |
| 894 | |
| 895 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); | |
| 896 #define vp9_full_range_search vp9_full_range_search_c | |
| 897 | |
| 898 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); | |
| 899 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); | |
| 900 RTCD_EXTERN void (*vp9_temporal_filter_apply)(uint8_t *frame1, unsigned int stri
de, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, u
nsigned int *accumulator, uint16_t *count); | |
| 901 | |
| 902 void vp9_rtcd(void); | 371 void vp9_rtcd(void); |
| 903 | 372 |
| 904 #ifdef RTCD_C | 373 #ifdef RTCD_C |
| 905 #include "vpx_ports/x86.h" | 374 #include "vpx_ports/x86.h" |
| 906 static void setup_rtcd_internal(void) | 375 static void setup_rtcd_internal(void) |
| 907 { | 376 { |
| 908 int flags = x86_simd_caps(); | 377 int flags = x86_simd_caps(); |
| 909 | 378 |
| 910 (void)flags; | 379 (void)flags; |
| 911 | 380 |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1121 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2; | 590 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2; |
| 1122 | 591 |
| 1123 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; | 592 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; |
| 1124 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; | 593 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; |
| 1125 | 594 |
| 1126 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; | 595 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; |
| 1127 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; | 596 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; |
| 1128 | 597 |
| 1129 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; | 598 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; |
| 1130 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; | 599 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; |
| 1131 | |
| 1132 | |
| 1133 | |
| 1134 vp9_variance32x16 = vp9_variance32x16_c; | |
| 1135 if (flags & HAS_SSE2) vp9_variance32x16 = vp9_variance32x16_sse2; | |
| 1136 | |
| 1137 vp9_variance16x32 = vp9_variance16x32_c; | |
| 1138 if (flags & HAS_SSE2) vp9_variance16x32 = vp9_variance16x32_sse2; | |
| 1139 | |
| 1140 vp9_variance64x32 = vp9_variance64x32_c; | |
| 1141 if (flags & HAS_SSE2) vp9_variance64x32 = vp9_variance64x32_sse2; | |
| 1142 | |
| 1143 vp9_variance32x64 = vp9_variance32x64_c; | |
| 1144 if (flags & HAS_SSE2) vp9_variance32x64 = vp9_variance32x64_sse2; | |
| 1145 | |
| 1146 vp9_variance32x32 = vp9_variance32x32_c; | |
| 1147 if (flags & HAS_SSE2) vp9_variance32x32 = vp9_variance32x32_sse2; | |
| 1148 | |
| 1149 vp9_variance64x64 = vp9_variance64x64_c; | |
| 1150 if (flags & HAS_SSE2) vp9_variance64x64 = vp9_variance64x64_sse2; | |
| 1151 | |
| 1152 vp9_variance16x16 = vp9_variance16x16_c; | |
| 1153 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx; | |
| 1154 if (flags & HAS_SSE2) vp9_variance16x16 = vp9_variance16x16_sse2; | |
| 1155 | |
| 1156 vp9_variance16x8 = vp9_variance16x8_c; | |
| 1157 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx; | |
| 1158 if (flags & HAS_SSE2) vp9_variance16x8 = vp9_variance16x8_sse2; | |
| 1159 | |
| 1160 vp9_variance8x16 = vp9_variance8x16_c; | |
| 1161 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx; | |
| 1162 if (flags & HAS_SSE2) vp9_variance8x16 = vp9_variance8x16_sse2; | |
| 1163 | |
| 1164 vp9_variance8x8 = vp9_variance8x8_c; | |
| 1165 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx; | |
| 1166 if (flags & HAS_SSE2) vp9_variance8x8 = vp9_variance8x8_sse2; | |
| 1167 | |
| 1168 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c; | |
| 1169 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2; | |
| 1170 | |
| 1171 vp9_variance8x4 = vp9_variance8x4_c; | |
| 1172 if (flags & HAS_SSE2) vp9_variance8x4 = vp9_variance8x4_sse2; | |
| 1173 | |
| 1174 vp9_variance4x8 = vp9_variance4x8_c; | |
| 1175 if (flags & HAS_SSE2) vp9_variance4x8 = vp9_variance4x8_sse2; | |
| 1176 | |
| 1177 vp9_variance4x4 = vp9_variance4x4_c; | |
| 1178 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx; | |
| 1179 if (flags & HAS_SSE2) vp9_variance4x4 = vp9_variance4x4_sse2; | |
| 1180 | |
| 1181 vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64x64_c; | |
| 1182 if (flags & HAS_SSE2) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance64
x64_sse2; | |
| 1183 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x64 = vp9_sub_pixel_variance6
4x64_ssse3; | |
| 1184 | |
| 1185 vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_variance64x64_c; | |
| 1186 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_va
riance64x64_sse2; | |
| 1187 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x64 = vp9_sub_pixel_avg_v
ariance64x64_ssse3; | |
| 1188 | |
| 1189 vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32x64_c; | |
| 1190 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance32
x64_sse2; | |
| 1191 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x64 = vp9_sub_pixel_variance3
2x64_ssse3; | |
| 1192 | |
| 1193 vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_variance32x64_c; | |
| 1194 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_va
riance32x64_sse2; | |
| 1195 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x64 = vp9_sub_pixel_avg_v
ariance32x64_ssse3; | |
| 1196 | |
| 1197 vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64x32_c; | |
| 1198 if (flags & HAS_SSE2) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance64
x32_sse2; | |
| 1199 if (flags & HAS_SSSE3) vp9_sub_pixel_variance64x32 = vp9_sub_pixel_variance6
4x32_ssse3; | |
| 1200 | |
| 1201 vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_variance64x32_c; | |
| 1202 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_va
riance64x32_sse2; | |
| 1203 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance64x32 = vp9_sub_pixel_avg_v
ariance64x32_ssse3; | |
| 1204 | |
| 1205 vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32x16_c; | |
| 1206 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance32
x16_sse2; | |
| 1207 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x16 = vp9_sub_pixel_variance3
2x16_ssse3; | |
| 1208 | |
| 1209 vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_variance32x16_c; | |
| 1210 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_va
riance32x16_sse2; | |
| 1211 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x16 = vp9_sub_pixel_avg_v
ariance32x16_ssse3; | |
| 1212 | |
| 1213 vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16x32_c; | |
| 1214 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance16
x32_sse2; | |
| 1215 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x32 = vp9_sub_pixel_variance1
6x32_ssse3; | |
| 1216 | |
| 1217 vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_variance16x32_c; | |
| 1218 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_va
riance16x32_sse2; | |
| 1219 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x32 = vp9_sub_pixel_avg_v
ariance16x32_ssse3; | |
| 1220 | |
| 1221 vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32x32_c; | |
| 1222 if (flags & HAS_SSE2) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance32
x32_sse2; | |
| 1223 if (flags & HAS_SSSE3) vp9_sub_pixel_variance32x32 = vp9_sub_pixel_variance3
2x32_ssse3; | |
| 1224 | |
| 1225 vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_variance32x32_c; | |
| 1226 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_va
riance32x32_sse2; | |
| 1227 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance32x32 = vp9_sub_pixel_avg_v
ariance32x32_ssse3; | |
| 1228 | |
| 1229 vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16x16_c; | |
| 1230 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance16
x16_sse2; | |
| 1231 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x16 = vp9_sub_pixel_variance1
6x16_ssse3; | |
| 1232 | |
| 1233 vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_variance16x16_c; | |
| 1234 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_va
riance16x16_sse2; | |
| 1235 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x16 = vp9_sub_pixel_avg_v
ariance16x16_ssse3; | |
| 1236 | |
| 1237 vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x16_c; | |
| 1238 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x1
6_sse2; | |
| 1239 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x16 = vp9_sub_pixel_variance8x
16_ssse3; | |
| 1240 | |
| 1241 vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_variance8x16_c; | |
| 1242 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_var
iance8x16_sse2; | |
| 1243 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x16 = vp9_sub_pixel_avg_va
riance8x16_ssse3; | |
| 1244 | |
| 1245 vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x8_c; | |
| 1246 if (flags & HAS_SSE2) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16x
8_sse2; | |
| 1247 if (flags & HAS_SSSE3) vp9_sub_pixel_variance16x8 = vp9_sub_pixel_variance16
x8_ssse3; | |
| 1248 | |
| 1249 vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_variance16x8_c; | |
| 1250 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_var
iance16x8_sse2; | |
| 1251 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance16x8 = vp9_sub_pixel_avg_va
riance16x8_ssse3; | |
| 1252 | |
| 1253 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_c; | |
| 1254 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_
sse2; | |
| 1255 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | |
| 1256 | |
| 1257 vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_variance8x8_c; | |
| 1258 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_vari
ance8x8_sse2; | |
| 1259 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x8 = vp9_sub_pixel_avg_var
iance8x8_ssse3; | |
| 1260 | |
| 1261 vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_c; | |
| 1262 if (flags & HAS_SSE2) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4_
sse2; | |
| 1263 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x4 = vp9_sub_pixel_variance8x4
_ssse3; | |
| 1264 | |
| 1265 vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_variance8x4_c; | |
| 1266 if (flags & HAS_SSE2) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_vari
ance8x4_sse2; | |
| 1267 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance8x4 = vp9_sub_pixel_avg_var
iance8x4_ssse3; | |
| 1268 | |
| 1269 vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_c; | |
| 1270 if (flags & HAS_SSE) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8_s
se; | |
| 1271 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x8 = vp9_sub_pixel_variance4x8
_ssse3; | |
| 1272 | |
| 1273 vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_variance4x8_c; | |
| 1274 if (flags & HAS_SSE) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_varia
nce4x8_sse; | |
| 1275 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x8 = vp9_sub_pixel_avg_var
iance4x8_ssse3; | |
| 1276 | |
| 1277 vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_c; | |
| 1278 if (flags & HAS_SSE) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4_s
se; | |
| 1279 if (flags & HAS_SSSE3) vp9_sub_pixel_variance4x4 = vp9_sub_pixel_variance4x4
_ssse3; | |
| 1280 | |
| 1281 vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_variance4x4_c; | |
| 1282 if (flags & HAS_SSE) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_varia
nce4x4_sse; | |
| 1283 if (flags & HAS_SSSE3) vp9_sub_pixel_avg_variance4x4 = vp9_sub_pixel_avg_var
iance4x4_ssse3; | |
| 1284 | |
| 1285 vp9_sad64x64 = vp9_sad64x64_c; | |
| 1286 if (flags & HAS_SSE2) vp9_sad64x64 = vp9_sad64x64_sse2; | |
| 1287 | |
| 1288 vp9_sad32x64 = vp9_sad32x64_c; | |
| 1289 if (flags & HAS_SSE2) vp9_sad32x64 = vp9_sad32x64_sse2; | |
| 1290 | |
| 1291 vp9_sad64x32 = vp9_sad64x32_c; | |
| 1292 if (flags & HAS_SSE2) vp9_sad64x32 = vp9_sad64x32_sse2; | |
| 1293 | |
| 1294 vp9_sad32x16 = vp9_sad32x16_c; | |
| 1295 if (flags & HAS_SSE2) vp9_sad32x16 = vp9_sad32x16_sse2; | |
| 1296 | |
| 1297 vp9_sad16x32 = vp9_sad16x32_c; | |
| 1298 if (flags & HAS_SSE2) vp9_sad16x32 = vp9_sad16x32_sse2; | |
| 1299 | |
| 1300 vp9_sad32x32 = vp9_sad32x32_c; | |
| 1301 if (flags & HAS_SSE2) vp9_sad32x32 = vp9_sad32x32_sse2; | |
| 1302 | |
| 1303 vp9_sad16x16 = vp9_sad16x16_c; | |
| 1304 if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx; | |
| 1305 if (flags & HAS_SSE2) vp9_sad16x16 = vp9_sad16x16_sse2; | |
| 1306 | |
| 1307 vp9_sad16x8 = vp9_sad16x8_c; | |
| 1308 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx; | |
| 1309 if (flags & HAS_SSE2) vp9_sad16x8 = vp9_sad16x8_sse2; | |
| 1310 | |
| 1311 vp9_sad8x16 = vp9_sad8x16_c; | |
| 1312 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx; | |
| 1313 if (flags & HAS_SSE2) vp9_sad8x16 = vp9_sad8x16_sse2; | |
| 1314 | |
| 1315 vp9_sad8x8 = vp9_sad8x8_c; | |
| 1316 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx; | |
| 1317 if (flags & HAS_SSE2) vp9_sad8x8 = vp9_sad8x8_sse2; | |
| 1318 | |
| 1319 vp9_sad8x4 = vp9_sad8x4_c; | |
| 1320 if (flags & HAS_SSE2) vp9_sad8x4 = vp9_sad8x4_sse2; | |
| 1321 | |
| 1322 vp9_sad4x8 = vp9_sad4x8_c; | |
| 1323 if (flags & HAS_SSE) vp9_sad4x8 = vp9_sad4x8_sse; | |
| 1324 | |
| 1325 vp9_sad4x4 = vp9_sad4x4_c; | |
| 1326 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx; | |
| 1327 if (flags & HAS_SSE) vp9_sad4x4 = vp9_sad4x4_sse; | |
| 1328 | |
| 1329 vp9_sad64x64_avg = vp9_sad64x64_avg_c; | |
| 1330 if (flags & HAS_SSE2) vp9_sad64x64_avg = vp9_sad64x64_avg_sse2; | |
| 1331 | |
| 1332 vp9_sad32x64_avg = vp9_sad32x64_avg_c; | |
| 1333 if (flags & HAS_SSE2) vp9_sad32x64_avg = vp9_sad32x64_avg_sse2; | |
| 1334 | |
| 1335 vp9_sad64x32_avg = vp9_sad64x32_avg_c; | |
| 1336 if (flags & HAS_SSE2) vp9_sad64x32_avg = vp9_sad64x32_avg_sse2; | |
| 1337 | |
| 1338 vp9_sad32x16_avg = vp9_sad32x16_avg_c; | |
| 1339 if (flags & HAS_SSE2) vp9_sad32x16_avg = vp9_sad32x16_avg_sse2; | |
| 1340 | |
| 1341 vp9_sad16x32_avg = vp9_sad16x32_avg_c; | |
| 1342 if (flags & HAS_SSE2) vp9_sad16x32_avg = vp9_sad16x32_avg_sse2; | |
| 1343 | |
| 1344 vp9_sad32x32_avg = vp9_sad32x32_avg_c; | |
| 1345 if (flags & HAS_SSE2) vp9_sad32x32_avg = vp9_sad32x32_avg_sse2; | |
| 1346 | |
| 1347 vp9_sad16x16_avg = vp9_sad16x16_avg_c; | |
| 1348 if (flags & HAS_SSE2) vp9_sad16x16_avg = vp9_sad16x16_avg_sse2; | |
| 1349 | |
| 1350 vp9_sad16x8_avg = vp9_sad16x8_avg_c; | |
| 1351 if (flags & HAS_SSE2) vp9_sad16x8_avg = vp9_sad16x8_avg_sse2; | |
| 1352 | |
| 1353 vp9_sad8x16_avg = vp9_sad8x16_avg_c; | |
| 1354 if (flags & HAS_SSE2) vp9_sad8x16_avg = vp9_sad8x16_avg_sse2; | |
| 1355 | |
| 1356 vp9_sad8x8_avg = vp9_sad8x8_avg_c; | |
| 1357 if (flags & HAS_SSE2) vp9_sad8x8_avg = vp9_sad8x8_avg_sse2; | |
| 1358 | |
| 1359 vp9_sad8x4_avg = vp9_sad8x4_avg_c; | |
| 1360 if (flags & HAS_SSE2) vp9_sad8x4_avg = vp9_sad8x4_avg_sse2; | |
| 1361 | |
| 1362 vp9_sad4x8_avg = vp9_sad4x8_avg_c; | |
| 1363 if (flags & HAS_SSE) vp9_sad4x8_avg = vp9_sad4x8_avg_sse; | |
| 1364 | |
| 1365 vp9_sad4x4_avg = vp9_sad4x4_avg_c; | |
| 1366 if (flags & HAS_SSE) vp9_sad4x4_avg = vp9_sad4x4_avg_sse; | |
| 1367 | |
| 1368 vp9_variance_halfpixvar16x16_h = vp9_variance_halfpixvar16x16_h_c; | |
| 1369 if (flags & HAS_SSE2) vp9_variance_halfpixvar16x16_h = vp9_variance_halfpixv
ar16x16_h_sse2; | |
| 1370 | |
| 1371 vp9_variance_halfpixvar16x16_v = vp9_variance_halfpixvar16x16_v_c; | |
| 1372 if (flags & HAS_SSE2) vp9_variance_halfpixvar16x16_v = vp9_variance_halfpixv
ar16x16_v_sse2; | |
| 1373 | |
| 1374 vp9_variance_halfpixvar16x16_hv = vp9_variance_halfpixvar16x16_hv_c; | |
| 1375 if (flags & HAS_SSE2) vp9_variance_halfpixvar16x16_hv = vp9_variance_halfpix
var16x16_hv_sse2; | |
| 1376 | |
| 1377 | |
| 1378 | |
| 1379 | |
| 1380 | |
| 1381 | |
| 1382 | |
| 1383 | |
| 1384 | |
| 1385 vp9_sad16x16x3 = vp9_sad16x16x3_c; | |
| 1386 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3; | |
| 1387 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3; | |
| 1388 | |
| 1389 vp9_sad16x8x3 = vp9_sad16x8x3_c; | |
| 1390 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3; | |
| 1391 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3; | |
| 1392 | |
| 1393 vp9_sad8x16x3 = vp9_sad8x16x3_c; | |
| 1394 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3; | |
| 1395 | |
| 1396 vp9_sad8x8x3 = vp9_sad8x8x3_c; | |
| 1397 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3; | |
| 1398 | |
| 1399 vp9_sad4x4x3 = vp9_sad4x4x3_c; | |
| 1400 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3; | |
| 1401 | |
| 1402 | |
| 1403 | |
| 1404 | |
| 1405 | |
| 1406 | |
| 1407 | |
| 1408 | |
| 1409 | |
| 1410 | |
| 1411 vp9_sad64x64x4d = vp9_sad64x64x4d_c; | |
| 1412 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2; | |
| 1413 | |
| 1414 vp9_sad32x64x4d = vp9_sad32x64x4d_c; | |
| 1415 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2; | |
| 1416 | |
| 1417 vp9_sad64x32x4d = vp9_sad64x32x4d_c; | |
| 1418 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2; | |
| 1419 | |
| 1420 vp9_sad32x16x4d = vp9_sad32x16x4d_c; | |
| 1421 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2; | |
| 1422 | |
| 1423 vp9_sad16x32x4d = vp9_sad16x32x4d_c; | |
| 1424 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2; | |
| 1425 | |
| 1426 vp9_sad32x32x4d = vp9_sad32x32x4d_c; | |
| 1427 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2; | |
| 1428 | |
| 1429 vp9_sad16x16x4d = vp9_sad16x16x4d_c; | |
| 1430 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2; | |
| 1431 | |
| 1432 vp9_sad16x8x4d = vp9_sad16x8x4d_c; | |
| 1433 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2; | |
| 1434 | |
| 1435 vp9_sad8x16x4d = vp9_sad8x16x4d_c; | |
| 1436 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2; | |
| 1437 | |
| 1438 vp9_sad8x8x4d = vp9_sad8x8x4d_c; | |
| 1439 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2; | |
| 1440 | |
| 1441 vp9_sad8x4x4d = vp9_sad8x4x4d_c; | |
| 1442 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2; | |
| 1443 | |
| 1444 vp9_sad4x8x4d = vp9_sad4x8x4d_c; | |
| 1445 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse; | |
| 1446 | |
| 1447 vp9_sad4x4x4d = vp9_sad4x4x4d_c; | |
| 1448 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse; | |
| 1449 | |
| 1450 vp9_mse16x16 = vp9_mse16x16_c; | |
| 1451 if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx; | |
| 1452 if (flags & HAS_SSE2) vp9_mse16x16 = vp9_mse16x16_sse2; | |
| 1453 | |
| 1454 | |
| 1455 | |
| 1456 | |
| 1457 | |
| 1458 | |
| 1459 vp9_get_mb_ss = vp9_get_mb_ss_c; | |
| 1460 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx; | |
| 1461 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2; | |
| 1462 | |
| 1463 vp9_block_error = vp9_block_error_c; | |
| 1464 if (flags & HAS_SSE2) vp9_block_error = vp9_block_error_sse2; | |
| 1465 | |
| 1466 vp9_subtract_block = vp9_subtract_block_c; | |
| 1467 if (flags & HAS_SSE2) vp9_subtract_block = vp9_subtract_block_sse2; | |
| 1468 | |
| 1469 | |
| 1470 | |
| 1471 vp9_short_fht4x4 = vp9_short_fht4x4_c; | |
| 1472 if (flags & HAS_SSE2) vp9_short_fht4x4 = vp9_short_fht4x4_sse2; | |
| 1473 | |
| 1474 vp9_short_fht8x8 = vp9_short_fht8x8_c; | |
| 1475 if (flags & HAS_SSE2) vp9_short_fht8x8 = vp9_short_fht8x8_sse2; | |
| 1476 | |
| 1477 vp9_short_fht16x16 = vp9_short_fht16x16_c; | |
| 1478 if (flags & HAS_SSE2) vp9_short_fht16x16 = vp9_short_fht16x16_sse2; | |
| 1479 | |
| 1480 | |
| 1481 vp9_fdct4x4 = vp9_fdct4x4_c; | |
| 1482 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2; | |
| 1483 | |
| 1484 vp9_fdct8x8 = vp9_fdct8x8_c; | |
| 1485 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2; | |
| 1486 | |
| 1487 vp9_fdct16x16 = vp9_fdct16x16_c; | |
| 1488 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2; | |
| 1489 | |
| 1490 vp9_fdct32x32 = vp9_fdct32x32_c; | |
| 1491 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2; | |
| 1492 | |
| 1493 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c; | |
| 1494 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2; | |
| 1495 | |
| 1496 vp9_full_search_sad = vp9_full_search_sad_c; | |
| 1497 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; | |
| 1498 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; | |
| 1499 | |
| 1500 vp9_refining_search_sad = vp9_refining_search_sad_c; | |
| 1501 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; | |
| 1502 | |
| 1503 vp9_diamond_search_sad = vp9_diamond_search_sad_c; | |
| 1504 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4; | |
| 1505 | |
| 1506 | |
| 1507 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c; | |
| 1508 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_
sse2; | |
| 1509 } | 600 } |
| 1510 #endif | 601 #endif |
| 1511 | 602 |
| 1512 #ifdef __cplusplus | 603 #ifdef __cplusplus |
| 1513 } // extern "C" | 604 } // extern "C" |
| 1514 #endif | 605 #endif |
| 1515 | 606 |
| 1516 #endif | 607 #endif |
| OLD | NEW |