SAF
Loading...
Searching...
No Matches
speexdsp_types.h
Go to the documentation of this file.
1
/* speexdsp_types.h taken from libogg */
2
/********************************************************************
3
* *
4
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
5
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
6
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
7
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8
* *
9
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
10
* by the Xiph.Org Foundation http://www.xiph.org/ *
11
* *
12
********************************************************************
13
14
function: #ifdef jail to whip a few platforms into the UNIX ideal.
15
last mod: $Id: os_types.h 7524 2004-08-11 04:20:36Z conrad $
16
17
********************************************************************/
23
#ifndef _SPEEX_TYPES_H
24
#define _SPEEX_TYPES_H
25
26
#if defined(_WIN32)
27
28
# if defined(__CYGWIN__)
29
# include <_G_config.h>
30
typedef
_G_int32_t spx_int32_t;
31
typedef
_G_uint32_t spx_uint32_t;
32
typedef
_G_int16_t spx_int16_t;
33
typedef
_G_uint16_t spx_uint16_t;
34
# elif defined(__MINGW32__)
35
typedef
short
spx_int16_t;
36
typedef
unsigned
short
spx_uint16_t;
37
typedef
int
spx_int32_t;
38
typedef
unsigned
int
spx_uint32_t;
39
# elif defined(__MWERKS__)
40
typedef
int
spx_int32_t;
41
typedef
unsigned
int
spx_uint32_t;
42
typedef
short
spx_int16_t;
43
typedef
unsigned
short
spx_uint16_t;
44
# else
45
/* MSVC/Borland */
46
typedef
__int32 spx_int32_t;
47
typedef
unsigned
__int32 spx_uint32_t;
48
typedef
__int16 spx_int16_t;
49
typedef
unsigned
__int16 spx_uint16_t;
50
# endif
51
52
#elif defined(__MACOS__)
53
54
# include <sys/types.h>
55
typedef
SInt16 spx_int16_t;
56
typedef
UInt16 spx_uint16_t;
57
typedef
SInt32 spx_int32_t;
58
typedef
UInt32 spx_uint32_t;
59
60
#elif (defined(__APPLE__) && defined(__MACH__))
/* MacOS X Framework build */
61
62
# include <sys/types.h>
63
typedef
int16_t spx_int16_t;
64
typedef
u_int16_t spx_uint16_t;
65
typedef
int32_t spx_int32_t;
66
typedef
u_int32_t spx_uint32_t;
67
68
#elif defined(__BEOS__)
69
70
/* Be */
71
# include <inttypes.h>
72
typedef
int16_t spx_int16_t;
73
typedef
u_int16_t spx_uint16_t;
74
typedef
int32_t spx_int32_t;
75
typedef
u_int32_t spx_uint32_t;
76
77
#elif defined (__EMX__)
78
79
/* OS/2 GCC */
80
typedef
short
spx_int16_t;
81
typedef
unsigned
short
spx_uint16_t;
82
typedef
int
spx_int32_t;
83
typedef
unsigned
int
spx_uint32_t;
84
85
#elif defined (DJGPP)
86
87
/* DJGPP */
88
typedef
short
spx_int16_t;
89
typedef
int
spx_int32_t;
90
typedef
unsigned
int
spx_uint32_t;
91
92
#elif defined(R5900)
93
94
/* PS2 EE */
95
typedef
int
spx_int32_t;
96
typedef
unsigned
spx_uint32_t;
97
typedef
short
spx_int16_t;
98
99
#elif defined(__SYMBIAN32__)
100
101
/* Symbian GCC */
102
typedef
signed
short
spx_int16_t;
103
typedef
unsigned
short
spx_uint16_t;
104
typedef
signed
int
spx_int32_t;
105
typedef
unsigned
int
spx_uint32_t;
106
107
#elif defined(CONFIG_TI_C54X) || defined (CONFIG_TI_C55X)
108
109
typedef
short
spx_int16_t;
110
typedef
unsigned
short
spx_uint16_t;
111
typedef
long
spx_int32_t;
112
typedef
unsigned
long
spx_uint32_t;
113
114
#elif defined(CONFIG_TI_C6X)
115
116
typedef
short
spx_int16_t;
117
typedef
unsigned
short
spx_uint16_t;
118
typedef
int
spx_int32_t;
119
typedef
unsigned
int
spx_uint32_t;
120
121
#else
122
123
#include "speexdsp_config_types.h"
124
125
#endif
126
127
#endif
/* _SPEEX_TYPES_H */
framework
resources
speex_resampler
speexdsp_types.h
Generated on Fri Feb 2 2024 09:01:01 for SAF by
1.10.0