-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_steps.h
199 lines (161 loc) · 3.43 KB
/
demo_steps.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
#ifndef DEMO_STEPS_H
#define DEMO_STEPS_H
#include <cstdint>
extern "C" {
////////////////////////////////////////////////////////////////////////////////
/**
\mainpage Introduction
Main documentation text
\section sec_xtil XTIL Documentation
This is the XTIL documentation...
\subsection sec_xtil_functions XTIL Functions
These are the documentation of tht main functions
-# @ref steps_xtil
*/
////////////////////////////////////////////////////////////////////////////////
/**
@defgroup steps_xtil XTIL Functions
This is the set of XTIL exported functions
*/
/**
* @defgroup steps_xtil_group1 Group1 XTIL Functions
* @ingroup steps_xtil
*
* This is GROUP1 of XTIL Functions
*/
/**
* @brief An example of a step function which wraps just a single XTIL call
* @ingroup steps_xtil_group1
*/
int
step_xtil_function1(
void *bin,
void *bout,
uint8_t btype,
uint16_t bwidth = 1924,
uint16_t bheight = 768
);
extern int step_xtil_function1(void*, void*, uint8_t, uint16_t, uint16_t);
/**
* @brief An example of a step function which wraps just a single XTIL call
* @ingroup steps_xtil_group1
*/
int
step_xtil_function2(
void *bin,
void *bout,
uint8_t btype,
uint16_t bwidth,
uint16_t bheight
);
extern int step_xtil_function2(void*, void*, uint8_t, uint16_t, uint16_t);
/**
* @brief An example of a step function which wraps just a single XTIL call
* @ingroup steps_xtil_group1
*/
int
step_xtil_function3(
void *bin,
void *bout,
uint8_t btype,
uint16_t bwidth,
uint16_t bheight
);
/**
* @defgroup steps_xtil_group2 Group2 XTIL Functions
* @ingroup steps_xtil
*
* This is GROUP2 of XTIL Functions
*/
/**
* @brief Another example of a step function which wraps just a single XTIL call
* @ingroup steps_xtil_group2
*/
int
step_xtil_function4(
void *bin,
void *bout,
uint8_t btype,
uint16_t bwidth,
uint16_t bheight
);
/**
* @brief Another example of a step function which wraps just a single XTIL call
* @ingroup steps_xtil_group2
*/
int
step_xtil_function5(
void *bin,
void *bout,
uint8_t btype,
uint16_t bwidth,
uint16_t bheight
);
/**
* @defgroup steps_xtil_sequence Integer Sequence Example Functions
* @ingroup steps_xtil
*
* This is a set of Integer numbers processing XTIL Functions
*/
/**
* @brief Integer Number Source
* @ingroup steps_xtil_sequence
*/
int
step_xtil_sequence_generator(
int *bout,
uint8_t count);
/**
* @brief Integer Number 1 Adder
* @ingroup steps_xtil_sequence
*/
int
step_xtil_sequence_adder(
int *bin,
int *bout,
uint8_t value);
/**
* @brief Integer Number Sink
* @ingroup steps_xtil_sequence
*/
int
step_xtil_sequence_consumer(
int *bin);
/**
* @brief Integer Numbers Comparator
* @ingroup steps_xtil_sequence
*/
int
step_xtil_sequence_compator(
int *bin1,
int *bin2);
////////////////////////////////////////////////////////////////////////////////
/**
@defgroup steps_macros XTIL Macros
This is the set of XTIL based Macro Functions
*/
/**
* @brief Another example step function which wraps multiple XTIL calls
* @ingroup steps_macros
*/
int
step_macro(
char *str,
uint8_t size
);
////////////////////////////////////////////////////////////////////////////////
/**
@defgroup steps_local Other Functions
This is the set of "local" exported functions
*/
/**
* @brief A third example of step which does not call XTIL functions
* @ingroup steps_local
*/
int
step_local(
uint8_t a,
uint8_t b
);
} // extern C
#endif /* end of include guard: DEMO_STEPS_H */