summaryrefslogtreecommitdiff
path: root/drivers/opus/opus_config.h
blob: e75550409fbb29b80bad7db346a3e8bcb84be6c5 (plain)
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
/* Opus configuration header */
/* Based on the output of libopus configure script */

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `lrint' function. */
#define HAVE_LRINT 1

/* Define to 1 if you have the `lrintf' function. */
#define HAVE_LRINTF 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to the sub-directory in which libtool stores uninstalled libraries.
   */
#define LT_OBJDIR ".libs/"

#ifdef OPUS_ARM_OPT
/* Make use of ARM asm optimization */
#define OPUS_ARM_ASM 1

/* Use generic ARMv4 inline asm optimizations */
#define OPUS_ARM_INLINE_ASM 1

/* Use ARMv5E inline asm optimizations */
#define OPUS_ARM_INLINE_EDSP 1

/* Use ARMv6 inline asm optimizations */
#define OPUS_ARM_INLINE_MEDIA 1

/* Use ARM NEON inline asm optimizations */
#define OPUS_ARM_INLINE_NEON 1

/* Define if assembler supports EDSP instructions */
#define OPUS_ARM_MAY_HAVE_EDSP 1

/* Define if assembler supports ARMv6 media instructions */
#define OPUS_ARM_MAY_HAVE_MEDIA 1

/* Define if compiler supports NEON instructions */
#define OPUS_ARM_MAY_HAVE_NEON 1
#endif // OPUS_ARM_OPT

#ifdef OPUS_ARM64_OPT
/* Make use of ARM asm optimization */
#define OPUS_ARM_ASM 1

/* Use ARMv6 inline asm optimizations */
#define OPUS_ARM_INLINE_MEDIA 1 // work

/* Use ARM NEON inline asm optimizations */
#define OPUS_ARM_INLINE_NEON 1 // work

/* Define if assembler supports EDSP instructions */
#define OPUS_ARM_MAY_HAVE_EDSP 1 // work

/* Define if assembler supports ARMv6 media instructions */
#define OPUS_ARM_MAY_HAVE_MEDIA 1 // work

/* Define if compiler supports NEON instructions */
#define OPUS_ARM_MAY_HAVE_NEON 1

#endif // OPUS_ARM64_OPT

/* This is a build of OPUS */
#define OPUS_BUILD /**/

/* Use C99 variable-size arrays */
#define VAR_ARRAYS 1


/* Define to `__inline__' or `__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
/* #undef inline */
#endif

/* Define to the equivalent of the C99 'restrict' keyword, or to
   nothing if this is not supported.  Do not define if restrict is
   supported directly.  */
#define restrict __restrict
/* Work around a bug in Sun C++: it does not support _Restrict or
   __restrict__, even though the corresponding Sun C compiler ends up with
   "#define restrict _Restrict" or "#define restrict __restrict__" in the
   previous line.  Perhaps some future version of Sun C++ will work with
   restrict; if so, hopefully it defines __RESTRICT like Sun C does.  */
#if defined __SUNPRO_CC && !defined __RESTRICT
# define _Restrict
# define __restrict__
#endif