OLD | NEW |
| (Empty) |
1 #ifndef VPX_SCALE_RTCD_H_ | |
2 #define VPX_SCALE_RTCD_H_ | |
3 | |
4 #ifdef RTCD_C | |
5 #define RTCD_EXTERN | |
6 #else | |
7 #define RTCD_EXTERN extern | |
8 #endif | |
9 | |
10 struct yv12_buffer_config; | |
11 | |
12 #ifdef __cplusplus | |
13 extern "C" { | |
14 #endif | |
15 | |
16 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
17 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c | |
18 | |
19 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
20 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c | |
21 | |
22 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int s
ource_width, unsigned char *dest, unsigned int dest_width); | |
23 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c | |
24 | |
25 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch
, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
26 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c | |
27 | |
28 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pit
ch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
29 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c | |
30 | |
31 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch
, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
32 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c | |
33 | |
34 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch
, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width); | |
35 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c | |
36 | |
37 void vp8_yv12_copy_frame_c(const struct yv12_buffer_config *src_ybc, struct yv12
_buffer_config *dst_ybc); | |
38 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c | |
39 | |
40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); | |
41 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c | |
42 | |
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); | |
44 #define vpx_extend_frame_borders vpx_extend_frame_borders_c | |
45 | |
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf); | |
47 #define vpx_extend_frame_inner_borders vpx_extend_frame_inner_borders_c | |
48 | |
49 void vpx_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buf
fer_config *dst_ybc); | |
50 #define vpx_yv12_copy_y vpx_yv12_copy_y_c | |
51 | |
52 void vpx_scale_rtcd(void); | |
53 | |
54 #ifdef RTCD_C | |
55 #include "vpx_ports/x86.h" | |
56 static void setup_rtcd_internal(void) | |
57 { | |
58 int flags = x86_simd_caps(); | |
59 | |
60 (void)flags; | |
61 | |
62 } | |
63 #endif | |
64 | |
65 #ifdef __cplusplus | |
66 } // extern "C" | |
67 #endif | |
68 | |
69 #endif | |
OLD | NEW |