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 RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); | 393 RTCD_EXTERN void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); |
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 RTCD_EXTERN void (*vp8_short_walsh4x4)(short *input, short *output, int pitch); | 397 RTCD_EXTERN void (*vp8_short_walsh4x4)(short *input, short *output, int pitch); |
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 *); | |
402 RTCD_EXTERN void (*vp8_regular_quantize_b)(struct block *, struct blockd *); | 401 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 |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
763 | 762 |
764 vp8_short_fdct8x4 = vp8_short_fdct8x4_c; | 763 vp8_short_fdct8x4 = vp8_short_fdct8x4_c; |
765 if (flags & HAS_MMX) vp8_short_fdct8x4 = vp8_short_fdct8x4_mmx; | 764 if (flags & HAS_MMX) vp8_short_fdct8x4 = vp8_short_fdct8x4_mmx; |
766 if (flags & HAS_SSE2) vp8_short_fdct8x4 = vp8_short_fdct8x4_sse2; | 765 if (flags & HAS_SSE2) vp8_short_fdct8x4 = vp8_short_fdct8x4_sse2; |
767 | 766 |
768 vp8_short_walsh4x4 = vp8_short_walsh4x4_c; | 767 vp8_short_walsh4x4 = vp8_short_walsh4x4_c; |
769 if (flags & HAS_SSE2) vp8_short_walsh4x4 = vp8_short_walsh4x4_sse2; | 768 if (flags & HAS_SSE2) vp8_short_walsh4x4 = vp8_short_walsh4x4_sse2; |
770 | 769 |
771 vp8_regular_quantize_b = vp8_regular_quantize_b_c; | 770 vp8_regular_quantize_b = vp8_regular_quantize_b_c; |
772 if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; | 771 if (flags & HAS_SSE2) vp8_regular_quantize_b = vp8_regular_quantize_b_sse2; |
773 if (flags & HAS_SSE4_1) vp8_regular_quantize_b = vp8_regular_quantize_b_sse4
; | |
774 | 772 |
775 vp8_fast_quantize_b = vp8_fast_quantize_b_c; | 773 vp8_fast_quantize_b = vp8_fast_quantize_b_c; |
776 if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; | 774 if (flags & HAS_SSE2) vp8_fast_quantize_b = vp8_fast_quantize_b_sse2; |
777 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; | 775 if (flags & HAS_SSSE3) vp8_fast_quantize_b = vp8_fast_quantize_b_ssse3; |
778 | 776 |
779 | 777 |
780 | 778 |
781 | 779 |
782 | 780 |
783 | 781 |
(...skipping 30 matching lines...) Expand all Loading... |
814 | 812 |
815 vp8_diamond_search_sad = vp8_diamond_search_sad_c; | 813 vp8_diamond_search_sad = vp8_diamond_search_sad_c; |
816 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; | 814 if (flags & HAS_SSE3) vp8_diamond_search_sad = vp8_diamond_search_sadx4; |
817 | 815 |
818 | 816 |
819 vp8_denoiser_filter = vp8_denoiser_filter_c; | 817 vp8_denoiser_filter = vp8_denoiser_filter_c; |
820 if (flags & HAS_SSE2) vp8_denoiser_filter = vp8_denoiser_filter_sse2; | 818 if (flags & HAS_SSE2) vp8_denoiser_filter = vp8_denoiser_filter_sse2; |
821 } | 819 } |
822 #endif | 820 #endif |
823 #endif | 821 #endif |
OLD | NEW |