xref: /aosp_15_r20/external/speex/config.h (revision 28e138c64d234588b5cd2a8a403b584bd3036e4e)
1*28e138c6SAndroid Build Coastguard Worker /* config.h.  Generated from config.h.in by configure.  */
2*28e138c6SAndroid Build Coastguard Worker /* config.h.in.  Generated from configure.ac by autoheader.  */
3*28e138c6SAndroid Build Coastguard Worker 
4*28e138c6SAndroid Build Coastguard Worker /* Define if building universal (internal helper macro) */
5*28e138c6SAndroid Build Coastguard Worker /* #undef AC_APPLE_UNIVERSAL_BUILD */
6*28e138c6SAndroid Build Coastguard Worker 
7*28e138c6SAndroid Build Coastguard Worker /* Make use of ARM4 assembly optimizations */
8*28e138c6SAndroid Build Coastguard Worker /* #undef ARM4_ASM */
9*28e138c6SAndroid Build Coastguard Worker 
10*28e138c6SAndroid Build Coastguard Worker /* Make use of ARM5E assembly optimizations */
11*28e138c6SAndroid Build Coastguard Worker /* #undef ARM5E_ASM */
12*28e138c6SAndroid Build Coastguard Worker 
13*28e138c6SAndroid Build Coastguard Worker /* Make use of Blackfin assembly optimizations */
14*28e138c6SAndroid Build Coastguard Worker /* #undef BFIN_ASM */
15*28e138c6SAndroid Build Coastguard Worker 
16*28e138c6SAndroid Build Coastguard Worker /* Disable all parts of the API that are using floats */
17*28e138c6SAndroid Build Coastguard Worker /* #undef DISABLE_FLOAT_API */
18*28e138c6SAndroid Build Coastguard Worker 
19*28e138c6SAndroid Build Coastguard Worker /* Symbol visibility prefix */
20*28e138c6SAndroid Build Coastguard Worker #define EXPORT __attribute__((visibility("default")))
21*28e138c6SAndroid Build Coastguard Worker 
22*28e138c6SAndroid Build Coastguard Worker /* Debug fixed-point implementation */
23*28e138c6SAndroid Build Coastguard Worker /* #undef FIXED_DEBUG */
24*28e138c6SAndroid Build Coastguard Worker 
25*28e138c6SAndroid Build Coastguard Worker /* Compile as fixed-point */
26*28e138c6SAndroid Build Coastguard Worker /* #undef FIXED_POINT */
27*28e138c6SAndroid Build Coastguard Worker 
28*28e138c6SAndroid Build Coastguard Worker /* Compile as floating-point */
29*28e138c6SAndroid Build Coastguard Worker #define FLOATING_POINT /**/
30*28e138c6SAndroid Build Coastguard Worker 
31*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <dlfcn.h> header file. */
32*28e138c6SAndroid Build Coastguard Worker #define HAVE_DLFCN_H 1
33*28e138c6SAndroid Build Coastguard Worker 
34*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <inttypes.h> header file. */
35*28e138c6SAndroid Build Coastguard Worker #define HAVE_INTTYPES_H 1
36*28e138c6SAndroid Build Coastguard Worker 
37*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <stdint.h> header file. */
38*28e138c6SAndroid Build Coastguard Worker #define HAVE_STDINT_H 1
39*28e138c6SAndroid Build Coastguard Worker 
40*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <stdio.h> header file. */
41*28e138c6SAndroid Build Coastguard Worker #define HAVE_STDIO_H 1
42*28e138c6SAndroid Build Coastguard Worker 
43*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <stdlib.h> header file. */
44*28e138c6SAndroid Build Coastguard Worker #define HAVE_STDLIB_H 1
45*28e138c6SAndroid Build Coastguard Worker 
46*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <strings.h> header file. */
47*28e138c6SAndroid Build Coastguard Worker #define HAVE_STRINGS_H 1
48*28e138c6SAndroid Build Coastguard Worker 
49*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <string.h> header file. */
50*28e138c6SAndroid Build Coastguard Worker #define HAVE_STRING_H 1
51*28e138c6SAndroid Build Coastguard Worker 
52*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <sys/audioio.h> header file. */
53*28e138c6SAndroid Build Coastguard Worker /* #undef HAVE_SYS_AUDIOIO_H */
54*28e138c6SAndroid Build Coastguard Worker 
55*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <sys/soundcard.h> header file. */
56*28e138c6SAndroid Build Coastguard Worker #define HAVE_SYS_SOUNDCARD_H 1
57*28e138c6SAndroid Build Coastguard Worker 
58*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <sys/stat.h> header file. */
59*28e138c6SAndroid Build Coastguard Worker #define HAVE_SYS_STAT_H 1
60*28e138c6SAndroid Build Coastguard Worker 
61*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <sys/types.h> header file. */
62*28e138c6SAndroid Build Coastguard Worker #define HAVE_SYS_TYPES_H 1
63*28e138c6SAndroid Build Coastguard Worker 
64*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if you have the <unistd.h> header file. */
65*28e138c6SAndroid Build Coastguard Worker #define HAVE_UNISTD_H 1
66*28e138c6SAndroid Build Coastguard Worker 
67*28e138c6SAndroid Build Coastguard Worker /* Define to the sub-directory where libtool stores uninstalled libraries. */
68*28e138c6SAndroid Build Coastguard Worker #define LT_OBJDIR ".libs/"
69*28e138c6SAndroid Build Coastguard Worker 
70*28e138c6SAndroid Build Coastguard Worker /* Define to the address where bug reports for this package should be sent. */
71*28e138c6SAndroid Build Coastguard Worker #define PACKAGE_BUGREPORT "[email protected]"
72*28e138c6SAndroid Build Coastguard Worker 
73*28e138c6SAndroid Build Coastguard Worker /* Define to the full name of this package. */
74*28e138c6SAndroid Build Coastguard Worker #define PACKAGE_NAME "speexdsp"
75*28e138c6SAndroid Build Coastguard Worker 
76*28e138c6SAndroid Build Coastguard Worker /* Define to the full name and version of this package. */
77*28e138c6SAndroid Build Coastguard Worker #define PACKAGE_STRING "speexdsp 1.2.1"
78*28e138c6SAndroid Build Coastguard Worker 
79*28e138c6SAndroid Build Coastguard Worker /* Define to the one symbol short name of this package. */
80*28e138c6SAndroid Build Coastguard Worker #define PACKAGE_TARNAME "speexdsp"
81*28e138c6SAndroid Build Coastguard Worker 
82*28e138c6SAndroid Build Coastguard Worker /* Define to the home page for this package. */
83*28e138c6SAndroid Build Coastguard Worker #define PACKAGE_URL ""
84*28e138c6SAndroid Build Coastguard Worker 
85*28e138c6SAndroid Build Coastguard Worker /* Define to the version of this package. */
86*28e138c6SAndroid Build Coastguard Worker #define PACKAGE_VERSION "1.2.1"
87*28e138c6SAndroid Build Coastguard Worker 
88*28e138c6SAndroid Build Coastguard Worker /* Resample with full SINC table (no interpolation) */
89*28e138c6SAndroid Build Coastguard Worker /* #undef RESAMPLE_FULL_SINC_TABLE */
90*28e138c6SAndroid Build Coastguard Worker 
91*28e138c6SAndroid Build Coastguard Worker /* The size of `int', as computed by sizeof. */
92*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_INT 4
93*28e138c6SAndroid Build Coastguard Worker 
94*28e138c6SAndroid Build Coastguard Worker /* The size of `int16_t', as computed by sizeof. */
95*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_INT16_T 2
96*28e138c6SAndroid Build Coastguard Worker 
97*28e138c6SAndroid Build Coastguard Worker /* The size of `int32_t', as computed by sizeof. */
98*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_INT32_T 4
99*28e138c6SAndroid Build Coastguard Worker 
100*28e138c6SAndroid Build Coastguard Worker /* The size of `long', as computed by sizeof. */
101*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_LONG 8
102*28e138c6SAndroid Build Coastguard Worker 
103*28e138c6SAndroid Build Coastguard Worker /* The size of `short', as computed by sizeof. */
104*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_SHORT 2
105*28e138c6SAndroid Build Coastguard Worker 
106*28e138c6SAndroid Build Coastguard Worker /* The size of `uint16_t', as computed by sizeof. */
107*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_UINT16_T 2
108*28e138c6SAndroid Build Coastguard Worker 
109*28e138c6SAndroid Build Coastguard Worker /* The size of `uint32_t', as computed by sizeof. */
110*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_UINT32_T 4
111*28e138c6SAndroid Build Coastguard Worker 
112*28e138c6SAndroid Build Coastguard Worker /* The size of `u_int16_t', as computed by sizeof. */
113*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_U_INT16_T 2
114*28e138c6SAndroid Build Coastguard Worker 
115*28e138c6SAndroid Build Coastguard Worker /* The size of `u_int32_t', as computed by sizeof. */
116*28e138c6SAndroid Build Coastguard Worker #define SIZEOF_U_INT32_T 4
117*28e138c6SAndroid Build Coastguard Worker 
118*28e138c6SAndroid Build Coastguard Worker /* Define to 1 if all of the C90 standard headers exist (not just the ones
119*28e138c6SAndroid Build Coastguard Worker    required in a freestanding environment). This macro is provided for
120*28e138c6SAndroid Build Coastguard Worker    backward compatibility; new code need not use it. */
121*28e138c6SAndroid Build Coastguard Worker #define STDC_HEADERS 1
122*28e138c6SAndroid Build Coastguard Worker 
123*28e138c6SAndroid Build Coastguard Worker /* Enable support for TI C55X DSP */
124*28e138c6SAndroid Build Coastguard Worker /* #undef TI_C55X */
125*28e138c6SAndroid Build Coastguard Worker 
126*28e138c6SAndroid Build Coastguard Worker /* Use FFTW3 for FFT */
127*28e138c6SAndroid Build Coastguard Worker /* #undef USE_GPL_FFTW3 */
128*28e138c6SAndroid Build Coastguard Worker 
129*28e138c6SAndroid Build Coastguard Worker /* Use Intel Math Kernel Library for FFT */
130*28e138c6SAndroid Build Coastguard Worker /* #undef USE_INTEL_MKL */
131*28e138c6SAndroid Build Coastguard Worker 
132*28e138c6SAndroid Build Coastguard Worker /* Use KISS Fast Fourier Transform */
133*28e138c6SAndroid Build Coastguard Worker /* #undef USE_KISS_FFT */
134*28e138c6SAndroid Build Coastguard Worker 
135*28e138c6SAndroid Build Coastguard Worker /* Enable NEON support */
136*28e138c6SAndroid Build Coastguard Worker /* #undef USE_NEON */
137*28e138c6SAndroid Build Coastguard Worker 
138*28e138c6SAndroid Build Coastguard Worker /* Use FFT from OggVorbis */
139*28e138c6SAndroid Build Coastguard Worker #define USE_SMALLFT /**/
140*28e138c6SAndroid Build Coastguard Worker 
141*28e138c6SAndroid Build Coastguard Worker /* Enable SSE support */
142*28e138c6SAndroid Build Coastguard Worker #define USE_SSE /**/
143*28e138c6SAndroid Build Coastguard Worker 
144*28e138c6SAndroid Build Coastguard Worker /* Enable SSE2 support */
145*28e138c6SAndroid Build Coastguard Worker #define USE_SSE2 /**/
146*28e138c6SAndroid Build Coastguard Worker 
147*28e138c6SAndroid Build Coastguard Worker /* Use C99 variable-size arrays */
148*28e138c6SAndroid Build Coastguard Worker #define VAR_ARRAYS /**/
149*28e138c6SAndroid Build Coastguard Worker 
150*28e138c6SAndroid Build Coastguard Worker /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
151*28e138c6SAndroid Build Coastguard Worker    significant byte first (like Motorola and SPARC, unlike Intel). */
152*28e138c6SAndroid Build Coastguard Worker #if defined AC_APPLE_UNIVERSAL_BUILD
153*28e138c6SAndroid Build Coastguard Worker # if defined __BIG_ENDIAN__
154*28e138c6SAndroid Build Coastguard Worker #  define WORDS_BIGENDIAN 1
155*28e138c6SAndroid Build Coastguard Worker # endif
156*28e138c6SAndroid Build Coastguard Worker #else
157*28e138c6SAndroid Build Coastguard Worker # ifndef WORDS_BIGENDIAN
158*28e138c6SAndroid Build Coastguard Worker /* #  undef WORDS_BIGENDIAN */
159*28e138c6SAndroid Build Coastguard Worker # endif
160*28e138c6SAndroid Build Coastguard Worker #endif
161*28e138c6SAndroid Build Coastguard Worker 
162*28e138c6SAndroid Build Coastguard Worker /* Define to empty if `const' does not conform to ANSI C. */
163*28e138c6SAndroid Build Coastguard Worker /* #undef const */
164*28e138c6SAndroid Build Coastguard Worker 
165*28e138c6SAndroid Build Coastguard Worker /* Define to `__inline__' or `__inline' if that's what the C compiler
166*28e138c6SAndroid Build Coastguard Worker    calls it, or to nothing if 'inline' is not supported under any name.  */
167*28e138c6SAndroid Build Coastguard Worker #ifndef __cplusplus
168*28e138c6SAndroid Build Coastguard Worker /* #undef inline */
169*28e138c6SAndroid Build Coastguard Worker #endif
170*28e138c6SAndroid Build Coastguard Worker 
171*28e138c6SAndroid Build Coastguard Worker /* Define to the equivalent of the C99 'restrict' keyword, or to
172*28e138c6SAndroid Build Coastguard Worker    nothing if this is not supported.  Do not define if restrict is
173*28e138c6SAndroid Build Coastguard Worker    supported only directly.  */
174*28e138c6SAndroid Build Coastguard Worker #define restrict __restrict__
175*28e138c6SAndroid Build Coastguard Worker /* Work around a bug in older versions of Sun C++, which did not
176*28e138c6SAndroid Build Coastguard Worker    #define __restrict__ or support _Restrict or __restrict__
177*28e138c6SAndroid Build Coastguard Worker    even though the corresponding Sun C compiler ended up with
178*28e138c6SAndroid Build Coastguard Worker    "#define restrict _Restrict" or "#define restrict __restrict__"
179*28e138c6SAndroid Build Coastguard Worker    in the previous line.  This workaround can be removed once
180*28e138c6SAndroid Build Coastguard Worker    we assume Oracle Developer Studio 12.5 (2016) or later.  */
181*28e138c6SAndroid Build Coastguard Worker #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
182*28e138c6SAndroid Build Coastguard Worker # define _Restrict
183*28e138c6SAndroid Build Coastguard Worker # define __restrict__
184*28e138c6SAndroid Build Coastguard Worker #endif
185