Git init
[framework/multimedia/pulseaudio.git] / src / modules / echo-cancel / adrian-aec-orc-dist.h
1
2 /* autogenerated from adrian-aec-orc.orc */
3
4 #ifndef ___MODULES_ECHO_CANCEL_ADRIAN_AEC_ORC_H_
5 #define ___MODULES_ECHO_CANCEL_ADRIAN_AEC_ORC_H_
6
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12
13
14 #ifndef _ORC_INTEGER_TYPEDEFS_
15 #define _ORC_INTEGER_TYPEDEFS_
16 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
17 #include <stdint.h>
18 typedef int8_t orc_int8;
19 typedef int16_t orc_int16;
20 typedef int32_t orc_int32;
21 typedef int64_t orc_int64;
22 typedef uint8_t orc_uint8;
23 typedef uint16_t orc_uint16;
24 typedef uint32_t orc_uint32;
25 typedef uint64_t orc_uint64;
26 #elif defined(_MSC_VER)
27 typedef signed __int8 orc_int8;
28 typedef signed __int16 orc_int16;
29 typedef signed __int32 orc_int32;
30 typedef signed __int64 orc_int64;
31 typedef unsigned __int8 orc_uint8;
32 typedef unsigned __int16 orc_uint16;
33 typedef unsigned __int32 orc_uint32;
34 typedef unsigned __int64 orc_uint64;
35 #else
36 #include <limits.h>
37 typedef signed char orc_int8;
38 typedef short orc_int16;
39 typedef int orc_int32;
40 typedef unsigned char orc_uint8;
41 typedef unsigned short orc_uint16;
42 typedef unsigned int orc_uint32;
43 #if INT_MAX == LONG_MAX
44 typedef long long orc_int64;
45 typedef unsigned long long orc_uint64;
46 #else
47 typedef long orc_int64;
48 typedef unsigned long orc_uint64;
49 #endif
50 #endif
51 typedef union { orc_int16 i; orc_int8 x2[2]; } orc_union16;
52 typedef union { orc_int32 i; float f; orc_int16 x2[2]; orc_int8 x4[4]; } orc_union32;
53 typedef union { orc_int64 i; double f; orc_int32 x2[2]; orc_int16 x4[4]; } orc_union64;
54 #endif
55 void update_tap_weights (float * d1, const float * s1, float p1, int n);
56
57 #ifdef __cplusplus
58 }
59 #endif
60
61 #endif