Imported Debian version 1.0~trusty
[deb_vid.stab.git] / src / orc / motiondetectorc.h
CommitLineData
80f575fc
DM
1
2/* autogenerated from motiondetectorc.orc */
3
4#ifndef _MOTIONDETECTORC_H_
5#define _MOTIONDETECTORC_H_
6
7
8#ifdef __cplusplus
9extern "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>
18typedef int8_t orc_int8;
19typedef int16_t orc_int16;
20typedef int32_t orc_int32;
21typedef int64_t orc_int64;
22typedef uint8_t orc_uint8;
23typedef uint16_t orc_uint16;
24typedef uint32_t orc_uint32;
25typedef uint64_t orc_uint64;
26#define ORC_UINT64_C(x) UINT64_C(x)
27#elif defined(_MSC_VER)
28typedef signed __int8 orc_int8;
29typedef signed __int16 orc_int16;
30typedef signed __int32 orc_int32;
31typedef signed __int64 orc_int64;
32typedef unsigned __int8 orc_uint8;
33typedef unsigned __int16 orc_uint16;
34typedef unsigned __int32 orc_uint32;
35typedef unsigned __int64 orc_uint64;
36#define ORC_UINT64_C(x) (x##Ui64)
37#define inline __inline
38#else
39#include <limits.h>
40typedef signed char orc_int8;
41typedef short orc_int16;
42typedef int orc_int32;
43typedef unsigned char orc_uint8;
44typedef unsigned short orc_uint16;
45typedef unsigned int orc_uint32;
46#if INT_MAX == LONG_MAX
47typedef long long orc_int64;
48typedef unsigned long long orc_uint64;
49#define ORC_UINT64_C(x) (x##ULL)
50#else
51typedef long orc_int64;
52typedef unsigned long orc_uint64;
53#define ORC_UINT64_C(x) (x##UL)
54#endif
55#endif
56typedef union { orc_int16 i; orc_int8 x2[2]; } orc_union16;
57typedef union { orc_int32 i; float f; orc_int16 x2[2]; orc_int8 x4[4]; } orc_union32;
58typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16 x4[4]; } orc_union64;
59#endif
60#ifndef ORC_RESTRICT
61#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
62#define ORC_RESTRICT restrict
63#elif defined(__GNUC__) && __GNUC__ >= 4
64#define ORC_RESTRICT __restrict__
65#else
66#define ORC_RESTRICT
67#endif
68#endif
69void image_difference_optimized (orc_uint32 * ORC_RESTRICT a1, const orc_uint8 * ORC_RESTRICT s1, int s1_stride, const orc_uint8 * ORC_RESTRICT s2, int s2_stride, int n, int m);
70void image_line_difference_optimized (orc_uint32 * ORC_RESTRICT a1, const orc_uint8 * ORC_RESTRICT s1, const orc_uint8 * ORC_RESTRICT s2, int n);
71void image_sum_optimized (int * ORC_RESTRICT a1, const orc_uint8 * ORC_RESTRICT s1, int s1_stride, int n, int m);
72void image_variance_optimized (int * ORC_RESTRICT a1, const orc_uint8 * ORC_RESTRICT s1, int s1_stride, int p2, int n, int m);
73
74#ifdef __cplusplus
75}
76#endif
77
78#endif
79