/work/build/config/avm_scale_rtcd.h
Line | Count | Source |
1 | | // This file is generated. Do not edit. |
2 | | #ifndef AVM_SCALE_RTCD_H_ |
3 | | #define AVM_SCALE_RTCD_H_ |
4 | | |
5 | | #ifdef RTCD_C |
6 | | #define RTCD_EXTERN |
7 | | #else |
8 | | #define RTCD_EXTERN extern |
9 | | #endif |
10 | | |
11 | | #include <stdbool.h> |
12 | | |
13 | | struct yv12_buffer_config; |
14 | | |
15 | | #ifdef __cplusplus |
16 | | extern "C" { |
17 | | #endif |
18 | | |
19 | | void avm_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes, bool decoding); |
20 | 0 | #define avm_extend_frame_borders avm_extend_frame_borders_c |
21 | | |
22 | | void avm_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); |
23 | | #define avm_extend_frame_borders_y avm_extend_frame_borders_y_c |
24 | | |
25 | | void avm_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); |
26 | | #define avm_extend_frame_inner_borders avm_extend_frame_inner_borders_c |
27 | | |
28 | | void avm_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); |
29 | | #define avm_horizontal_line_2_1_scale avm_horizontal_line_2_1_scale_c |
30 | | |
31 | | void avm_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); |
32 | | #define avm_horizontal_line_5_3_scale avm_horizontal_line_5_3_scale_c |
33 | | |
34 | | void avm_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width); |
35 | | #define avm_horizontal_line_5_4_scale avm_horizontal_line_5_4_scale_c |
36 | | |
37 | | void avm_vertical_band_2_1_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width); |
38 | | #define avm_vertical_band_2_1_scale avm_vertical_band_2_1_scale_c |
39 | | |
40 | | void avm_vertical_band_2_1_scale_i_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width); |
41 | | #define avm_vertical_band_2_1_scale_i avm_vertical_band_2_1_scale_i_c |
42 | | |
43 | | void avm_vertical_band_5_3_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width); |
44 | | #define avm_vertical_band_5_3_scale avm_vertical_band_5_3_scale_c |
45 | | |
46 | | void avm_vertical_band_5_4_scale_c(unsigned char *source, int src_pitch, unsigned char *dest, int dest_pitch, unsigned int dest_width); |
47 | | #define avm_vertical_band_5_4_scale avm_vertical_band_5_4_scale_c |
48 | | |
49 | | void avm_yv12_copy_frame_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes); |
50 | 0 | #define avm_yv12_copy_frame avm_yv12_copy_frame_c |
51 | | |
52 | | void avm_yv12_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc); |
53 | | #define avm_yv12_copy_u avm_yv12_copy_u_c |
54 | | |
55 | | void avm_yv12_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc); |
56 | | #define avm_yv12_copy_v avm_yv12_copy_v_c |
57 | | |
58 | | void avm_yv12_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc); |
59 | | #define avm_yv12_copy_y avm_yv12_copy_y_c |
60 | | |
61 | | void avm_yv12_partial_coloc_copy_u_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend); |
62 | 0 | #define avm_yv12_partial_coloc_copy_u avm_yv12_partial_coloc_copy_u_c |
63 | | |
64 | | void avm_yv12_partial_coloc_copy_v_c(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, int hstart, int hend, int vstart, int vend); |
65 | 0 | #define avm_yv12_partial_coloc_copy_v avm_yv12_partial_coloc_copy_v_c |
66 | | |
67 | | void avm_yv12_partial_coloc_copy_y_c(const struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int hstart, int hend, int vstart, int vend); |
68 | 0 | #define avm_yv12_partial_coloc_copy_y avm_yv12_partial_coloc_copy_y_c |
69 | | |
70 | | void avm_yv12_partial_copy_u_c(const struct yv12_buffer_config *src_bc, int hstart1, int hend1, int vstart1, int vend1, struct yv12_buffer_config *dst_bc, int hstart2, int vstart2); |
71 | | #define avm_yv12_partial_copy_u avm_yv12_partial_copy_u_c |
72 | | |
73 | | void avm_yv12_partial_copy_v_c(const struct yv12_buffer_config *src_bc, int hstart1, int hend1, int vstart1, int vend1, struct yv12_buffer_config *dst_bc, int hstart2, int vstart2); |
74 | | #define avm_yv12_partial_copy_v avm_yv12_partial_copy_v_c |
75 | | |
76 | | void avm_yv12_partial_copy_y_c(const struct yv12_buffer_config *src_ybc, int hstart1, int hend1, int vstart1, int vend1, struct yv12_buffer_config *dst_ybc, int hstart2, int vstart2); |
77 | | #define avm_yv12_partial_copy_y avm_yv12_partial_copy_y_c |
78 | | |
79 | | int avm_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_alignment, int num_planes, bool alloc_pyramid); |
80 | | #define avm_yv12_realloc_with_new_border avm_yv12_realloc_with_new_border_c |
81 | | |
82 | | void avm_scale_rtcd(void); |
83 | | |
84 | | #ifdef RTCD_C |
85 | | #include "avm_ports/x86.h" |
86 | | static void setup_rtcd_internal(void) |
87 | 1 | { |
88 | 1 | int flags = x86_simd_caps(); |
89 | | |
90 | 1 | (void)flags; |
91 | | |
92 | 1 | } |
93 | | #endif |
94 | | |
95 | | #ifdef __cplusplus |
96 | | } // extern "C" |
97 | | #endif |
98 | | |
99 | | #endif |