1
#ifndef _wrong_H_INCLUDED_
2
#define _wrong_H_INCLUDED_
4
#include "opencv2/core/hal/interface.h"
6
#if defined(__cplusplus)
11
int wrong_add8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
12
int wrong_add8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h);
13
int wrong_add16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h);
14
int wrong_add16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h);
15
int wrong_add32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h);
16
int wrong_add32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h);
17
int wrong_add64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h);
18
int wrong_sub8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
19
int wrong_sub8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h);
20
int wrong_sub16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h);
21
int wrong_sub16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h);
22
int wrong_sub32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h);
23
int wrong_sub32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h);
24
int wrong_sub64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h);
25
int wrong_max8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
26
int wrong_max8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h);
27
int wrong_max16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h);
28
int wrong_max16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h);
29
int wrong_max32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h);
30
int wrong_max32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h);
31
int wrong_max64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h);
32
int wrong_min8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
33
int wrong_min8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h);
34
int wrong_min16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h);
35
int wrong_min16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h);
36
int wrong_min32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h);
37
int wrong_min32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h);
38
int wrong_min64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h);
39
int wrong_absdiff8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
40
int wrong_absdiff8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h);
41
int wrong_absdiff16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h);
42
int wrong_absdiff16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h);
43
int wrong_absdiff32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h);
44
int wrong_absdiff32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h);
45
int wrong_absdiff64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h);
46
int wrong_and8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
47
int wrong_or8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
48
int wrong_xor8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h);
49
int wrong_not8u(const uchar* src1, size_t sz1, uchar* dst, size_t sz, int w, int h);
52
#define cv_hal_add8u wrong_add8u
54
#define cv_hal_add8s wrong_add8s
56
#define cv_hal_add16u wrong_add16u
58
#define cv_hal_add16s wrong_add16s
60
#define cv_hal_add32s wrong_add32s
62
#define cv_hal_add32f wrong_add32f
64
#define cv_hal_add64f wrong_add64f
66
#define cv_hal_sub8u wrong_sub8u
68
#define cv_hal_sub8s wrong_sub8s
70
#define cv_hal_sub16u wrong_sub16u
72
#define cv_hal_sub16s wrong_sub16s
74
#define cv_hal_sub32s wrong_sub32s
76
#define cv_hal_sub32f wrong_sub32f
78
#define cv_hal_sub64f wrong_sub64f
80
#define cv_hal_max8u wrong_max8u
82
#define cv_hal_max8s wrong_max8s
84
#define cv_hal_max16u wrong_max16u
86
#define cv_hal_max16s wrong_max16s
88
#define cv_hal_max32s wrong_max32s
90
#define cv_hal_max32f wrong_max32f
92
#define cv_hal_max64f wrong_max64f
94
#define cv_hal_min8u wrong_min8u
96
#define cv_hal_min8s wrong_min8s
98
#define cv_hal_min16u wrong_min16u
100
#define cv_hal_min16s wrong_min16s
102
#define cv_hal_min32s wrong_min32s
104
#define cv_hal_min32f wrong_min32f
106
#define cv_hal_min64f wrong_min64f
107
#undef cv_hal_absdiff8u
108
#define cv_hal_absdiff8u wrong_absdiff8u
109
#undef cv_hal_absdiff8s
110
#define cv_hal_absdiff8s wrong_absdiff8s
111
#undef cv_hal_absdiff16u
112
#define cv_hal_absdiff16u wrong_absdiff16u
113
#undef cv_hal_absdiff16s
114
#define cv_hal_absdiff16s wrong_absdiff16s
115
#undef cv_hal_absdiff32s
116
#define cv_hal_absdiff32s wrong_absdiff32s
117
#undef cv_hal_absdiff32f
118
#define cv_hal_absdiff32f wrong_absdiff32f
119
#undef cv_hal_absdiff64f
120
#define cv_hal_absdiff64f wrong_absdiff64f
122
#define cv_hal_and8u wrong_and8u
124
#define cv_hal_or8u wrong_or8u
126
#define cv_hal_xor8u wrong_xor8u
128
#define cv_hal_not8u wrong_not8u
130
int wrong_cmp8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
131
int wrong_cmp8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
132
int wrong_cmp16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
133
int wrong_cmp16s(const short* src1, size_t sz1, const short* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
134
int wrong_cmp32s(const int* src1, size_t sz1, const int* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
135
int wrong_cmp32f(const float* src1, size_t sz1, const float* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
136
int wrong_cmp64f(const double* src1, size_t sz1, const double* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, int op);
139
#define cv_hal_cmp8u wrong_cmp8u
141
#define cv_hal_cmp8s wrong_cmp8s
143
#define cv_hal_cmp16u wrong_cmp16u
145
#define cv_hal_cmp16s wrong_cmp16s
147
#define cv_hal_cmp32s wrong_cmp32s
149
#define cv_hal_cmp32f wrong_cmp32f
151
#define cv_hal_cmp64f wrong_cmp64f
153
int wrong_mul8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, double scale);
154
int wrong_mul8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h, double scale);
155
int wrong_mul16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h, double scale);
156
int wrong_mul16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h, double scale);
157
int wrong_mul32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h, double scale);
158
int wrong_mul32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h, double scale);
159
int wrong_mul64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h, double scale);
160
int wrong_div8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, double scale);
161
int wrong_div8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h, double scale);
162
int wrong_div16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h, double scale);
163
int wrong_div16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h, double scale);
164
int wrong_div32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h, double scale);
165
int wrong_div32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h, double scale);
166
int wrong_div64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h, double scale);
167
int wrong_recip8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, double scale);
168
int wrong_recip8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h, double scale);
169
int wrong_recip16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h, double scale);
170
int wrong_recip16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h, double scale);
171
int wrong_recip32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h, double scale);
172
int wrong_recip32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h, double scale);
173
int wrong_recip64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h, double scale);
176
#define cv_hal_mul8u wrong_mul8u
178
#define cv_hal_mul8s wrong_mul8s
180
#define cv_hal_mul16u wrong_mul16u
182
#define cv_hal_mul16s wrong_mul16s
184
#define cv_hal_mul32s wrong_mul32s
186
#define cv_hal_mul32f wrong_mul32f
188
#define cv_hal_mul64f wrong_mul64f
190
#define cv_hal_div8u wrong_div8u
192
#define cv_hal_div8s wrong_div8s
194
#define cv_hal_div16u wrong_div16u
196
#define cv_hal_div16s wrong_div16s
198
#define cv_hal_div32s wrong_div32s
200
#define cv_hal_div32f wrong_div32f
202
#define cv_hal_div64f wrong_div64f
203
#undef cv_hal_recip8u
204
#define cv_hal_recip8u wrong_recip8u
205
#undef cv_hal_recip8s
206
#define cv_hal_recip8s wrong_recip8s
207
#undef cv_hal_recip16u
208
#define cv_hal_recip16u wrong_recip16u
209
#undef cv_hal_recip16s
210
#define cv_hal_recip16s wrong_recip16s
211
#undef cv_hal_recip32s
212
#define cv_hal_recip32s wrong_recip32s
213
#undef cv_hal_recip32f
214
#define cv_hal_recip32f wrong_recip32f
215
#undef cv_hal_recip64f
216
#define cv_hal_recip64f wrong_recip64f
218
int wrong_addWeighted8u(const uchar* src1, size_t sz1, const uchar* src2, size_t sz2, uchar* dst, size_t sz, int w, int h, const double* scales);
219
int wrong_addWeighted8s(const schar* src1, size_t sz1, const schar* src2, size_t sz2, schar* dst, size_t sz, int w, int h, const double* scales);
220
int wrong_addWeighted16u(const ushort* src1, size_t sz1, const ushort* src2, size_t sz2, ushort* dst, size_t sz, int w, int h, const double* scales);
221
int wrong_addWeighted16s(const short* src1, size_t sz1, const short* src2, size_t sz2, short* dst, size_t sz, int w, int h, const double* scales);
222
int wrong_addWeighted32s(const int* src1, size_t sz1, const int* src2, size_t sz2, int* dst, size_t sz, int w, int h, const double* scales);
223
int wrong_addWeighted32f(const float* src1, size_t sz1, const float* src2, size_t sz2, float* dst, size_t sz, int w, int h, const double* scales);
224
int wrong_addWeighted64f(const double* src1, size_t sz1, const double* src2, size_t sz2, double* dst, size_t sz, int w, int h, const double* scales);
226
#undef cv_hal_addWeighted8u
227
#define cv_hal_addWeighted8u wrong_addWeighted8u
228
#undef cv_hal_addWeighted8s
229
#define cv_hal_addWeighted8s wrong_addWeighted8s
230
#undef cv_hal_addWeighted16u
231
#define cv_hal_addWeighted16u wrong_addWeighted16u
232
#undef cv_hal_addWeighted16s
233
#define cv_hal_addWeighted16s wrong_addWeighted16s
234
#undef cv_hal_addWeighted32s
235
#define cv_hal_addWeighted32s wrong_addWeighted32s
236
#undef cv_hal_addWeighted32f
237
#define cv_hal_addWeighted32f wrong_addWeighted32f
238
#undef cv_hal_addWeighted64f
239
#define cv_hal_addWeighted64f wrong_addWeighted64f
241
#if defined(__cplusplus)