Mercurial > hg > beaglert
comparison include/ne10/NE10.h @ 379:24c3a0663d54 prerelease
Added Ne10 headers within include directory
author | andrewm |
---|---|
date | Sun, 12 Jun 2016 18:16:20 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
378:8db03611ee76 | 379:24c3a0663d54 |
---|---|
1 /* | |
2 * Copyright 2011-15 ARM Limited and Contributors. | |
3 * All rights reserved. | |
4 * | |
5 * Redistribution and use in source and binary forms, with or without | |
6 * modification, are permitted provided that the following conditions are met: | |
7 * * Redistributions of source code must retain the above copyright | |
8 * notice, this list of conditions and the following disclaimer. | |
9 * * Redistributions in binary form must reproduce the above copyright | |
10 * notice, this list of conditions and the following disclaimer in the | |
11 * documentation and/or other materials provided with the distribution. | |
12 * * Neither the name of ARM Limited nor the | |
13 * names of its contributors may be used to endorse or promote products | |
14 * derived from this software without specific prior written permission. | |
15 * | |
16 * THIS SOFTWARE IS PROVIDED BY ARM LIMITED AND CONTRIBUTORS "AS IS" AND | |
17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
19 * DISCLAIMED. IN NO EVENT SHALL ARM LIMITED AND CONTRIBUTORS BE LIABLE FOR ANY | |
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | |
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
26 */ | |
27 | |
28 /* | |
29 * NE10 Library : inc/NE10.h | |
30 */ | |
31 | |
32 /** | |
33 \mainpage Welcome to Ne10 Documentation! | |
34 * | |
35 * | |
36 *\par Introduction | |
37 * | |
38 * Ne10 (http://projectne10.github.com/Ne10/) is a library of the most commonly used functions that have been heavily | |
39 * optimized for ARM-based CPUs with NEON. These functions provide a consistent | |
40 * well tested behavior that can be easily incorporated into applications enabling | |
41 * developers to get the most out of the ARM V7/NEON without arduous assembly coding. | |
42 * Ne10 is usable as a 'drop and go' pre-built library or as a set of modular functions | |
43 * that can be incorporated in a more modular "pick and mix" form where binary size might | |
44 * be an issue. | |
45 * | |
46 * The following figure illustrates the basic concepts of "What's Ne10" | |
47 *\image html ne10_library.png "Ne10 Library Description" | |
48 * | |
49 *\par Top-Level Overview | |
50 * When you checkout Ne10, you will notice a number of directories. These directories are as follows: | |
51 * <pre> | |
52 * ├── android | |
53 * │ └── Android reference files | |
54 * ├── build | |
55 * │ └── directory for build-related files | |
56 * ├── common | |
57 * │ └── directory for common header, table and macro definition files | |
58 * ├── doc | |
59 * │ └── directory for documentations | |
60 * ├── inc | |
61 * │ └── directory for functions'heaeder files | |
62 * ├── modules | |
63 * │ ├── dsp | |
64 * │ │ ├── @link groupDSPs dsp module@endlink that provides a set of signal processing functions, such as complex/real FFT/IFFT, FIR and IIR | |
65 * │ │ └── test | |
66 * │ │ └── directory for test files | |
67 * │ ├── imgproc | |
68 * │ │ ├── @link groupIMGPROCs imgproc module@endlink that provides a set of image processing functions, such as image resize, image rotate | |
69 * │ │ └── test | |
70 * │ │ └── directory for test files | |
71 * │ ├── math | |
72 * │ │ ├── @link groupMaths math module@endlink that provides a set of vector/matrix algebra functions | |
73 * │ │ └── test | |
74 * │ │ └── directory for test files | |
75 * │ ├── physics | |
76 * │ │ ├── @link groupPhysics physics module@endlink that provides a set of collision detection functions | |
77 * │ │ └── test | |
78 * │ │ └── directory for test files | |
79 * ├── samples | |
80 * │ └── @link groupSamples sample code@endlink | |
81 * ├── test | |
82 * │ ├── directory for test framework | |
83 * ├── tools | |
84 * │ ├── directory for tools such as Cformatter, doxygen, etc | |
85 * </pre> | |
86 * | |
87 *\par Modules Description | |
88 * Ne10 has a modular structure, which means that the package includes several shared or static libraries. | |
89 * Currently, the following modules are available or in plan: | |
90 * | |
91 * - @link groupMaths Math Functions@endlink | |
92 * - @link groupDSPs Signal Processing Functions@endlink | |
93 * - @link groupIMGPROCs Image Processing Functions@endlink | |
94 * - @link groupPhysics Physics Functions@endlink | |
95 * - Others | |
96 * | |
97 *\par Usage | |
98 * | |
99 * Ne10 library provides directly and indirectly function call. you could check the @link groupSamples sample code@endlink for details | |
100 * | |
101 *\par Build | |
102 * | |
103 * See CMakeBuilding.txt file in the "doc" folder | |
104 * | |
105 *\par Code formatter | |
106 * | |
107 * See Formatter.txt file in the "doc" folder | |
108 * | |
109 *\par License | |
110 * | |
111 * The Ne10 is provided free of charge by ARM Limited and Contributors, and licensed under both New BSD License | |
112 * (http://opensource.org/licenses/BSD-3-Clause) and Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0). | |
113 * You could also check the LICENSE file in "doc" directory | |
114 */ | |
115 | |
116 | |
117 /** | |
118 * @defgroup groupMaths Math Functions | |
119 * | |
120 * | |
121 * This set of functions provide vector/matrix algebra functions that include | |
122 * add, sub, multiply, div and so on. Currently, only the float (single precision) | |
123 * data type is supported. | |
124 */ | |
125 | |
126 /** | |
127 * @defgroup groupDSPs Signal Processing Functions | |
128 * | |
129 * | |
130 * This set of functions provide some commonly used functions in signal processing, | |
131 * such as complex/real FFT/IFFT, FIR and IIR. Currently, only the float (single precision) | |
132 * data type is supported. | |
133 */ | |
134 | |
135 /** | |
136 * @defgroup groupIMGPROCs Image Processing Functions | |
137 * | |
138 * | |
139 * This set of functions provide some commonly used functions in image processing, | |
140 * such as image scale, image rotate. | |
141 */ | |
142 | |
143 /** | |
144 * @defgroup groupPhysics Physics Functions | |
145 * | |
146 * | |
147 * This set of functions provide some APIs used for collision detection, | |
148 * such as compute AABB, caculate relative velocity and apply contact impulse. | |
149 */ | |
150 | |
151 /** | |
152 * @defgroup groupSamples Sample Functions | |
153 * | |
154 * | |
155 * This set of functions provide some sample functions. | |
156 */ | |
157 | |
158 | |
159 #ifndef NE10_H | |
160 #define NE10_H | |
161 | |
162 #ifdef __cplusplus | |
163 extern "C" { | |
164 #endif | |
165 | |
166 #include <stdio.h> | |
167 #include <stdlib.h> | |
168 #include <math.h> | |
169 #include <string.h> | |
170 | |
171 #include "NE10_types.h" | |
172 #include "NE10_macros.h" | |
173 #include "NE10_init.h" | |
174 #include "NE10_math.h" | |
175 #include "NE10_dsp.h" | |
176 #include "NE10_imgproc.h" | |
177 #include "NE10_physics.h" | |
178 | |
179 #ifdef __cplusplus | |
180 } | |
181 #endif | |
182 | |
183 #endif |