OLD | NEW |
1 #ifndef VP__RTCD_ | 1 #ifndef VP8_RTCD_H_ |
2 #define VP__RTCD_ | 2 #define VP8_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 /* | 10 /* |
11 * VP8 | 11 * VP8 |
12 */ | 12 */ |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch); | 391 void vp8_short_fdct8x4_mmx(short *input, short *output, int pitch); |
392 void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch); | 392 void vp8_short_fdct8x4_sse2(short *input, short *output, int pitch); |
393 #define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2 | 393 #define vp8_short_fdct8x4 vp8_short_fdct8x4_sse2 |
394 | 394 |
395 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); | 395 void vp8_short_walsh4x4_c(short *input, short *output, int pitch); |
396 void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch); | 396 void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch); |
397 #define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2 | 397 #define vp8_short_walsh4x4 vp8_short_walsh4x4_sse2 |
398 | 398 |
399 void vp8_regular_quantize_b_c(struct block *, struct blockd *); | 399 void vp8_regular_quantize_b_c(struct block *, struct blockd *); |
400 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); | 400 void vp8_regular_quantize_b_sse2(struct block *, struct blockd *); |
401 void vp8_regular_quantize_b_sse4(struct block *, struct blockd *); | 401 #define vp8_regular_quantize_b vp8_regular_quantize_b_sse2 |
402 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); | |
403 | 402 |
404 void vp8_fast_quantize_b_c(struct block *, struct blockd *); | 403 void vp8_fast_quantize_b_c(struct block *, struct blockd *); |
405 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *); | 404 void vp8_fast_quantize_b_sse2(struct block *, struct blockd *); |
406 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *); | 405 void vp8_fast_quantize_b_ssse3(struct block *, struct blockd *); |
407 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); | 406 RTCD_EXTERN void (*vp8_fast_quantize_b)(struct block *, struct blockd *); |
408 | 407 |
409 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); | 408 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct bl
ockd *d1, struct blockd *d2); |
410 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c | 409 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c |
411 | 410 |
412 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); | 411 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct block
d *d1, struct blockd *d2); |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 | 610 |
612 | 611 |
613 | 612 |
614 | 613 |
615 vp8_copy32xn = vp8_copy32xn_sse2; | 614 vp8_copy32xn = vp8_copy32xn_sse2; |
616 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3; | 615 if (flags & HAS_SSE3) vp8_copy32xn = vp8_copy32xn_sse3; |
617 | 616 |
618 | 617 |
619 | 618 |
620 | 619 |
621 vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; | |
622 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4
; | |
623 | 620 |
624 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; | 621 vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; |
625 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; | 622 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; |
626 | 623 |
627 | 624 |
628 | 625 |
629 | 626 |
630 | 627 |
631 | 628 |
632 | 629 |
633 | 630 |
634 | 631 |
635 | 632 |
636 | 633 |
637 | 634 |
638 vp8_full_search_sad = vp8_full_search_sad_c; | 635 vp8_full_search_sad = vp8_full_search_sad_c; |
639 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; | 636 if (flags & HAS_SSE3) vp8_full_search_sad = vp8_full_search_sadx3; |
640 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; | 637 if (flags & HAS_SSE4_1) vp8_full_search_sad = vp8_full_search_sadx8; |
641 | 638 |
642 vp8_refining_search_sad = vp8_refining_search_sad_c; | 639 vp8_refining_search_sad = vp8_refining_search_sad_c; |
643 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; | 640 if (flags & HAS_SSE3) vp8_refining_search_sad = vp8_refining_search_sadx4; |
644 | 641 |
645 vp8_diamond_search_sad = vp8_diamond_search_sad_c; | 642 vp8_diamond_search_sad = vp8_diamond_search_sad_c; |
646 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; | 643 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; |
647 } | 644 } |
648 #endif | 645 #endif |
649 #endif | 646 #endif |
OLD | NEW |