arm_common_tables.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------
2  * Project: CMSIS DSP Library
3  * Title: arm_common_tables.h
4  * Description: Extern declaration for common tables
5  *
6  * $Date: 27. January 2017
7  * $Revision: V.1.5.1
8  *
9  * Target Processor: Cortex-M cores
10  * -------------------------------------------------------------------- */
11 /*
12  * Copyright (C) 2010-2017 ARM Limited or its affiliates. All rights reserved.
13  *
14  * SPDX-License-Identifier: Apache-2.0
15  *
16  * Licensed under the Apache License, Version 2.0 (the License); you may
17  * not use this file except in compliance with the License.
18  * You may obtain a copy of the License at
19  *
20  * www.apache.org/licenses/LICENSE-2.0
21  *
22  * Unless required by applicable law or agreed to in writing, software
23  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
24  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25  * See the License for the specific language governing permissions and
26  * limitations under the License.
27  */
28 
29 #ifndef _ARM_COMMON_TABLES_H
30 #define _ARM_COMMON_TABLES_H
31 
32 #include "arm_math.h"
33 
34 #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_FFT_ALLOW_TABLES)
35 
36  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREV_1024)
37  extern const uint16_t armBitRevTable[1024];
38  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
39 
40  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_16)
41  extern const float32_t twiddleCoef_16[32];
42  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
43 
44  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_32)
45  extern const float32_t twiddleCoef_32[64];
46  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
47 
48  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_64)
49  extern const float32_t twiddleCoef_64[128];
50  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
51 
52  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_128)
53  extern const float32_t twiddleCoef_128[256];
54  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
55 
56  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_256)
57  extern const float32_t twiddleCoef_256[512];
58  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
59 
60  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_512)
61  extern const float32_t twiddleCoef_512[1024];
62  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
63 
64  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_1024)
65  extern const float32_t twiddleCoef_1024[2048];
66  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
67 
68  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_2048)
69  extern const float32_t twiddleCoef_2048[4096];
70  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
71 
72  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_F32_4096)
73  extern const float32_t twiddleCoef_4096[8192];
74  #define twiddleCoef twiddleCoef_4096
75  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
76 
77  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_16)
78  extern const q31_t twiddleCoef_16_q31[24];
79  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
80 
81  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_32)
82  extern const q31_t twiddleCoef_32_q31[48];
83  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
84 
85  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_64)
86  extern const q31_t twiddleCoef_64_q31[96];
87  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
88 
89  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_128)
90  extern const q31_t twiddleCoef_128_q31[192];
91  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
92 
93  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_256)
94  extern const q31_t twiddleCoef_256_q31[384];
95  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
96 
97  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_512)
98  extern const q31_t twiddleCoef_512_q31[768];
99  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
100 
101  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_1024)
102  extern const q31_t twiddleCoef_1024_q31[1536];
103  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
104 
105  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_2048)
106  extern const q31_t twiddleCoef_2048_q31[3072];
107  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
108 
109  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q31_4096)
110  extern const q31_t twiddleCoef_4096_q31[6144];
111  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
112 
113  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_16)
114  extern const q15_t twiddleCoef_16_q15[24];
115  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
116 
117  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_32)
118  extern const q15_t twiddleCoef_32_q15[48];
119  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
120 
121  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_64)
122  extern const q15_t twiddleCoef_64_q15[96];
123  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
124 
125  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_128)
126  extern const q15_t twiddleCoef_128_q15[192];
127  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
128 
129  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_256)
130  extern const q15_t twiddleCoef_256_q15[384];
131  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
132 
133  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_512)
134  extern const q15_t twiddleCoef_512_q15[768];
135  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
136 
137  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_1024)
138  extern const q15_t twiddleCoef_1024_q15[1536];
139  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
140 
141  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_2048)
142  extern const q15_t twiddleCoef_2048_q15[3072];
143  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
144 
145  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_Q15_4096)
146  extern const q15_t twiddleCoef_4096_q15[6144];
147  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
148 
149  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_32)
150  extern const float32_t twiddleCoef_rfft_32[32];
151  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
152 
153  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_64)
154  extern const float32_t twiddleCoef_rfft_64[64];
155  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
156 
157  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_128)
158  extern const float32_t twiddleCoef_rfft_128[128];
159  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
160 
161  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_256)
162  extern const float32_t twiddleCoef_rfft_256[256];
163  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
164 
165  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_512)
166  extern const float32_t twiddleCoef_rfft_512[512];
167  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
168 
169  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_1024)
170  extern const float32_t twiddleCoef_rfft_1024[1024];
171  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
172 
173  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_2048)
174  extern const float32_t twiddleCoef_rfft_2048[2048];
175  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
176 
177  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_TWIDDLECOEF_RFFT_F32_4096)
178  extern const float32_t twiddleCoef_rfft_4096[4096];
179  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
180 
181  /* floating-point bit reversal tables */
182 
183  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_16)
184  #define ARMBITREVINDEXTABLE_16_TABLE_LENGTH ((uint16_t)20)
186  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
187 
188  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_32)
189  #define ARMBITREVINDEXTABLE_32_TABLE_LENGTH ((uint16_t)48)
191  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
192 
193  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_64)
194  #define ARMBITREVINDEXTABLE_64_TABLE_LENGTH ((uint16_t)56)
196  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
197 
198  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_128)
199  #define ARMBITREVINDEXTABLE_128_TABLE_LENGTH ((uint16_t)208)
201  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
202 
203  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_256)
204  #define ARMBITREVINDEXTABLE_256_TABLE_LENGTH ((uint16_t)440)
206  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
207 
208  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_512)
209  #define ARMBITREVINDEXTABLE_512_TABLE_LENGTH ((uint16_t)448)
211  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
212 
213  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_1024)
214  #define ARMBITREVINDEXTABLE_1024_TABLE_LENGTH ((uint16_t)1800)
216  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
217 
218  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_2048)
219  #define ARMBITREVINDEXTABLE_2048_TABLE_LENGTH ((uint16_t)3808)
221  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
222 
223  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FLT_4096)
224  #define ARMBITREVINDEXTABLE_4096_TABLE_LENGTH ((uint16_t)4032)
226  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
227 
228 
229  /* fixed-point bit reversal tables */
230 
231  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_16)
232  #define ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH ((uint16_t)12)
234  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
235 
236  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_32)
237  #define ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH ((uint16_t)24)
239  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
240 
241  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_64)
242  #define ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH ((uint16_t)56)
244  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
245 
246  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_128)
247  #define ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH ((uint16_t)112)
249  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
250 
251  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_256)
252  #define ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH ((uint16_t)240)
254  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
255 
256  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_512)
257  #define ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH ((uint16_t)480)
259  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
260 
261  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_1024)
262  #define ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH ((uint16_t)992)
264  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
265 
266  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_2048)
267  #define ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH ((uint16_t)1984)
269  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
270 
271  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_BITREVIDX_FXT_4096)
272  #define ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH ((uint16_t)4032)
274  #endif /* !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) */
275 
276  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_REALCOEF_F32)
277  extern const float32_t realCoefA[8192];
278  extern const float32_t realCoefB[8192];
279  #endif
280 
281  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_REALCOEF_Q31)
282  extern const q31_t realCoefAQ31[8192];
283  extern const q31_t realCoefBQ31[8192];
284  #endif
285 
286  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_REALCOEF_Q15)
287  extern const q15_t realCoefAQ15[8192];
288  extern const q15_t realCoefBQ15[8192];
289  #endif
290 
291  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_F32_128)
292  extern const float32_t Weights_128[256];
293  extern const float32_t cos_factors_128[128];
294  #endif
295 
296  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_F32_512)
297  extern const float32_t Weights_512[1024];
298  extern const float32_t cos_factors_512[512];
299  #endif
300 
301  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_F32_2048)
302  extern const float32_t Weights_2048[4096];
303  extern const float32_t cos_factors_2048[2048];
304  #endif
305 
306  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_F32_8192)
307  extern const float32_t Weights_8192[16384];
308  extern const float32_t cos_factors_8192[8192];
309  #endif
310 
311  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q15_128)
312  extern const q15_t WeightsQ15_128[256];
313  extern const q15_t cos_factorsQ15_128[128];
314  #endif
315 
316  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q15_512)
317  extern const q15_t WeightsQ15_512[1024];
318  extern const q15_t cos_factorsQ15_512[512];
319  #endif
320 
321  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q15_2048)
322  extern const q15_t WeightsQ15_2048[4096];
323  extern const q15_t cos_factorsQ15_2048[2048];
324  #endif
325 
326  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q15_8192)
327  extern const q15_t WeightsQ15_8192[16384];
328  extern const q15_t cos_factorsQ15_8192[8192];
329  #endif
330 
331  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q31_128)
332  extern const q31_t WeightsQ31_128[256];
333  extern const q31_t cos_factorsQ31_128[128];
334  #endif
335 
336  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q31_512)
337  extern const q31_t WeightsQ31_512[1024];
338  extern const q31_t cos_factorsQ31_512[512];
339  #endif
340 
341  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q31_2048)
342  extern const q31_t WeightsQ31_2048[4096];
343  extern const q31_t cos_factorsQ31_2048[2048];
344  #endif
345 
346  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FFT_TABLES) || defined(ARM_TABLE_DCT4_Q31_8192)
347  extern const q31_t WeightsQ31_8192[16384];
348  extern const q31_t cos_factorsQ31_8192[8192];
349  #endif
350 
351 #endif /* if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_FFT_TABLES) */
352 
353 #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_FAST_ALLOW_TABLES)
354 
355  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_RECIP_Q15)
356  extern const q15_t armRecipTableQ15[64];
357  #endif /* !defined(ARM_DSP_CONFIG_TABLES) defined(ARM_ALL_FAST_TABLES) */
358 
359  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_RECIP_Q31)
360  extern const q31_t armRecipTableQ31[64];
361  #endif /* !defined(ARM_DSP_CONFIG_TABLES) defined(ARM_ALL_FAST_TABLES) */
362 
363  /* Tables for Fast Math Sine and Cosine */
364  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_F32)
365  extern const float32_t sinTable_f32[FAST_MATH_TABLE_SIZE + 1];
366  #endif /* !defined(ARM_DSP_CONFIG_TABLES) defined(ARM_ALL_FAST_TABLES) */
367 
368  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q31)
369  extern const q31_t sinTable_q31[FAST_MATH_TABLE_SIZE + 1];
370  #endif /* !defined(ARM_DSP_CONFIG_TABLES) defined(ARM_ALL_FAST_TABLES) */
371 
372  #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q15)
373  extern const q15_t sinTable_q15[FAST_MATH_TABLE_SIZE + 1];
374  #endif /* !defined(ARM_DSP_CONFIG_TABLES) defined(ARM_ALL_FAST_TABLES) */
375 
376 #endif /* if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_FAST_TABLES) */
377 
378 #endif /* ARM_COMMON_TABLES_H */
armBitRevIndexTable_fixed_2048
const uint16_t armBitRevIndexTable_fixed_2048[ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH]
ARMBITREVINDEXTABLE_32_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_32_TABLE_LENGTH
Definition: arm_common_tables.h:189
ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH
Definition: arm_common_tables.h:247
armBitRevIndexTable_fixed_16
const uint16_t armBitRevIndexTable_fixed_16[ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH]
twiddleCoef_4096_q31
const q31_t twiddleCoef_4096_q31[6144]
cos_factorsQ15_512
const q15_t cos_factorsQ15_512[512]
float32_t
float float32_t
32-bit floating-point type definition.
Definition: arm_math.h:409
twiddleCoef_rfft_1024
const float32_t twiddleCoef_rfft_1024[1024]
cos_factorsQ31_128
const q31_t cos_factorsQ31_128[128]
Weights_128
const float32_t Weights_128[256]
cos_factorsQ31_8192
const q31_t cos_factorsQ31_8192[8192]
arm_math.h
twiddleCoef_32_q15
const q15_t twiddleCoef_32_q15[48]
twiddleCoef_16
const float32_t twiddleCoef_16[32]
twiddleCoef_256
const float32_t twiddleCoef_256[512]
ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_16_TABLE_LENGTH
Definition: arm_common_tables.h:232
ARMBITREVINDEXTABLE_256_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_256_TABLE_LENGTH
Definition: arm_common_tables.h:204
ARMBITREVINDEXTABLE_512_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_512_TABLE_LENGTH
Definition: arm_common_tables.h:209
twiddleCoef_2048_q31
const q31_t twiddleCoef_2048_q31[3072]
twiddleCoef_256_q31
const q31_t twiddleCoef_256_q31[384]
realCoefA
const float32_t realCoefA[8192]
WeightsQ15_2048
const q15_t WeightsQ15_2048[4096]
cos_factorsQ15_128
const q15_t cos_factorsQ15_128[128]
cos_factors_128
const float32_t cos_factors_128[128]
ARMBITREVINDEXTABLE_16_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_16_TABLE_LENGTH
Definition: arm_common_tables.h:184
twiddleCoef_128_q15
const q15_t twiddleCoef_128_q15[192]
WeightsQ15_8192
const q15_t WeightsQ15_8192[16384]
armBitRevIndexTable_fixed_1024
const uint16_t armBitRevIndexTable_fixed_1024[ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH]
FAST_MATH_TABLE_SIZE
#define FAST_MATH_TABLE_SIZE
Macros required for SINE and COSINE Fast math approximations.
Definition: arm_math.h:356
WeightsQ15_512
const q15_t WeightsQ15_512[1024]
realCoefBQ31
const q31_t realCoefBQ31[8192]
sinTable_f32
const float32_t sinTable_f32[FAST_MATH_TABLE_SIZE+1]
twiddleCoef_64_q15
const q15_t twiddleCoef_64_q15[96]
WeightsQ31_2048
const q31_t WeightsQ31_2048[4096]
cos_factorsQ31_512
const q31_t cos_factorsQ31_512[512]
ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH
Definition: arm_common_tables.h:237
ARMBITREVINDEXTABLE_4096_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_4096_TABLE_LENGTH
Definition: arm_common_tables.h:224
twiddleCoef_16_q31
const q31_t twiddleCoef_16_q31[24]
armRecipTableQ15
const q15_t armRecipTableQ15[64]
twiddleCoef_rfft_64
const float32_t twiddleCoef_rfft_64[64]
ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_1024_TABLE_LENGTH
Definition: arm_common_tables.h:262
ARMBITREVINDEXTABLE_2048_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_2048_TABLE_LENGTH
Definition: arm_common_tables.h:219
armBitRevIndexTable1024
const uint16_t armBitRevIndexTable1024[ARMBITREVINDEXTABLE_1024_TABLE_LENGTH]
twiddleCoef_32_q31
const q31_t twiddleCoef_32_q31[48]
twiddleCoef_1024_q31
const q31_t twiddleCoef_1024_q31[1536]
armRecipTableQ31
const q31_t armRecipTableQ31[64]
armBitRevIndexTable_fixed_4096
const uint16_t armBitRevIndexTable_fixed_4096[ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH]
WeightsQ15_128
const q15_t WeightsQ15_128[256]
Weights_512
const float32_t Weights_512[1024]
q31_t
int32_t q31_t
32-bit fractional data type in 1.31 format.
Definition: arm_math.h:399
cos_factors_512
const float32_t cos_factors_512[512]
twiddleCoef_rfft_32
const float32_t twiddleCoef_rfft_32[32]
cos_factorsQ31_2048
const q31_t cos_factorsQ31_2048[2048]
cos_factorsQ15_8192
const q15_t cos_factorsQ15_8192[8192]
armBitRevIndexTable256
const uint16_t armBitRevIndexTable256[ARMBITREVINDEXTABLE_256_TABLE_LENGTH]
ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH
Definition: arm_common_tables.h:257
twiddleCoef_2048_q15
const q15_t twiddleCoef_2048_q15[3072]
ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_4096_TABLE_LENGTH
Definition: arm_common_tables.h:272
ARMBITREVINDEXTABLE_64_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_64_TABLE_LENGTH
Definition: arm_common_tables.h:194
ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_2048_TABLE_LENGTH
Definition: arm_common_tables.h:267
twiddleCoef_512
const float32_t twiddleCoef_512[1024]
twiddleCoef_rfft_256
const float32_t twiddleCoef_rfft_256[256]
twiddleCoef_32
const float32_t twiddleCoef_32[64]
realCoefB
const float32_t realCoefB[8192]
twiddleCoef_128_q31
const q31_t twiddleCoef_128_q31[192]
cos_factors_8192
const float32_t cos_factors_8192[8192]
twiddleCoef_16_q15
const q15_t twiddleCoef_16_q15[24]
ARMBITREVINDEXTABLE_1024_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_1024_TABLE_LENGTH
Definition: arm_common_tables.h:214
twiddleCoef_4096
const float32_t twiddleCoef_4096[8192]
realCoefAQ15
const q15_t realCoefAQ15[8192]
sinTable_q15
const q15_t sinTable_q15[FAST_MATH_TABLE_SIZE+1]
armBitRevIndexTable128
const uint16_t armBitRevIndexTable128[ARMBITREVINDEXTABLE_128_TABLE_LENGTH]
twiddleCoef_64_q31
const q31_t twiddleCoef_64_q31[96]
twiddleCoef_rfft_4096
const float32_t twiddleCoef_rfft_4096[4096]
ARMBITREVINDEXTABLE_128_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_128_TABLE_LENGTH
Definition: arm_common_tables.h:199
twiddleCoef_4096_q15
const q15_t twiddleCoef_4096_q15[6144]
armBitRevIndexTable4096
const uint16_t armBitRevIndexTable4096[ARMBITREVINDEXTABLE_4096_TABLE_LENGTH]
armBitRevIndexTable_fixed_64
const uint16_t armBitRevIndexTable_fixed_64[ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH]
Weights_8192
const float32_t Weights_8192[16384]
q15_t
int16_t q15_t
16-bit fractional data type in 1.15 format.
Definition: arm_math.h:394
cos_factorsQ15_2048
const q15_t cos_factorsQ15_2048[2048]
twiddleCoef_rfft_2048
const float32_t twiddleCoef_rfft_2048[2048]
armBitRevIndexTable16
const uint16_t armBitRevIndexTable16[ARMBITREVINDEXTABLE_16_TABLE_LENGTH]
twiddleCoef_512_q31
const q31_t twiddleCoef_512_q31[768]
armBitRevIndexTable_fixed_512
const uint16_t armBitRevIndexTable_fixed_512[ARMBITREVINDEXTABLE_FIXED_512_TABLE_LENGTH]
armBitRevIndexTable64
const uint16_t armBitRevIndexTable64[ARMBITREVINDEXTABLE_64_TABLE_LENGTH]
twiddleCoef_64
const float32_t twiddleCoef_64[128]
armBitRevIndexTable32
const uint16_t armBitRevIndexTable32[ARMBITREVINDEXTABLE_32_TABLE_LENGTH]
armBitRevTable
const uint16_t armBitRevTable[1024]
twiddleCoef_rfft_512
const float32_t twiddleCoef_rfft_512[512]
twiddleCoef_1024_q15
const q15_t twiddleCoef_1024_q15[1536]
twiddleCoef_rfft_128
const float32_t twiddleCoef_rfft_128[128]
realCoefBQ15
const q15_t realCoefBQ15[8192]
armBitRevIndexTable_fixed_32
const uint16_t armBitRevIndexTable_fixed_32[ARMBITREVINDEXTABLE_FIXED_32_TABLE_LENGTH]
twiddleCoef_512_q15
const q15_t twiddleCoef_512_q15[768]
sinTable_q31
const q31_t sinTable_q31[FAST_MATH_TABLE_SIZE+1]
armBitRevIndexTable2048
const uint16_t armBitRevIndexTable2048[ARMBITREVINDEXTABLE_2048_TABLE_LENGTH]
WeightsQ31_512
const q31_t WeightsQ31_512[1024]
twiddleCoef_256_q15
const q15_t twiddleCoef_256_q15[384]
armBitRevIndexTable_fixed_128
const uint16_t armBitRevIndexTable_fixed_128[ARMBITREVINDEXTABLE_FIXED_128_TABLE_LENGTH]
armBitRevIndexTable512
const uint16_t armBitRevIndexTable512[ARMBITREVINDEXTABLE_512_TABLE_LENGTH]
twiddleCoef_128
const float32_t twiddleCoef_128[256]
cos_factors_2048
const float32_t cos_factors_2048[2048]
Weights_2048
const float32_t Weights_2048[4096]
twiddleCoef_1024
const float32_t twiddleCoef_1024[2048]
WeightsQ31_128
const q31_t WeightsQ31_128[256]
WeightsQ31_8192
const q31_t WeightsQ31_8192[16384]
realCoefAQ31
const q31_t realCoefAQ31[8192]
ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH
Definition: arm_common_tables.h:252
armBitRevIndexTable_fixed_256
const uint16_t armBitRevIndexTable_fixed_256[ARMBITREVINDEXTABLE_FIXED_256_TABLE_LENGTH]
ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH
#define ARMBITREVINDEXTABLE_FIXED_64_TABLE_LENGTH
Definition: arm_common_tables.h:242
twiddleCoef_2048
const float32_t twiddleCoef_2048[4096]


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:13:47