forked from xiph/opus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h.cmake
69 lines (64 loc) · 2.46 KB
/
config.h.cmake
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
/***************************************************************************
* config.h.cmake
* Copyright (C) 2014 Belledonne Communications, Grenoble France
*
****************************************************************************
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
****************************************************************************/
#ifndef CONFIG_H
#define CONFIG_H
/* Enable SSE functions, if compiled with SSE/SSE2 (note that AMD64 implies SSE2) */
#if defined(_M_X64) || (defined(_M_IX86_FP) && (_M_IX86_FP >= 1))
#define __SSE__ 1
#endif
#cmakedefine VAR_ARRAYS 1
#cmakedefine USE_ALLOCA 1
#cmakedefine FIXED_POINT 1
#cmakedefine FIXED_DEBUG 1
#cmakedefine DISABLE_FLOAT_API 1
#cmakedefine CUSTOM_MODES 1
#cmakedefine FLOAT_APPROX 1
#cmakedefine OPUS_ARM_ASM 1
#cmakedefine OPUS_ARM_INLINE_ASM 1
#cmakedefine OPUS_ARM_INLINE_EDSP 1
#cmakedefine OPUS_ARM_INLINE_MEDIA 1
#cmakedefine OPUS_ARM_INLINE_NEON 1
#cmakedefine OPUS_ARM_MAY_HAVE_EDSP 1
#cmakedefine OPUS_ARM_PRESUME_EDSP 1
#cmakedefine OPUS_ARM_MAY_HAVE_MEDIA 1
#cmakedefine OPUS_ARM_PRESUME_MEDIA 1
#cmakedefine OPUS_ARM_MAY_HAVE_NEON 1
#cmakedefine OPUS_ARM_PRESUME_NEON 1
#cmakedefine OPUS_ARM_MAY_HAVE_NEON_INTR 1
#cmakedefine OPUS_ARM_PRESUME_NEON_INTR 1
#cmakedefine OPUS_ARM_MAY_HAVE_AARCH64_NEON_INTR 1
#cmakedefine OPUS_ARM_PRESUME_AARCH64_NEON_INTR 1
#cmakedefine OPUS_X86_MAY_HAVE_SSE 1
#cmakedefine OPUS_X86_PRESUME_SSE 1
#cmakedefine OPUS_X86_MAY_HAVE_SSE2 1
#cmakedefine OPUS_X86_PRESUME_SSE2 1
#cmakedefine OPUS_X86_MAY_HAVE_SSE4_1 1
#cmakedefine OPUS_X86_PRESUME_SSE4_1 1
#cmakedefine OPUS_X86_MAY_HAVE_AVX 1
#cmakedefine OPUS_X86_PRESUME_AVX 1
#cmakedefine OPUS_HAVE_RTCD 1
#cmakedefine CPU_INFO_BY_ASM 1
#cmakedefine CPU_INFO_BY_C 1
#cmakedefine ENABLE_ASSERTIONS 1
#cmakedefine FUZZING 1
#define PACKAGE_VERSION "1.1"
#endif /* CONFIG_H */