Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: source/config/mac/ia32/vp9_rtcd.h

Issue 149883003: Disable VP9 encoder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/config/linux/x64/vpx_config.c ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in t tx_type); 329 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in t tx_type);
330 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch, int tx_type); 330 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch, int tx_type);
331 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output, int pitch, int tx_type); 331 RTCD_EXTERN void (*vp9_iht16x16_256_add)(const int16_t *input, uint8_t *output, int pitch, int tx_type);
332 332
333 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 333 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
334 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c 334 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
335 335
336 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); 336 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
337 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c 337 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
338 338
339 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);
340 #define vp9_variance32x16 vp9_variance32x16_c
341
342 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);
343 #define vp9_variance16x32 vp9_variance16x32_c
344
345 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);
346 #define vp9_variance64x32 vp9_variance64x32_c
347
348 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);
349 #define vp9_variance32x64 vp9_variance32x64_c
350
351 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);
352 #define vp9_variance32x32 vp9_variance32x32_c
353
354 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);
355 #define vp9_variance64x64 vp9_variance64x64_c
356
357 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);
358 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);
359 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);
360
361 unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
362 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);
363 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);
364
365 unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
366 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);
367 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);
368
369 unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
370 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);
371 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);
372
373 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);
374 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);
375 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);
376
377 unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
378 #define vp9_variance8x4 vp9_variance8x4_c
379
380 unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
381 #define vp9_variance4x8 vp9_variance4x8_c
382
383 unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
384 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);
385 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);
386
387 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);
388 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
389
390 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);
391 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
392
393 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);
394 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
395
396 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);
397 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
398
399 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);
400 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
401
402 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);
403 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
404
405 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);
406 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
407
408 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);
409 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
410
411 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);
412 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
413
414 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);
415 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
416
417 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);
418 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
419
420 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);
421 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
422
423 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);
424 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
425
426 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);
427 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
428
429 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);
430 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
431
432 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);
433 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
434
435 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);
436 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
437
438 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);
439 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
440
441 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);
442 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
443
444 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);
445 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
446
447 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);
448 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
449
450 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);
451 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
452
453 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);
454 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
455
456 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);
457 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
458
459 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);
460 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
461
462 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);
463 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
464
465 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);
466 #define vp9_sad64x64 vp9_sad64x64_c
467
468 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);
469 #define vp9_sad32x64 vp9_sad32x64_c
470
471 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);
472 #define vp9_sad64x32 vp9_sad64x32_c
473
474 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);
475 #define vp9_sad32x16 vp9_sad32x16_c
476
477 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);
478 #define vp9_sad16x32 vp9_sad16x32_c
479
480 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);
481 #define vp9_sad32x32 vp9_sad32x32_c
482
483 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);
484 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);
485 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);
486
487 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride, unsigned int max_sad);
488 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);
489 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);
490
491 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);
492 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);
493 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);
494
495 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);
496 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);
497 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);
498
499 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);
500 #define vp9_sad8x4 vp9_sad8x4_c
501
502 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);
503 #define vp9_sad4x8 vp9_sad4x8_c
504
505 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);
506 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);
507 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);
508
509 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);
510 #define vp9_sad64x64_avg vp9_sad64x64_avg_c
511
512 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);
513 #define vp9_sad32x64_avg vp9_sad32x64_avg_c
514
515 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);
516 #define vp9_sad64x32_avg vp9_sad64x32_avg_c
517
518 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);
519 #define vp9_sad32x16_avg vp9_sad32x16_avg_c
520
521 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);
522 #define vp9_sad16x32_avg vp9_sad16x32_avg_c
523
524 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);
525 #define vp9_sad32x32_avg vp9_sad32x32_avg_c
526
527 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);
528 #define vp9_sad16x16_avg vp9_sad16x16_avg_c
529
530 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);
531 #define vp9_sad16x8_avg vp9_sad16x8_avg_c
532
533 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);
534 #define vp9_sad8x16_avg vp9_sad8x16_avg_c
535
536 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);
537 #define vp9_sad8x8_avg vp9_sad8x8_avg_c
538
539 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);
540 #define vp9_sad8x4_avg vp9_sad8x4_avg_c
541
542 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);
543 #define vp9_sad4x8_avg vp9_sad4x8_avg_c
544
545 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);
546 #define vp9_sad4x4_avg vp9_sad4x4_avg_c
547
548 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);
549 #define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c
550
551 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);
552 #define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c
553
554 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);
555 #define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c
556
557 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);
558 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c
559
560 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);
561 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c
562
563 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);
564 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c
565
566 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);
567 #define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c
568
569 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);
570 #define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c
571
572 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);
573 #define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c
574
575 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
576 #define vp9_sad64x64x3 vp9_sad64x64x3_c
577
578 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
579 #define vp9_sad32x32x3 vp9_sad32x32x3_c
580
581 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
582 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
583 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array);
584 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);
585
586 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);
587 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
588 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
589 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);
590
591 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);
592 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
593 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);
594
595 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);
596 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
597 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);
598
599 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);
600 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
601 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);
602
603 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);
604 #define vp9_sad64x64x8 vp9_sad64x64x8_c
605
606 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);
607 #define vp9_sad32x32x8 vp9_sad32x32x8_c
608
609 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);
610 #define vp9_sad16x16x8 vp9_sad16x16x8_c
611
612 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
613 #define vp9_sad16x8x8 vp9_sad16x8x8_c
614
615 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
616 #define vp9_sad8x16x8 vp9_sad8x16x8_c
617
618 void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
619 #define vp9_sad8x8x8 vp9_sad8x8x8_c
620
621 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);
622 #define vp9_sad8x4x8 vp9_sad8x4x8_c
623
624 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);
625 #define vp9_sad4x8x8 vp9_sad4x8x8_c
626
627 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
628 #define vp9_sad4x4x8 vp9_sad4x4x8_c
629
630 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);
631 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);
632 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);
633
634 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);
635 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);
636 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);
637
638 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);
639 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);
640 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);
641
642 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);
643 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);
644 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);
645
646 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);
647 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);
648 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);
649
650 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);
651 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);
652 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);
653
654 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);
655 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);
656 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);
657
658 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);
659 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);
660 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);
661
662 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);
663 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);
664 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);
665
666 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);
667 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);
668 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);
669
670 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);
671 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);
672 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);
673
674 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);
675 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);
676 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);
677
678 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);
679 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);
680 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);
681
682 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);
683 unsigned int vp9_mse16x16_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse);
684 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);
685
686 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);
687 #define vp9_mse8x16 vp9_mse8x16_c
688
689 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);
690 #define vp9_mse16x8 vp9_mse16x8_c
691
692 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);
693 #define vp9_mse8x8 vp9_mse8x8_c
694
695 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);
696 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c
697
698 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);
699 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c
700
701 unsigned int vp9_get_mb_ss_c(const int16_t *);
702 unsigned int vp9_get_mb_ss_mmx(const int16_t *);
703 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
704 RTCD_EXTERN unsigned int (*vp9_get_mb_ss)(const int16_t *);
705
706 int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
707 #define vp9_block_error vp9_block_error_c
708
709 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);
710 #define vp9_subtract_block vp9_subtract_block_c
711
712 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);
713 #define vp9_quantize_b vp9_quantize_b_c
714
715 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);
716 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
717
718 void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int t x_type);
719 void vp9_short_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, in t tx_type);
720 RTCD_EXTERN void (*vp9_short_fht4x4)(const int16_t *input, int16_t *output, int stride, int tx_type);
721
722 void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int t x_type);
723 void vp9_short_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, in t tx_type);
724 RTCD_EXTERN void (*vp9_short_fht8x8)(const int16_t *input, int16_t *output, int stride, int tx_type);
725
726 void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
727 void vp9_short_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx_type);
728 RTCD_EXTERN void (*vp9_short_fht16x16)(const int16_t *input, int16_t *output, in t stride, int tx_type);
729
730 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
731 #define vp9_fwht4x4 vp9_fwht4x4_c
732
733 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
734 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride);
735 RTCD_EXTERN void (*vp9_fdct4x4)(const int16_t *input, int16_t *output, int strid e);
736
737 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
738 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride);
739 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid e);
740
741 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
742 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride);
743 RTCD_EXTERN void (*vp9_fdct16x16)(const int16_t *input, int16_t *output, int str ide);
744
745 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
746 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride);
747 RTCD_EXTERN void (*vp9_fdct32x32)(const int16_t *input, int16_t *output, int str ide);
748
749 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
750 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride);
751 RTCD_EXTERN void (*vp9_fdct32x32_rd)(const int16_t *input, int16_t *output, int stride);
752
753 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);
754 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);
755 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);
756 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);
757
758 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);
759 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);
760 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);
761
762 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);
763 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);
764 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);
765
766 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);
767 #define vp9_full_range_search vp9_full_range_search_c
768
769 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);
770 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);
771 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);
772
773 void vp9_rtcd(void); 339 void vp9_rtcd(void);
774 340
775 #ifdef RTCD_C 341 #ifdef RTCD_C
776 #include "vpx_ports/x86.h" 342 #include "vpx_ports/x86.h"
777 static void setup_rtcd_internal(void) 343 static void setup_rtcd_internal(void)
778 { 344 {
779 int flags = x86_simd_caps(); 345 int flags = x86_simd_caps();
780 346
781 (void)flags; 347 (void)flags;
782 348
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2; 494 if (flags & HAS_SSE2) vp9_idct32x32_1_add = vp9_idct32x32_1_add_sse2;
929 495
930 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c; 496 vp9_iht4x4_16_add = vp9_iht4x4_16_add_c;
931 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2; 497 if (flags & HAS_SSE2) vp9_iht4x4_16_add = vp9_iht4x4_16_add_sse2;
932 498
933 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c; 499 vp9_iht8x8_64_add = vp9_iht8x8_64_add_c;
934 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2; 500 if (flags & HAS_SSE2) vp9_iht8x8_64_add = vp9_iht8x8_64_add_sse2;
935 501
936 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c; 502 vp9_iht16x16_256_add = vp9_iht16x16_256_add_c;
937 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2; 503 if (flags & HAS_SSE2) vp9_iht16x16_256_add = vp9_iht16x16_256_add_sse2;
938
939
940
941
942
943
944
945
946
947 vp9_variance16x16 = vp9_variance16x16_c;
948 if (flags & HAS_MMX) vp9_variance16x16 = vp9_variance16x16_mmx;
949
950 vp9_variance16x8 = vp9_variance16x8_c;
951 if (flags & HAS_MMX) vp9_variance16x8 = vp9_variance16x8_mmx;
952
953 vp9_variance8x16 = vp9_variance8x16_c;
954 if (flags & HAS_MMX) vp9_variance8x16 = vp9_variance8x16_mmx;
955
956 vp9_variance8x8 = vp9_variance8x8_c;
957 if (flags & HAS_MMX) vp9_variance8x8 = vp9_variance8x8_mmx;
958
959 vp9_get_sse_sum_8x8 = vp9_get_sse_sum_8x8_c;
960 if (flags & HAS_SSE2) vp9_get_sse_sum_8x8 = vp9_get8x8var_sse2;
961
962
963
964 vp9_variance4x4 = vp9_variance4x4_c;
965 if (flags & HAS_MMX) vp9_variance4x4 = vp9_variance4x4_mmx;
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999 vp9_sad16x16 = vp9_sad16x16_c;
1000 if (flags & HAS_MMX) vp9_sad16x16 = vp9_sad16x16_mmx;
1001
1002 vp9_sad16x8 = vp9_sad16x8_c;
1003 if (flags & HAS_MMX) vp9_sad16x8 = vp9_sad16x8_mmx;
1004
1005 vp9_sad8x16 = vp9_sad8x16_c;
1006 if (flags & HAS_MMX) vp9_sad8x16 = vp9_sad8x16_mmx;
1007
1008 vp9_sad8x8 = vp9_sad8x8_c;
1009 if (flags & HAS_MMX) vp9_sad8x8 = vp9_sad8x8_mmx;
1010
1011
1012
1013 vp9_sad4x4 = vp9_sad4x4_c;
1014 if (flags & HAS_MMX) vp9_sad4x4 = vp9_sad4x4_mmx;
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040 vp9_sad16x16x3 = vp9_sad16x16x3_c;
1041 if (flags & HAS_SSE3) vp9_sad16x16x3 = vp9_sad16x16x3_sse3;
1042 if (flags & HAS_SSSE3) vp9_sad16x16x3 = vp9_sad16x16x3_ssse3;
1043
1044 vp9_sad16x8x3 = vp9_sad16x8x3_c;
1045 if (flags & HAS_SSE3) vp9_sad16x8x3 = vp9_sad16x8x3_sse3;
1046 if (flags & HAS_SSSE3) vp9_sad16x8x3 = vp9_sad16x8x3_ssse3;
1047
1048 vp9_sad8x16x3 = vp9_sad8x16x3_c;
1049 if (flags & HAS_SSE3) vp9_sad8x16x3 = vp9_sad8x16x3_sse3;
1050
1051 vp9_sad8x8x3 = vp9_sad8x8x3_c;
1052 if (flags & HAS_SSE3) vp9_sad8x8x3 = vp9_sad8x8x3_sse3;
1053
1054 vp9_sad4x4x3 = vp9_sad4x4x3_c;
1055 if (flags & HAS_SSE3) vp9_sad4x4x3 = vp9_sad4x4x3_sse3;
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066 vp9_sad64x64x4d = vp9_sad64x64x4d_c;
1067 if (flags & HAS_SSE2) vp9_sad64x64x4d = vp9_sad64x64x4d_sse2;
1068
1069 vp9_sad32x64x4d = vp9_sad32x64x4d_c;
1070 if (flags & HAS_SSE2) vp9_sad32x64x4d = vp9_sad32x64x4d_sse2;
1071
1072 vp9_sad64x32x4d = vp9_sad64x32x4d_c;
1073 if (flags & HAS_SSE2) vp9_sad64x32x4d = vp9_sad64x32x4d_sse2;
1074
1075 vp9_sad32x16x4d = vp9_sad32x16x4d_c;
1076 if (flags & HAS_SSE2) vp9_sad32x16x4d = vp9_sad32x16x4d_sse2;
1077
1078 vp9_sad16x32x4d = vp9_sad16x32x4d_c;
1079 if (flags & HAS_SSE2) vp9_sad16x32x4d = vp9_sad16x32x4d_sse2;
1080
1081 vp9_sad32x32x4d = vp9_sad32x32x4d_c;
1082 if (flags & HAS_SSE2) vp9_sad32x32x4d = vp9_sad32x32x4d_sse2;
1083
1084 vp9_sad16x16x4d = vp9_sad16x16x4d_c;
1085 if (flags & HAS_SSE2) vp9_sad16x16x4d = vp9_sad16x16x4d_sse2;
1086
1087 vp9_sad16x8x4d = vp9_sad16x8x4d_c;
1088 if (flags & HAS_SSE2) vp9_sad16x8x4d = vp9_sad16x8x4d_sse2;
1089
1090 vp9_sad8x16x4d = vp9_sad8x16x4d_c;
1091 if (flags & HAS_SSE2) vp9_sad8x16x4d = vp9_sad8x16x4d_sse2;
1092
1093 vp9_sad8x8x4d = vp9_sad8x8x4d_c;
1094 if (flags & HAS_SSE2) vp9_sad8x8x4d = vp9_sad8x8x4d_sse2;
1095
1096 vp9_sad8x4x4d = vp9_sad8x4x4d_c;
1097 if (flags & HAS_SSE2) vp9_sad8x4x4d = vp9_sad8x4x4d_sse2;
1098
1099 vp9_sad4x8x4d = vp9_sad4x8x4d_c;
1100 if (flags & HAS_SSE) vp9_sad4x8x4d = vp9_sad4x8x4d_sse;
1101
1102 vp9_sad4x4x4d = vp9_sad4x4x4d_c;
1103 if (flags & HAS_SSE) vp9_sad4x4x4d = vp9_sad4x4x4d_sse;
1104
1105 vp9_mse16x16 = vp9_mse16x16_c;
1106 if (flags & HAS_MMX) vp9_mse16x16 = vp9_mse16x16_mmx;
1107
1108
1109
1110
1111
1112
1113 vp9_get_mb_ss = vp9_get_mb_ss_c;
1114 if (flags & HAS_MMX) vp9_get_mb_ss = vp9_get_mb_ss_mmx;
1115 if (flags & HAS_SSE2) vp9_get_mb_ss = vp9_get_mb_ss_sse2;
1116
1117
1118
1119
1120
1121 vp9_short_fht4x4 = vp9_short_fht4x4_c;
1122 if (flags & HAS_SSE2) vp9_short_fht4x4 = vp9_short_fht4x4_sse2;
1123
1124 vp9_short_fht8x8 = vp9_short_fht8x8_c;
1125 if (flags & HAS_SSE2) vp9_short_fht8x8 = vp9_short_fht8x8_sse2;
1126
1127 vp9_short_fht16x16 = vp9_short_fht16x16_c;
1128 if (flags & HAS_SSE2) vp9_short_fht16x16 = vp9_short_fht16x16_sse2;
1129
1130
1131 vp9_fdct4x4 = vp9_fdct4x4_c;
1132 if (flags & HAS_SSE2) vp9_fdct4x4 = vp9_fdct4x4_sse2;
1133
1134 vp9_fdct8x8 = vp9_fdct8x8_c;
1135 if (flags & HAS_SSE2) vp9_fdct8x8 = vp9_fdct8x8_sse2;
1136
1137 vp9_fdct16x16 = vp9_fdct16x16_c;
1138 if (flags & HAS_SSE2) vp9_fdct16x16 = vp9_fdct16x16_sse2;
1139
1140 vp9_fdct32x32 = vp9_fdct32x32_c;
1141 if (flags & HAS_SSE2) vp9_fdct32x32 = vp9_fdct32x32_sse2;
1142
1143 vp9_fdct32x32_rd = vp9_fdct32x32_rd_c;
1144 if (flags & HAS_SSE2) vp9_fdct32x32_rd = vp9_fdct32x32_rd_sse2;
1145
1146 vp9_full_search_sad = vp9_full_search_sad_c;
1147 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
1148 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
1149
1150 vp9_refining_search_sad = vp9_refining_search_sad_c;
1151 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4;
1152
1153 vp9_diamond_search_sad = vp9_diamond_search_sad_c;
1154 if (flags & HAS_SSE3) vp9_diamond_search_sad = vp9_diamond_search_sadx4;
1155
1156
1157 vp9_temporal_filter_apply = vp9_temporal_filter_apply_c;
1158 if (flags & HAS_SSE2) vp9_temporal_filter_apply = vp9_temporal_filter_apply_ sse2;
1159 } 504 }
1160 #endif 505 #endif
1161 506
1162 #ifdef __cplusplus 507 #ifdef __cplusplus
1163 } // extern "C" 508 } // extern "C"
1164 #endif 509 #endif
1165 510
1166 #endif 511 #endif
OLDNEW
« no previous file with comments | « source/config/linux/x64/vpx_config.c ('k') | source/config/mac/ia32/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698