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