tizen 2.3 release
[framework/multimedia/gst-plugins-base0.10.git] / gst / adder / gstadderorc-dist.h
1
2 /* autogenerated from gstadderorc.orc */
3
4 #ifndef _GSTADDERORC_H_
5 #define _GSTADDERORC_H_
6
7 #include <glib.h>
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 void gst_adder_orc_init (void);
14
15
16
17 #ifndef _ORC_INTEGER_TYPEDEFS_
18 #define _ORC_INTEGER_TYPEDEFS_
19 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
20 #include <stdint.h>
21 typedef int8_t orc_int8;
22 typedef int16_t orc_int16;
23 typedef int32_t orc_int32;
24 typedef int64_t orc_int64;
25 typedef uint8_t orc_uint8;
26 typedef uint16_t orc_uint16;
27 typedef uint32_t orc_uint32;
28 typedef uint64_t orc_uint64;
29 #define ORC_UINT64_C(x) UINT64_C(x)
30 #elif defined(_MSC_VER)
31 typedef signed __int8 orc_int8;
32 typedef signed __int16 orc_int16;
33 typedef signed __int32 orc_int32;
34 typedef signed __int64 orc_int64;
35 typedef unsigned __int8 orc_uint8;
36 typedef unsigned __int16 orc_uint16;
37 typedef unsigned __int32 orc_uint32;
38 typedef unsigned __int64 orc_uint64;
39 #define ORC_UINT64_C(x) (x##Ui64)
40 #define inline __inline
41 #else
42 #include <limits.h>
43 typedef signed char orc_int8;
44 typedef short orc_int16;
45 typedef int orc_int32;
46 typedef unsigned char orc_uint8;
47 typedef unsigned short orc_uint16;
48 typedef unsigned int orc_uint32;
49 #if INT_MAX == LONG_MAX
50 typedef long long orc_int64;
51 typedef unsigned long long orc_uint64;
52 #define ORC_UINT64_C(x) (x##ULL)
53 #else
54 typedef long orc_int64;
55 typedef unsigned long orc_uint64;
56 #define ORC_UINT64_C(x) (x##UL)
57 #endif
58 #endif
59 typedef union { orc_int16 i; orc_int8 x2[2]; } orc_union16;
60 typedef union { orc_int32 i; float f; orc_int16 x2[2]; orc_int8 x4[4]; } orc_union32;
61 typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16 x4[4]; } orc_union64;
62 #endif
63 #ifndef ORC_RESTRICT
64 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
65 #define ORC_RESTRICT restrict
66 #elif defined(__GNUC__) && __GNUC__ >= 4
67 #define ORC_RESTRICT __restrict__
68 #else
69 #define ORC_RESTRICT
70 #endif
71 #endif
72 void add_int32 (gint32 * ORC_RESTRICT d1, const gint32 * ORC_RESTRICT s1, int n);
73 void add_int16 (gint16 * ORC_RESTRICT d1, const gint16 * ORC_RESTRICT s1, int n);
74 void add_int8 (gint8 * ORC_RESTRICT d1, const gint8 * ORC_RESTRICT s1, int n);
75 void add_uint32 (guint32 * ORC_RESTRICT d1, const guint32 * ORC_RESTRICT s1, int n);
76 void add_uint16 (guint16 * ORC_RESTRICT d1, const guint16 * ORC_RESTRICT s1, int n);
77 void add_uint8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, int n);
78 void add_float32 (float * ORC_RESTRICT d1, const float * ORC_RESTRICT s1, int n);
79
80 #ifdef __cplusplus
81 }
82 #endif
83
84 #endif
85