OLD | NEW |
1 #ifndef VP8_RTCD_H_ | 1 #ifndef VP8_RTCD_H_ |
2 #define VP8_RTCD_H_ | 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 #ifdef __cplusplus | |
11 extern "C" { | |
12 #endif | |
13 | |
14 /* | 10 /* |
15 * VP8 | 11 * VP8 |
16 */ | 12 */ |
17 | 13 |
18 struct blockd; | 14 struct blockd; |
19 struct macroblockd; | 15 struct macroblockd; |
20 struct loop_filter_info; | 16 struct loop_filter_info; |
21 | 17 |
22 /* Encoder forward decls */ | 18 /* Encoder forward decls */ |
23 struct block; | 19 struct block; |
24 struct macroblock; | 20 struct macroblock; |
25 struct variance_vtable; | 21 struct variance_vtable; |
26 union int_mv; | 22 union int_mv; |
27 struct yv12_buffer_config; | 23 struct yv12_buffer_config; |
28 | 24 |
| 25 #ifdef __cplusplus |
| 26 extern "C" { |
| 27 #endif |
| 28 |
29 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); | 29 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
30 void vp8_bilinear_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); | 30 void vp8_bilinear_predict16x16_mmx(unsigned char *src, int src_pitch, int xofst,
int yofst, unsigned char *dst, int dst_pitch); |
31 void vp8_bilinear_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst
, int yofst, unsigned char *dst, int dst_pitch); | 31 void vp8_bilinear_predict16x16_sse2(unsigned char *src, int src_pitch, int xofst
, int yofst, unsigned char *dst, int dst_pitch); |
32 void vp8_bilinear_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofs
t, int yofst, unsigned char *dst, int dst_pitch); | 32 void vp8_bilinear_predict16x16_ssse3(unsigned char *src, int src_pitch, int xofs
t, int yofst, unsigned char *dst, int dst_pitch); |
33 RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch,
int xofst, int yofst, unsigned char *dst, int dst_pitch); | 33 RTCD_EXTERN void (*vp8_bilinear_predict16x16)(unsigned char *src, int src_pitch,
int xofst, int yofst, unsigned char *dst, int dst_pitch); |
34 | 34 |
35 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); | 35 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int
yofst, unsigned char *dst, int dst_pitch); |
36 void vp8_bilinear_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); | 36 void vp8_bilinear_predict4x4_mmx(unsigned char *src, int src_pitch, int xofst, i
nt yofst, unsigned char *dst, int dst_pitch); |
37 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_mmx | 37 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_mmx |
38 | 38 |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; | 558 vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16x8_wmt; |
559 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16
x8_ssse3; | 559 if (flags & HAS_SSSE3) vp8_sub_pixel_variance16x8 = vp8_sub_pixel_variance16
x8_ssse3; |
560 } | 560 } |
561 #endif | 561 #endif |
562 | 562 |
563 #ifdef __cplusplus | 563 #ifdef __cplusplus |
564 } // extern "C" | 564 } // extern "C" |
565 #endif | 565 #endif |
566 | 566 |
567 #endif | 567 #endif |
OLD | NEW |