Line data Source code
1 : #ifndef AOM_SCALE_RTCD_H_
2 : #define AOM_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 aom_extend_frame_borders_c(struct yv12_buffer_config *ybf);
17 : #define aom_extend_frame_borders aom_extend_frame_borders_c
18 :
19 : void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf);
20 : #define aom_extend_frame_borders_y aom_extend_frame_borders_y_c
21 :
22 : void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
23 : #define aom_extend_frame_inner_borders aom_extend_frame_inner_borders_c
24 :
25 : void aom_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
26 : #define aom_horizontal_line_2_1_scale aom_horizontal_line_2_1_scale_c
27 :
28 : void aom_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
29 : #define aom_horizontal_line_5_3_scale aom_horizontal_line_5_3_scale_c
30 :
31 : void aom_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
32 : #define aom_horizontal_line_5_4_scale aom_horizontal_line_5_4_scale_c
33 :
34 : void aom_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
35 : #define aom_vertical_band_2_1_scale aom_vertical_band_2_1_scale_c
36 :
37 : void aom_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
38 : #define aom_vertical_band_2_1_scale_i aom_vertical_band_2_1_scale_i_c
39 :
40 : void aom_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
41 : #define aom_vertical_band_5_3_scale aom_vertical_band_5_3_scale_c
42 :
43 : void aom_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width);
44 : #define aom_vertical_band_5_4_scale aom_vertical_band_5_4_scale_c
45 :
46 : void aom_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
47 : #define aom_yv12_copy_frame aom_yv12_copy_frame_c
48 :
49 : void aom_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
50 : #define aom_yv12_copy_u aom_yv12_copy_u_c
51 :
52 : void aom_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc);
53 : #define aom_yv12_copy_v aom_yv12_copy_v_c
54 :
55 : void aom_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
56 : #define aom_yv12_copy_y aom_yv12_copy_y_c
57 :
58 : void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
59 : #define aom_yv12_extend_frame_borders aom_yv12_extend_frame_borders_c
60 :
61 : void aom_scale_rtcd(void);
62 :
63 : #ifdef RTCD_C
64 : #include "aom_ports/x86.h"
65 0 : static void setup_rtcd_internal(void)
66 : {
67 0 : int flags = x86_simd_caps();
68 :
69 : (void)flags;
70 :
71 0 : }
72 : #endif
73 :
74 : #ifdef __cplusplus
75 : } // extern "C"
76 : #endif
77 :
78 : #endif
|