1 | /* |
2 | * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. |
3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | * |
5 | * This code is free software; you can redistribute it and/or modify it |
6 | * under the terms of the GNU General Public License version 2 only, as |
7 | * published by the Free Software Foundation. Oracle designates this |
8 | * particular file as subject to the "Classpath" exception as provided |
9 | * by Oracle in the LICENSE file that accompanied this code. |
10 | * |
11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
14 | * version 2 for more details (a copy is included in the LICENSE file that |
15 | * accompanied this code). |
16 | * |
17 | * You should have received a copy of the GNU General Public License version |
18 | * 2 along with this work; if not, write to the Free Software Foundation, |
19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
20 | * |
21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 | * or visit www.oracle.com if you need additional information or have any |
23 | * questions. |
24 | */ |
25 | |
26 | |
27 | #ifndef __ORIG_MLIB_IMAGE_PROTO_H |
28 | #define __ORIG_MLIB_IMAGE_PROTO_H |
29 | |
30 | #include <mlib_types.h> |
31 | #include <mlib_status.h> |
32 | #include <mlib_image_types.h> |
33 | #include "jni.h" |
34 | #if defined ( __MEDIALIB_OLD_NAMES_ADDED ) |
35 | #include <../include/mlib_image_proto.h> |
36 | #endif /* defined ( __MEDIALIB_OLD_NAMES_ADDED ) */ |
37 | |
38 | #ifdef __cplusplus |
39 | extern "C" { |
40 | #endif /* __cplusplus */ |
41 | |
42 | #if defined ( __USE_J2D_NAMES ) |
43 | #include "j2d_names.h" |
44 | #endif // __USE_J2D_NAMES |
45 | |
46 | #if defined ( _MSC_VER ) |
47 | #if ! defined ( __MEDIALIB_OLD_NAMES ) |
48 | #define __MEDIALIB_OLD_NAMES |
49 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
50 | #endif /* defined ( _MSC_VER ) */ |
51 | |
52 | /* Arithmetic Operations ( arith ) */ |
53 | |
54 | |
55 | #if defined ( __MEDIALIB_OLD_NAMES ) |
56 | #define __mlib_ImageAbs mlib_ImageAbs |
57 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
58 | mlib_status __mlib_ImageAbs(mlib_image *dst, |
59 | const mlib_image *src); |
60 | |
61 | |
62 | #if defined ( __MEDIALIB_OLD_NAMES ) |
63 | #define __mlib_ImageAbs_Fp mlib_ImageAbs_Fp |
64 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
65 | mlib_status __mlib_ImageAbs_Fp(mlib_image *dst, |
66 | const mlib_image *src); |
67 | |
68 | |
69 | #if defined ( __MEDIALIB_OLD_NAMES ) |
70 | #define __mlib_ImageAbs_Fp_Inp mlib_ImageAbs_Fp_Inp |
71 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
72 | mlib_status __mlib_ImageAbs_Fp_Inp(mlib_image *srcdst); |
73 | |
74 | |
75 | #if defined ( __MEDIALIB_OLD_NAMES ) |
76 | #define __mlib_ImageAbs_Inp mlib_ImageAbs_Inp |
77 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
78 | mlib_status __mlib_ImageAbs_Inp(mlib_image *srcdst); |
79 | |
80 | |
81 | #if defined ( __MEDIALIB_OLD_NAMES ) |
82 | #define __mlib_ImageAdd mlib_ImageAdd |
83 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
84 | mlib_status __mlib_ImageAdd(mlib_image *dst, |
85 | const mlib_image *src1, |
86 | const mlib_image *src2); |
87 | |
88 | |
89 | #if defined ( __MEDIALIB_OLD_NAMES ) |
90 | #define __mlib_ImageAdd_Fp mlib_ImageAdd_Fp |
91 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
92 | mlib_status __mlib_ImageAdd_Fp(mlib_image *dst, |
93 | const mlib_image *src1, |
94 | const mlib_image *src2); |
95 | |
96 | |
97 | #if defined ( __MEDIALIB_OLD_NAMES ) |
98 | #define __mlib_ImageAdd_Fp_Inp mlib_ImageAdd_Fp_Inp |
99 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
100 | mlib_status __mlib_ImageAdd_Fp_Inp(mlib_image *src1dst, |
101 | const mlib_image *src2); |
102 | |
103 | |
104 | #if defined ( __MEDIALIB_OLD_NAMES ) |
105 | #define __mlib_ImageAdd_Inp mlib_ImageAdd_Inp |
106 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
107 | mlib_status __mlib_ImageAdd_Inp(mlib_image *src1dst, |
108 | const mlib_image *src2); |
109 | |
110 | |
111 | #if defined ( __MEDIALIB_OLD_NAMES ) |
112 | #define __mlib_ImageAve mlib_ImageAve |
113 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
114 | mlib_status __mlib_ImageAve(mlib_image *dst, |
115 | const mlib_image *src1, |
116 | const mlib_image *src2); |
117 | |
118 | |
119 | #if defined ( __MEDIALIB_OLD_NAMES ) |
120 | #define __mlib_ImageAve_Fp mlib_ImageAve_Fp |
121 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
122 | mlib_status __mlib_ImageAve_Fp(mlib_image *dst, |
123 | const mlib_image *src1, |
124 | const mlib_image *src2); |
125 | |
126 | |
127 | #if defined ( __MEDIALIB_OLD_NAMES ) |
128 | #define __mlib_ImageAve_Fp_Inp mlib_ImageAve_Fp_Inp |
129 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
130 | mlib_status __mlib_ImageAve_Fp_Inp(mlib_image *src1dst, |
131 | const mlib_image *src2); |
132 | |
133 | |
134 | #if defined ( __MEDIALIB_OLD_NAMES ) |
135 | #define __mlib_ImageAve_Inp mlib_ImageAve_Inp |
136 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
137 | mlib_status __mlib_ImageAve_Inp(mlib_image *src1dst, |
138 | const mlib_image *src2); |
139 | |
140 | |
141 | #if defined ( __MEDIALIB_OLD_NAMES ) |
142 | #define __mlib_ImageBlend mlib_ImageBlend |
143 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
144 | mlib_status __mlib_ImageBlend(mlib_image *dst, |
145 | const mlib_image *src1, |
146 | const mlib_image *src2, |
147 | const mlib_image *alpha); |
148 | |
149 | /* src1dst = src1dst * alpha + src2 * (1 - alpha) */ |
150 | |
151 | #if defined ( __MEDIALIB_OLD_NAMES ) |
152 | #define __mlib_ImageBlend1_Fp_Inp mlib_ImageBlend1_Fp_Inp |
153 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
154 | mlib_status __mlib_ImageBlend1_Fp_Inp(mlib_image *src1dst, |
155 | const mlib_image *src2, |
156 | const mlib_image *alpha); |
157 | |
158 | /* src1dst = src1dst * alpha + src2 * (1 - alpha) */ |
159 | |
160 | #if defined ( __MEDIALIB_OLD_NAMES ) |
161 | #define __mlib_ImageBlend1_Inp mlib_ImageBlend1_Inp |
162 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
163 | mlib_status __mlib_ImageBlend1_Inp(mlib_image *src1dst, |
164 | const mlib_image *src2, |
165 | const mlib_image *alpha); |
166 | |
167 | /* src2dst = src1 * alpha + src2dst * (1 - alpha) */ |
168 | |
169 | #if defined ( __MEDIALIB_OLD_NAMES ) |
170 | #define __mlib_ImageBlend2_Fp_Inp mlib_ImageBlend2_Fp_Inp |
171 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
172 | mlib_status __mlib_ImageBlend2_Fp_Inp(mlib_image *src2dst, |
173 | const mlib_image *src1, |
174 | const mlib_image *alpha); |
175 | |
176 | /* src2dst = src1 * alpha + src2dst * (1 - alpha) */ |
177 | |
178 | #if defined ( __MEDIALIB_OLD_NAMES ) |
179 | #define __mlib_ImageBlend2_Inp mlib_ImageBlend2_Inp |
180 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
181 | mlib_status __mlib_ImageBlend2_Inp(mlib_image *src2dst, |
182 | const mlib_image *src1, |
183 | const mlib_image *alpha); |
184 | |
185 | |
186 | #if defined ( __MEDIALIB_OLD_NAMES ) |
187 | #define __mlib_ImageBlend_Fp mlib_ImageBlend_Fp |
188 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
189 | mlib_status __mlib_ImageBlend_Fp(mlib_image *dst, |
190 | const mlib_image *src1, |
191 | const mlib_image *src2, |
192 | const mlib_image *alpha); |
193 | |
194 | |
195 | #if defined ( __MEDIALIB_OLD_NAMES ) |
196 | #define __mlib_ImageBlendMulti mlib_ImageBlendMulti |
197 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
198 | mlib_status __mlib_ImageBlendMulti(mlib_image *dst, |
199 | const mlib_image **srcs, |
200 | const mlib_image **alphas, |
201 | const mlib_s32 *c, |
202 | mlib_s32 n); |
203 | |
204 | |
205 | #if defined ( __MEDIALIB_OLD_NAMES ) |
206 | #define __mlib_ImageBlendMulti_Fp mlib_ImageBlendMulti_Fp |
207 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
208 | mlib_status __mlib_ImageBlendMulti_Fp(mlib_image *dst, |
209 | const mlib_image **srcs, |
210 | const mlib_image **alphas, |
211 | const mlib_d64 *c, |
212 | mlib_s32 n); |
213 | |
214 | |
215 | #if defined ( __MEDIALIB_OLD_NAMES ) |
216 | #define __mlib_ImageBlendRGBA2ARGB mlib_ImageBlendRGBA2ARGB |
217 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
218 | mlib_status __mlib_ImageBlendRGBA2ARGB(mlib_image *dst, |
219 | const mlib_image *src); |
220 | |
221 | |
222 | #if defined ( __MEDIALIB_OLD_NAMES ) |
223 | #define __mlib_ImageBlendRGBA2BGRA mlib_ImageBlendRGBA2BGRA |
224 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
225 | mlib_status __mlib_ImageBlendRGBA2BGRA(mlib_image *dst, |
226 | const mlib_image *src); |
227 | |
228 | |
229 | #if defined ( __MEDIALIB_OLD_NAMES ) |
230 | #define __mlib_ImageColorBlend mlib_ImageColorBlend |
231 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
232 | mlib_status __mlib_ImageColorBlend(mlib_image *dst, |
233 | const mlib_image *src, |
234 | const mlib_s32 *color, |
235 | mlib_s32 cmask); |
236 | |
237 | |
238 | #if defined ( __MEDIALIB_OLD_NAMES ) |
239 | #define __mlib_ImageColorBlend_Fp mlib_ImageColorBlend_Fp |
240 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
241 | mlib_status __mlib_ImageColorBlend_Fp(mlib_image *dst, |
242 | const mlib_image *src, |
243 | const mlib_d64 *color, |
244 | mlib_s32 cmask); |
245 | |
246 | |
247 | #if defined ( __MEDIALIB_OLD_NAMES ) |
248 | #define __mlib_ImageColorBlend_Fp_Inp mlib_ImageColorBlend_Fp_Inp |
249 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
250 | mlib_status __mlib_ImageColorBlend_Fp_Inp(mlib_image *srcdst, |
251 | const mlib_d64 *color, |
252 | mlib_s32 cmask); |
253 | |
254 | |
255 | #if defined ( __MEDIALIB_OLD_NAMES ) |
256 | #define __mlib_ImageColorBlend_Inp mlib_ImageColorBlend_Inp |
257 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
258 | mlib_status __mlib_ImageColorBlend_Inp(mlib_image *srcdst, |
259 | const mlib_s32 *color, |
260 | mlib_s32 cmask); |
261 | |
262 | |
263 | #if defined ( __MEDIALIB_OLD_NAMES ) |
264 | #define __mlib_ImageConstAdd mlib_ImageConstAdd |
265 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
266 | mlib_status __mlib_ImageConstAdd(mlib_image *dst, |
267 | const mlib_image *src, |
268 | const mlib_s32 *c); |
269 | |
270 | |
271 | #if defined ( __MEDIALIB_OLD_NAMES ) |
272 | #define __mlib_ImageConstAdd_Fp mlib_ImageConstAdd_Fp |
273 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
274 | mlib_status __mlib_ImageConstAdd_Fp(mlib_image *dst, |
275 | const mlib_image *src, |
276 | const mlib_d64 *c); |
277 | |
278 | |
279 | #if defined ( __MEDIALIB_OLD_NAMES ) |
280 | #define __mlib_ImageConstAdd_Fp_Inp mlib_ImageConstAdd_Fp_Inp |
281 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
282 | mlib_status __mlib_ImageConstAdd_Fp_Inp(mlib_image *srcdst, |
283 | const mlib_d64 *c); |
284 | |
285 | |
286 | #if defined ( __MEDIALIB_OLD_NAMES ) |
287 | #define __mlib_ImageConstAdd_Inp mlib_ImageConstAdd_Inp |
288 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
289 | mlib_status __mlib_ImageConstAdd_Inp(mlib_image *srcdst, |
290 | const mlib_s32 *c); |
291 | |
292 | |
293 | #if defined ( __MEDIALIB_OLD_NAMES ) |
294 | #define __mlib_ImageConstDiv mlib_ImageConstDiv |
295 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
296 | mlib_status __mlib_ImageConstDiv(mlib_image *dst, |
297 | const mlib_image *src, |
298 | const mlib_d64 *consts); |
299 | |
300 | |
301 | #if defined ( __MEDIALIB_OLD_NAMES ) |
302 | #define __mlib_ImageConstDivShift mlib_ImageConstDivShift |
303 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
304 | mlib_status __mlib_ImageConstDivShift(mlib_image *dst, |
305 | const mlib_image *src, |
306 | const mlib_s32 *consts, |
307 | mlib_s32 shift); |
308 | |
309 | |
310 | #if defined ( __MEDIALIB_OLD_NAMES ) |
311 | #define __mlib_ImageConstDivShift_Inp mlib_ImageConstDivShift_Inp |
312 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
313 | mlib_status __mlib_ImageConstDivShift_Inp(mlib_image *srcdst, |
314 | const mlib_s32 *consts, |
315 | mlib_s32 shift); |
316 | |
317 | |
318 | #if defined ( __MEDIALIB_OLD_NAMES ) |
319 | #define __mlib_ImageConstDiv_Fp mlib_ImageConstDiv_Fp |
320 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
321 | mlib_status __mlib_ImageConstDiv_Fp(mlib_image *dst, |
322 | const mlib_image *src, |
323 | const mlib_d64 *consts); |
324 | |
325 | |
326 | #if defined ( __MEDIALIB_OLD_NAMES ) |
327 | #define __mlib_ImageConstDiv_Fp_Inp mlib_ImageConstDiv_Fp_Inp |
328 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
329 | mlib_status __mlib_ImageConstDiv_Fp_Inp(mlib_image *srcdst, |
330 | const mlib_d64 *consts); |
331 | |
332 | |
333 | #if defined ( __MEDIALIB_OLD_NAMES ) |
334 | #define __mlib_ImageConstDiv_Inp mlib_ImageConstDiv_Inp |
335 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
336 | mlib_status __mlib_ImageConstDiv_Inp(mlib_image *srcdst, |
337 | const mlib_d64 *consts); |
338 | |
339 | |
340 | #if defined ( __MEDIALIB_OLD_NAMES ) |
341 | #define __mlib_ImageConstMul mlib_ImageConstMul |
342 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
343 | mlib_status __mlib_ImageConstMul(mlib_image *dst, |
344 | const mlib_image *src, |
345 | const mlib_d64 *consts); |
346 | |
347 | |
348 | #if defined ( __MEDIALIB_OLD_NAMES ) |
349 | #define __mlib_ImageConstMulShift mlib_ImageConstMulShift |
350 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
351 | mlib_status __mlib_ImageConstMulShift(mlib_image *dst, |
352 | const mlib_image *src, |
353 | const mlib_s32 *consts, |
354 | mlib_s32 shift); |
355 | |
356 | |
357 | #if defined ( __MEDIALIB_OLD_NAMES ) |
358 | #define __mlib_ImageConstMulShift_Inp mlib_ImageConstMulShift_Inp |
359 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
360 | mlib_status __mlib_ImageConstMulShift_Inp(mlib_image *srcdst, |
361 | const mlib_s32 *consts, |
362 | mlib_s32 shift); |
363 | |
364 | |
365 | #if defined ( __MEDIALIB_OLD_NAMES ) |
366 | #define __mlib_ImageConstMul_Fp mlib_ImageConstMul_Fp |
367 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
368 | mlib_status __mlib_ImageConstMul_Fp(mlib_image *dst, |
369 | const mlib_image *src, |
370 | const mlib_d64 *consts); |
371 | |
372 | |
373 | #if defined ( __MEDIALIB_OLD_NAMES ) |
374 | #define __mlib_ImageConstMul_Fp_Inp mlib_ImageConstMul_Fp_Inp |
375 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
376 | mlib_status __mlib_ImageConstMul_Fp_Inp(mlib_image *srcdst, |
377 | const mlib_d64 *consts); |
378 | |
379 | |
380 | #if defined ( __MEDIALIB_OLD_NAMES ) |
381 | #define __mlib_ImageConstMul_Inp mlib_ImageConstMul_Inp |
382 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
383 | mlib_status __mlib_ImageConstMul_Inp(mlib_image *srcdst, |
384 | const mlib_d64 *consts); |
385 | |
386 | |
387 | #if defined ( __MEDIALIB_OLD_NAMES ) |
388 | #define __mlib_ImageConstSub mlib_ImageConstSub |
389 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
390 | mlib_status __mlib_ImageConstSub(mlib_image *dst, |
391 | const mlib_image *src, |
392 | const mlib_s32 *c); |
393 | |
394 | |
395 | #if defined ( __MEDIALIB_OLD_NAMES ) |
396 | #define __mlib_ImageConstSub_Fp mlib_ImageConstSub_Fp |
397 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
398 | mlib_status __mlib_ImageConstSub_Fp(mlib_image *dst, |
399 | const mlib_image *src, |
400 | const mlib_d64 *c); |
401 | |
402 | |
403 | #if defined ( __MEDIALIB_OLD_NAMES ) |
404 | #define __mlib_ImageConstSub_Fp_Inp mlib_ImageConstSub_Fp_Inp |
405 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
406 | mlib_status __mlib_ImageConstSub_Fp_Inp(mlib_image *srcdst, |
407 | const mlib_d64 *c); |
408 | |
409 | |
410 | #if defined ( __MEDIALIB_OLD_NAMES ) |
411 | #define __mlib_ImageConstSub_Inp mlib_ImageConstSub_Inp |
412 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
413 | mlib_status __mlib_ImageConstSub_Inp(mlib_image *srcdst, |
414 | const mlib_s32 *c); |
415 | |
416 | |
417 | #if defined ( __MEDIALIB_OLD_NAMES ) |
418 | #define __mlib_ImageDiv1_Fp_Inp mlib_ImageDiv1_Fp_Inp |
419 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
420 | mlib_status __mlib_ImageDiv1_Fp_Inp(mlib_image *src1dst, |
421 | const mlib_image *src2); |
422 | |
423 | |
424 | #if defined ( __MEDIALIB_OLD_NAMES ) |
425 | #define __mlib_ImageDiv2_Fp_Inp mlib_ImageDiv2_Fp_Inp |
426 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
427 | mlib_status __mlib_ImageDiv2_Fp_Inp(mlib_image *src2dst, |
428 | const mlib_image *src1); |
429 | |
430 | |
431 | #if defined ( __MEDIALIB_OLD_NAMES ) |
432 | #define __mlib_ImageDivAlpha mlib_ImageDivAlpha |
433 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
434 | mlib_status __mlib_ImageDivAlpha(mlib_image *dst, |
435 | const mlib_image *src, |
436 | mlib_s32 cmask); |
437 | |
438 | |
439 | #if defined ( __MEDIALIB_OLD_NAMES ) |
440 | #define __mlib_ImageDivAlpha_Fp mlib_ImageDivAlpha_Fp |
441 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
442 | mlib_status __mlib_ImageDivAlpha_Fp(mlib_image *dst, |
443 | const mlib_image *src, |
444 | mlib_s32 cmask); |
445 | |
446 | |
447 | #if defined ( __MEDIALIB_OLD_NAMES ) |
448 | #define __mlib_ImageDivAlpha_Fp_Inp mlib_ImageDivAlpha_Fp_Inp |
449 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
450 | mlib_status __mlib_ImageDivAlpha_Fp_Inp(mlib_image *img, |
451 | mlib_s32 cmask); |
452 | |
453 | |
454 | #if defined ( __MEDIALIB_OLD_NAMES ) |
455 | #define __mlib_ImageDivAlpha_Inp mlib_ImageDivAlpha_Inp |
456 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
457 | mlib_status __mlib_ImageDivAlpha_Inp(mlib_image *img, |
458 | mlib_s32 cmask); |
459 | |
460 | |
461 | #if defined ( __MEDIALIB_OLD_NAMES ) |
462 | #define __mlib_ImageDivConstShift mlib_ImageDivConstShift |
463 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
464 | mlib_status __mlib_ImageDivConstShift(mlib_image *dst, |
465 | const mlib_image *src, |
466 | const mlib_s32 *consts, |
467 | mlib_s32 shift); |
468 | |
469 | |
470 | #if defined ( __MEDIALIB_OLD_NAMES ) |
471 | #define __mlib_ImageDivConstShift_Inp mlib_ImageDivConstShift_Inp |
472 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
473 | mlib_status __mlib_ImageDivConstShift_Inp(mlib_image *srcdst, |
474 | const mlib_s32 *consts, |
475 | mlib_s32 shift); |
476 | |
477 | |
478 | #if defined ( __MEDIALIB_OLD_NAMES ) |
479 | #define __mlib_ImageDivShift mlib_ImageDivShift |
480 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
481 | mlib_status __mlib_ImageDivShift(mlib_image *dst, |
482 | const mlib_image *src1, |
483 | const mlib_image *src2, |
484 | mlib_s32 shift); |
485 | |
486 | |
487 | #if defined ( __MEDIALIB_OLD_NAMES ) |
488 | #define __mlib_ImageDivShift1_Inp mlib_ImageDivShift1_Inp |
489 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
490 | mlib_status __mlib_ImageDivShift1_Inp(mlib_image *src1dst, |
491 | const mlib_image *src2, |
492 | mlib_s32 shift); |
493 | |
494 | |
495 | #if defined ( __MEDIALIB_OLD_NAMES ) |
496 | #define __mlib_ImageDivShift2_Inp mlib_ImageDivShift2_Inp |
497 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
498 | mlib_status __mlib_ImageDivShift2_Inp(mlib_image *src2dst, |
499 | const mlib_image *src1, |
500 | mlib_s32 shift); |
501 | |
502 | |
503 | #if defined ( __MEDIALIB_OLD_NAMES ) |
504 | #define __mlib_ImageDiv_Fp mlib_ImageDiv_Fp |
505 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
506 | mlib_status __mlib_ImageDiv_Fp(mlib_image *dst, |
507 | const mlib_image *src1, |
508 | const mlib_image *src2); |
509 | |
510 | |
511 | #if defined ( __MEDIALIB_OLD_NAMES ) |
512 | #define __mlib_ImageExp mlib_ImageExp |
513 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
514 | mlib_status __mlib_ImageExp(mlib_image *dst, |
515 | const mlib_image *src); |
516 | |
517 | |
518 | #if defined ( __MEDIALIB_OLD_NAMES ) |
519 | #define __mlib_ImageExp_Fp mlib_ImageExp_Fp |
520 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
521 | mlib_status __mlib_ImageExp_Fp(mlib_image *dst, |
522 | const mlib_image *src); |
523 | |
524 | |
525 | #if defined ( __MEDIALIB_OLD_NAMES ) |
526 | #define __mlib_ImageExp_Fp_Inp mlib_ImageExp_Fp_Inp |
527 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
528 | mlib_status __mlib_ImageExp_Fp_Inp(mlib_image *srcdst); |
529 | |
530 | |
531 | #if defined ( __MEDIALIB_OLD_NAMES ) |
532 | #define __mlib_ImageExp_Inp mlib_ImageExp_Inp |
533 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
534 | mlib_status __mlib_ImageExp_Inp(mlib_image *srcdst); |
535 | |
536 | |
537 | #if defined ( __MEDIALIB_OLD_NAMES ) |
538 | #define __mlib_ImageInvert mlib_ImageInvert |
539 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
540 | mlib_status __mlib_ImageInvert(mlib_image *dst, |
541 | const mlib_image *src); |
542 | |
543 | |
544 | #if defined ( __MEDIALIB_OLD_NAMES ) |
545 | #define __mlib_ImageInvert_Fp mlib_ImageInvert_Fp |
546 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
547 | mlib_status __mlib_ImageInvert_Fp(mlib_image *dst, |
548 | const mlib_image *src); |
549 | |
550 | |
551 | #if defined ( __MEDIALIB_OLD_NAMES ) |
552 | #define __mlib_ImageInvert_Fp_Inp mlib_ImageInvert_Fp_Inp |
553 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
554 | mlib_status __mlib_ImageInvert_Fp_Inp(mlib_image *srcdst); |
555 | |
556 | |
557 | #if defined ( __MEDIALIB_OLD_NAMES ) |
558 | #define __mlib_ImageInvert_Inp mlib_ImageInvert_Inp |
559 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
560 | mlib_status __mlib_ImageInvert_Inp(mlib_image *srcdst); |
561 | |
562 | |
563 | #if defined ( __MEDIALIB_OLD_NAMES ) |
564 | #define __mlib_ImageLog mlib_ImageLog |
565 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
566 | mlib_status __mlib_ImageLog(mlib_image *dst, |
567 | const mlib_image *src); |
568 | |
569 | |
570 | #if defined ( __MEDIALIB_OLD_NAMES ) |
571 | #define __mlib_ImageLog_Fp mlib_ImageLog_Fp |
572 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
573 | mlib_status __mlib_ImageLog_Fp(mlib_image *dst, |
574 | const mlib_image *src); |
575 | |
576 | |
577 | #if defined ( __MEDIALIB_OLD_NAMES ) |
578 | #define __mlib_ImageLog_Fp_Inp mlib_ImageLog_Fp_Inp |
579 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
580 | mlib_status __mlib_ImageLog_Fp_Inp(mlib_image *srcdst); |
581 | |
582 | |
583 | #if defined ( __MEDIALIB_OLD_NAMES ) |
584 | #define __mlib_ImageLog_Inp mlib_ImageLog_Inp |
585 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
586 | mlib_status __mlib_ImageLog_Inp(mlib_image *srcdst); |
587 | |
588 | |
589 | #if defined ( __MEDIALIB_OLD_NAMES ) |
590 | #define __mlib_ImageMax mlib_ImageMax |
591 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
592 | mlib_status __mlib_ImageMax(mlib_image *dst, |
593 | const mlib_image *src1, |
594 | const mlib_image *src2); |
595 | |
596 | |
597 | #if defined ( __MEDIALIB_OLD_NAMES ) |
598 | #define __mlib_ImageMax_Fp mlib_ImageMax_Fp |
599 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
600 | mlib_status __mlib_ImageMax_Fp(mlib_image *dst, |
601 | const mlib_image *src1, |
602 | const mlib_image *src2); |
603 | |
604 | |
605 | #if defined ( __MEDIALIB_OLD_NAMES ) |
606 | #define __mlib_ImageMax_Fp_Inp mlib_ImageMax_Fp_Inp |
607 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
608 | mlib_status __mlib_ImageMax_Fp_Inp(mlib_image *src1dst, |
609 | const mlib_image *src2); |
610 | |
611 | |
612 | #if defined ( __MEDIALIB_OLD_NAMES ) |
613 | #define __mlib_ImageMax_Inp mlib_ImageMax_Inp |
614 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
615 | mlib_status __mlib_ImageMax_Inp(mlib_image *src1dst, |
616 | const mlib_image *src2); |
617 | |
618 | |
619 | #if defined ( __MEDIALIB_OLD_NAMES ) |
620 | #define __mlib_ImageMin mlib_ImageMin |
621 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
622 | mlib_status __mlib_ImageMin(mlib_image *dst, |
623 | const mlib_image *src1, |
624 | const mlib_image *src2); |
625 | |
626 | |
627 | #if defined ( __MEDIALIB_OLD_NAMES ) |
628 | #define __mlib_ImageMin_Fp mlib_ImageMin_Fp |
629 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
630 | mlib_status __mlib_ImageMin_Fp(mlib_image *dst, |
631 | const mlib_image *src1, |
632 | const mlib_image *src2); |
633 | |
634 | |
635 | #if defined ( __MEDIALIB_OLD_NAMES ) |
636 | #define __mlib_ImageMin_Fp_Inp mlib_ImageMin_Fp_Inp |
637 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
638 | mlib_status __mlib_ImageMin_Fp_Inp(mlib_image *src1dst, |
639 | const mlib_image *src2); |
640 | |
641 | |
642 | #if defined ( __MEDIALIB_OLD_NAMES ) |
643 | #define __mlib_ImageMin_Inp mlib_ImageMin_Inp |
644 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
645 | mlib_status __mlib_ImageMin_Inp(mlib_image *src1dst, |
646 | const mlib_image *src2); |
647 | |
648 | |
649 | #if defined ( __MEDIALIB_OLD_NAMES ) |
650 | #define __mlib_ImageMulAlpha mlib_ImageMulAlpha |
651 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
652 | mlib_status __mlib_ImageMulAlpha(mlib_image *dst, |
653 | const mlib_image *src, |
654 | mlib_s32 cmask); |
655 | |
656 | |
657 | #if defined ( __MEDIALIB_OLD_NAMES ) |
658 | #define __mlib_ImageMulAlpha_Fp mlib_ImageMulAlpha_Fp |
659 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
660 | mlib_status __mlib_ImageMulAlpha_Fp(mlib_image *dst, |
661 | const mlib_image *src, |
662 | mlib_s32 cmask); |
663 | |
664 | |
665 | #if defined ( __MEDIALIB_OLD_NAMES ) |
666 | #define __mlib_ImageMulAlpha_Fp_Inp mlib_ImageMulAlpha_Fp_Inp |
667 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
668 | mlib_status __mlib_ImageMulAlpha_Fp_Inp(mlib_image *img, |
669 | mlib_s32 cmask); |
670 | |
671 | |
672 | #if defined ( __MEDIALIB_OLD_NAMES ) |
673 | #define __mlib_ImageMulAlpha_Inp mlib_ImageMulAlpha_Inp |
674 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
675 | mlib_status __mlib_ImageMulAlpha_Inp(mlib_image *img, |
676 | mlib_s32 cmask); |
677 | |
678 | |
679 | #if defined ( __MEDIALIB_OLD_NAMES ) |
680 | #define __mlib_ImageMulShift mlib_ImageMulShift |
681 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
682 | mlib_status __mlib_ImageMulShift(mlib_image *dst, |
683 | const mlib_image *src1, |
684 | const mlib_image *src2, |
685 | mlib_s32 shift); |
686 | |
687 | |
688 | #if defined ( __MEDIALIB_OLD_NAMES ) |
689 | #define __mlib_ImageMulShift_Inp mlib_ImageMulShift_Inp |
690 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
691 | mlib_status __mlib_ImageMulShift_Inp(mlib_image *src1dst, |
692 | const mlib_image *src2, |
693 | mlib_s32 shift); |
694 | |
695 | |
696 | #if defined ( __MEDIALIB_OLD_NAMES ) |
697 | #define __mlib_ImageMul_Fp mlib_ImageMul_Fp |
698 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
699 | mlib_status __mlib_ImageMul_Fp(mlib_image *dst, |
700 | const mlib_image *src1, |
701 | const mlib_image *src2); |
702 | |
703 | |
704 | #if defined ( __MEDIALIB_OLD_NAMES ) |
705 | #define __mlib_ImageMul_Fp_Inp mlib_ImageMul_Fp_Inp |
706 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
707 | mlib_status __mlib_ImageMul_Fp_Inp(mlib_image *src1dst, |
708 | const mlib_image *src2); |
709 | |
710 | |
711 | #if defined ( __MEDIALIB_OLD_NAMES ) |
712 | #define __mlib_ImageScalarBlend mlib_ImageScalarBlend |
713 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
714 | mlib_status __mlib_ImageScalarBlend(mlib_image *dst, |
715 | const mlib_image *src1, |
716 | const mlib_image *src2, |
717 | const mlib_s32 *alpha); |
718 | |
719 | |
720 | #if defined ( __MEDIALIB_OLD_NAMES ) |
721 | #define __mlib_ImageScalarBlend_Fp mlib_ImageScalarBlend_Fp |
722 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
723 | mlib_status __mlib_ImageScalarBlend_Fp(mlib_image *dst, |
724 | const mlib_image *src1, |
725 | const mlib_image *src2, |
726 | const mlib_d64 *alpha); |
727 | |
728 | |
729 | #if defined ( __MEDIALIB_OLD_NAMES ) |
730 | #define __mlib_ImageScalarBlend_Fp_Inp mlib_ImageScalarBlend_Fp_Inp |
731 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
732 | mlib_status __mlib_ImageScalarBlend_Fp_Inp(mlib_image *src1dst, |
733 | const mlib_image *src2, |
734 | const mlib_d64 *alpha); |
735 | |
736 | |
737 | #if defined ( __MEDIALIB_OLD_NAMES ) |
738 | #define __mlib_ImageScalarBlend_Inp mlib_ImageScalarBlend_Inp |
739 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
740 | mlib_status __mlib_ImageScalarBlend_Inp(mlib_image *src1dst, |
741 | const mlib_image *src2, |
742 | const mlib_s32 *alpha); |
743 | |
744 | |
745 | #if defined ( __MEDIALIB_OLD_NAMES ) |
746 | #define __mlib_ImageScale mlib_ImageScale |
747 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
748 | mlib_status __mlib_ImageScale(mlib_image *dst, |
749 | const mlib_image *src, |
750 | const mlib_s32 *alpha, |
751 | const mlib_s32 *beta, |
752 | mlib_s32 shift); |
753 | |
754 | |
755 | #if defined ( __MEDIALIB_OLD_NAMES ) |
756 | #define __mlib_ImageScale2 mlib_ImageScale2 |
757 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
758 | mlib_status __mlib_ImageScale2(mlib_image *dst, |
759 | const mlib_image *src, |
760 | const mlib_d64 *alpha, |
761 | const mlib_d64 *beta); |
762 | |
763 | |
764 | #if defined ( __MEDIALIB_OLD_NAMES ) |
765 | #define __mlib_ImageScale2_Inp mlib_ImageScale2_Inp |
766 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
767 | mlib_status __mlib_ImageScale2_Inp(mlib_image *srcdst, |
768 | const mlib_d64 *alpha, |
769 | const mlib_d64 *beta); |
770 | |
771 | |
772 | #if defined ( __MEDIALIB_OLD_NAMES ) |
773 | #define __mlib_ImageScale_Fp mlib_ImageScale_Fp |
774 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
775 | mlib_status __mlib_ImageScale_Fp(mlib_image *dst, |
776 | const mlib_image *src, |
777 | const mlib_d64 *alpha, |
778 | const mlib_d64 *beta); |
779 | |
780 | |
781 | #if defined ( __MEDIALIB_OLD_NAMES ) |
782 | #define __mlib_ImageScale_Fp_Inp mlib_ImageScale_Fp_Inp |
783 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
784 | mlib_status __mlib_ImageScale_Fp_Inp(mlib_image *srcdst, |
785 | const mlib_d64 *alpha, |
786 | const mlib_d64 *beta); |
787 | |
788 | |
789 | #if defined ( __MEDIALIB_OLD_NAMES ) |
790 | #define __mlib_ImageScale_Inp mlib_ImageScale_Inp |
791 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
792 | mlib_status __mlib_ImageScale_Inp(mlib_image *srcdst, |
793 | const mlib_s32 *alpha, |
794 | const mlib_s32 *beta, |
795 | mlib_s32 shift); |
796 | |
797 | |
798 | #if defined ( __MEDIALIB_OLD_NAMES ) |
799 | #define __mlib_ImageSqrShift mlib_ImageSqrShift |
800 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
801 | mlib_status __mlib_ImageSqrShift(mlib_image *dst, |
802 | const mlib_image *src, |
803 | mlib_s32 shift); |
804 | |
805 | |
806 | #if defined ( __MEDIALIB_OLD_NAMES ) |
807 | #define __mlib_ImageSqrShift_Inp mlib_ImageSqrShift_Inp |
808 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
809 | mlib_status __mlib_ImageSqrShift_Inp(mlib_image *srcdst, |
810 | mlib_s32 shift); |
811 | |
812 | |
813 | #if defined ( __MEDIALIB_OLD_NAMES ) |
814 | #define __mlib_ImageSqr_Fp mlib_ImageSqr_Fp |
815 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
816 | mlib_status __mlib_ImageSqr_Fp(mlib_image *dst, |
817 | const mlib_image *src); |
818 | |
819 | |
820 | #if defined ( __MEDIALIB_OLD_NAMES ) |
821 | #define __mlib_ImageSqr_Fp_Inp mlib_ImageSqr_Fp_Inp |
822 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
823 | mlib_status __mlib_ImageSqr_Fp_Inp(mlib_image *srcdst); |
824 | |
825 | |
826 | #if defined ( __MEDIALIB_OLD_NAMES ) |
827 | #define __mlib_ImageSub mlib_ImageSub |
828 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
829 | mlib_status __mlib_ImageSub(mlib_image *dst, |
830 | const mlib_image *src1, |
831 | const mlib_image *src2); |
832 | |
833 | /* src1dst = src1dst - src2 */ |
834 | |
835 | #if defined ( __MEDIALIB_OLD_NAMES ) |
836 | #define __mlib_ImageSub1_Fp_Inp mlib_ImageSub1_Fp_Inp |
837 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
838 | mlib_status __mlib_ImageSub1_Fp_Inp(mlib_image *src1dst, |
839 | const mlib_image *src2); |
840 | |
841 | /* src1dst = src1dst - src2 */ |
842 | |
843 | #if defined ( __MEDIALIB_OLD_NAMES ) |
844 | #define __mlib_ImageSub1_Inp mlib_ImageSub1_Inp |
845 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
846 | mlib_status __mlib_ImageSub1_Inp(mlib_image *src1dst, |
847 | const mlib_image *src2); |
848 | |
849 | /* src2dst = src1 - src2dst */ |
850 | |
851 | #if defined ( __MEDIALIB_OLD_NAMES ) |
852 | #define __mlib_ImageSub2_Fp_Inp mlib_ImageSub2_Fp_Inp |
853 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
854 | mlib_status __mlib_ImageSub2_Fp_Inp(mlib_image *src2dst, |
855 | const mlib_image *src1); |
856 | |
857 | /* src2dst = src1 - src2dst */ |
858 | |
859 | #if defined ( __MEDIALIB_OLD_NAMES ) |
860 | #define __mlib_ImageSub2_Inp mlib_ImageSub2_Inp |
861 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
862 | mlib_status __mlib_ImageSub2_Inp(mlib_image *src2dst, |
863 | const mlib_image *src1); |
864 | |
865 | |
866 | #if defined ( __MEDIALIB_OLD_NAMES ) |
867 | #define __mlib_ImageSub_Fp mlib_ImageSub_Fp |
868 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
869 | mlib_status __mlib_ImageSub_Fp(mlib_image *dst, |
870 | const mlib_image *src1, |
871 | const mlib_image *src2); |
872 | |
873 | /* Color Space Conversion ( color ) */ |
874 | |
875 | |
876 | #if defined ( __MEDIALIB_OLD_NAMES ) |
877 | #define __mlib_ImageColorConvert1 mlib_ImageColorConvert1 |
878 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
879 | mlib_status __mlib_ImageColorConvert1(mlib_image *dst, |
880 | const mlib_image *src, |
881 | const mlib_d64 *cmat); |
882 | |
883 | |
884 | #if defined ( __MEDIALIB_OLD_NAMES ) |
885 | #define __mlib_ImageColorConvert1_Fp mlib_ImageColorConvert1_Fp |
886 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
887 | mlib_status __mlib_ImageColorConvert1_Fp(mlib_image *dst, |
888 | const mlib_image *src, |
889 | const mlib_d64 *cmat); |
890 | |
891 | |
892 | #if defined ( __MEDIALIB_OLD_NAMES ) |
893 | #define __mlib_ImageColorConvert2 mlib_ImageColorConvert2 |
894 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
895 | mlib_status __mlib_ImageColorConvert2(mlib_image *dst, |
896 | const mlib_image *src, |
897 | const mlib_d64 *cmat, |
898 | const mlib_d64 *offset); |
899 | |
900 | |
901 | #if defined ( __MEDIALIB_OLD_NAMES ) |
902 | #define __mlib_ImageColorConvert2_Fp mlib_ImageColorConvert2_Fp |
903 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
904 | mlib_status __mlib_ImageColorConvert2_Fp(mlib_image *dst, |
905 | const mlib_image *src, |
906 | const mlib_d64 *cmat, |
907 | const mlib_d64 *offset); |
908 | |
909 | |
910 | #if defined ( __MEDIALIB_OLD_NAMES ) |
911 | #define __mlib_ImageColorHSL2RGB mlib_ImageColorHSL2RGB |
912 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
913 | mlib_status __mlib_ImageColorHSL2RGB(mlib_image *dst, |
914 | const mlib_image *src); |
915 | |
916 | |
917 | #if defined ( __MEDIALIB_OLD_NAMES ) |
918 | #define __mlib_ImageColorHSL2RGB_Fp mlib_ImageColorHSL2RGB_Fp |
919 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
920 | mlib_status __mlib_ImageColorHSL2RGB_Fp(mlib_image *dst, |
921 | const mlib_image *src); |
922 | |
923 | |
924 | #if defined ( __MEDIALIB_OLD_NAMES ) |
925 | #define __mlib_ImageColorHSV2RGB mlib_ImageColorHSV2RGB |
926 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
927 | mlib_status __mlib_ImageColorHSV2RGB(mlib_image *dst, |
928 | const mlib_image *src); |
929 | |
930 | |
931 | #if defined ( __MEDIALIB_OLD_NAMES ) |
932 | #define __mlib_ImageColorHSV2RGB_Fp mlib_ImageColorHSV2RGB_Fp |
933 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
934 | mlib_status __mlib_ImageColorHSV2RGB_Fp(mlib_image *dst, |
935 | const mlib_image *src); |
936 | |
937 | |
938 | #if defined ( __MEDIALIB_OLD_NAMES ) |
939 | #define __mlib_ImageColorRGB2CIEMono mlib_ImageColorRGB2CIEMono |
940 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
941 | mlib_status __mlib_ImageColorRGB2CIEMono(mlib_image *dst, |
942 | const mlib_image *src); |
943 | |
944 | |
945 | #if defined ( __MEDIALIB_OLD_NAMES ) |
946 | #define __mlib_ImageColorRGB2CIEMono_Fp mlib_ImageColorRGB2CIEMono_Fp |
947 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
948 | mlib_status __mlib_ImageColorRGB2CIEMono_Fp(mlib_image *dst, |
949 | const mlib_image *src); |
950 | |
951 | |
952 | #if defined ( __MEDIALIB_OLD_NAMES ) |
953 | #define __mlib_ImageColorRGB2HSL mlib_ImageColorRGB2HSL |
954 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
955 | mlib_status __mlib_ImageColorRGB2HSL(mlib_image *dst, |
956 | const mlib_image *src); |
957 | |
958 | |
959 | #if defined ( __MEDIALIB_OLD_NAMES ) |
960 | #define __mlib_ImageColorRGB2HSL_Fp mlib_ImageColorRGB2HSL_Fp |
961 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
962 | mlib_status __mlib_ImageColorRGB2HSL_Fp(mlib_image *dst, |
963 | const mlib_image *src); |
964 | |
965 | |
966 | #if defined ( __MEDIALIB_OLD_NAMES ) |
967 | #define __mlib_ImageColorRGB2HSV mlib_ImageColorRGB2HSV |
968 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
969 | mlib_status __mlib_ImageColorRGB2HSV(mlib_image *dst, |
970 | const mlib_image *src); |
971 | |
972 | |
973 | #if defined ( __MEDIALIB_OLD_NAMES ) |
974 | #define __mlib_ImageColorRGB2HSV_Fp mlib_ImageColorRGB2HSV_Fp |
975 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
976 | mlib_status __mlib_ImageColorRGB2HSV_Fp(mlib_image *dst, |
977 | const mlib_image *src); |
978 | |
979 | |
980 | #if defined ( __MEDIALIB_OLD_NAMES ) |
981 | #define __mlib_ImageColorRGB2Mono mlib_ImageColorRGB2Mono |
982 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
983 | mlib_status __mlib_ImageColorRGB2Mono(mlib_image *dst, |
984 | const mlib_image *src, |
985 | const mlib_d64 *weight); |
986 | |
987 | |
988 | #if defined ( __MEDIALIB_OLD_NAMES ) |
989 | #define __mlib_ImageColorRGB2Mono_Fp mlib_ImageColorRGB2Mono_Fp |
990 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
991 | mlib_status __mlib_ImageColorRGB2Mono_Fp(mlib_image *dst, |
992 | const mlib_image *src, |
993 | const mlib_d64 *weight); |
994 | |
995 | |
996 | #if defined ( __MEDIALIB_OLD_NAMES ) |
997 | #define __mlib_ImageColorRGB2XYZ mlib_ImageColorRGB2XYZ |
998 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
999 | mlib_status __mlib_ImageColorRGB2XYZ(mlib_image *dst, |
1000 | const mlib_image *src); |
1001 | |
1002 | |
1003 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1004 | #define __mlib_ImageColorRGB2XYZ_Fp mlib_ImageColorRGB2XYZ_Fp |
1005 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1006 | mlib_status __mlib_ImageColorRGB2XYZ_Fp(mlib_image *dst, |
1007 | const mlib_image *src); |
1008 | |
1009 | |
1010 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1011 | #define __mlib_ImageColorRGB2YCC mlib_ImageColorRGB2YCC |
1012 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1013 | mlib_status __mlib_ImageColorRGB2YCC(mlib_image *dst, |
1014 | const mlib_image *src); |
1015 | |
1016 | |
1017 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1018 | #define __mlib_ImageColorRGB2YCC_Fp mlib_ImageColorRGB2YCC_Fp |
1019 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1020 | mlib_status __mlib_ImageColorRGB2YCC_Fp(mlib_image *dst, |
1021 | const mlib_image *src); |
1022 | |
1023 | |
1024 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1025 | #define __mlib_ImageColorXYZ2RGB mlib_ImageColorXYZ2RGB |
1026 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1027 | mlib_status __mlib_ImageColorXYZ2RGB(mlib_image *dst, |
1028 | const mlib_image *src); |
1029 | |
1030 | |
1031 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1032 | #define __mlib_ImageColorXYZ2RGB_Fp mlib_ImageColorXYZ2RGB_Fp |
1033 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1034 | mlib_status __mlib_ImageColorXYZ2RGB_Fp(mlib_image *dst, |
1035 | const mlib_image *src); |
1036 | |
1037 | |
1038 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1039 | #define __mlib_ImageColorYCC2RGB mlib_ImageColorYCC2RGB |
1040 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1041 | mlib_status __mlib_ImageColorYCC2RGB(mlib_image *dst, |
1042 | const mlib_image *src); |
1043 | |
1044 | |
1045 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1046 | #define __mlib_ImageColorYCC2RGB_Fp mlib_ImageColorYCC2RGB_Fp |
1047 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1048 | mlib_status __mlib_ImageColorYCC2RGB_Fp(mlib_image *dst, |
1049 | const mlib_image *src); |
1050 | |
1051 | /* Image Creation, Deletion and Query ( common ) */ |
1052 | |
1053 | |
1054 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1055 | #define __mlib_ImageCreate mlib_ImageCreate |
1056 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1057 | JNIEXPORT mlib_image * |
1058 | __mlib_ImageCreate(mlib_type type, |
1059 | mlib_s32 channels, |
1060 | mlib_s32 width, |
1061 | mlib_s32 height); |
1062 | |
1063 | |
1064 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1065 | #define __mlib_ImageCreateStruct mlib_ImageCreateStruct |
1066 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1067 | JNIEXPORT mlib_image * |
1068 | __mlib_ImageCreateStruct(mlib_type type, |
1069 | mlib_s32 channels, |
1070 | mlib_s32 width, |
1071 | mlib_s32 height, |
1072 | mlib_s32 stride, |
1073 | const void *data); |
1074 | |
1075 | |
1076 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1077 | #define __mlib_ImageCreateSubimage mlib_ImageCreateSubimage |
1078 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1079 | mlib_image * __mlib_ImageCreateSubimage(mlib_image *img, |
1080 | mlib_s32 x, |
1081 | mlib_s32 y, |
1082 | mlib_s32 w, |
1083 | mlib_s32 h); |
1084 | |
1085 | |
1086 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1087 | #define __mlib_ImageDelete mlib_ImageDelete |
1088 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1089 | JNIEXPORT void |
1090 | __mlib_ImageDelete(mlib_image *img); |
1091 | |
1092 | |
1093 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1094 | #define __mlib_ImageSetPaddings mlib_ImageSetPaddings |
1095 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1096 | mlib_status __mlib_ImageSetPaddings(mlib_image *img, |
1097 | mlib_u8 left, |
1098 | mlib_u8 top, |
1099 | mlib_u8 right, |
1100 | mlib_u8 bottom); |
1101 | |
1102 | |
1103 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1104 | #define __mlib_ImageSetFormat mlib_ImageSetFormat |
1105 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1106 | mlib_status __mlib_ImageSetFormat(mlib_image *img, |
1107 | mlib_format format); |
1108 | |
1109 | |
1110 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1111 | #define __mlib_ImageGetType mlib_ImageGetType |
1112 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1113 | static mlib_type __mlib_ImageGetType(const mlib_image *img); |
1114 | |
1115 | |
1116 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1117 | #define __mlib_ImageGetChannels mlib_ImageGetChannels |
1118 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1119 | static mlib_s32 __mlib_ImageGetChannels(const mlib_image *img); |
1120 | |
1121 | |
1122 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1123 | #define __mlib_ImageGetWidth mlib_ImageGetWidth |
1124 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1125 | static mlib_s32 __mlib_ImageGetWidth(const mlib_image *img); |
1126 | |
1127 | |
1128 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1129 | #define __mlib_ImageGetHeight mlib_ImageGetHeight |
1130 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1131 | static mlib_s32 __mlib_ImageGetHeight(const mlib_image *img); |
1132 | |
1133 | |
1134 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1135 | #define __mlib_ImageGetStride mlib_ImageGetStride |
1136 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1137 | static mlib_s32 __mlib_ImageGetStride(const mlib_image *img); |
1138 | |
1139 | |
1140 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1141 | #define __mlib_ImageGetData mlib_ImageGetData |
1142 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1143 | static void * __mlib_ImageGetData(const mlib_image *img); |
1144 | |
1145 | |
1146 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1147 | #define __mlib_ImageGetFlags mlib_ImageGetFlags |
1148 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1149 | static mlib_s32 __mlib_ImageGetFlags(const mlib_image *img); |
1150 | |
1151 | |
1152 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1153 | #define __mlib_ImageGetPaddings mlib_ImageGetPaddings |
1154 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1155 | static mlib_u8 * __mlib_ImageGetPaddings(const mlib_image *img); |
1156 | |
1157 | |
1158 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1159 | #define __mlib_ImageGetBitOffset mlib_ImageGetBitOffset |
1160 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1161 | static mlib_s32 __mlib_ImageGetBitOffset(const mlib_image *img); |
1162 | |
1163 | |
1164 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1165 | #define __mlib_ImageGetFormat mlib_ImageGetFormat |
1166 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1167 | static mlib_format __mlib_ImageGetFormat(const mlib_image *img); |
1168 | |
1169 | |
1170 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1171 | #define __mlib_ImageIsNotAligned2 mlib_ImageIsNotAligned2 |
1172 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1173 | static mlib_s32 __mlib_ImageIsNotAligned2(const mlib_image *img); |
1174 | |
1175 | |
1176 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1177 | #define __mlib_ImageIsNotAligned4 mlib_ImageIsNotAligned4 |
1178 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1179 | static mlib_s32 __mlib_ImageIsNotAligned4(const mlib_image *img); |
1180 | |
1181 | |
1182 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1183 | #define __mlib_ImageIsNotAligned64 mlib_ImageIsNotAligned64 |
1184 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1185 | static mlib_s32 __mlib_ImageIsNotAligned64(const mlib_image *img); |
1186 | |
1187 | |
1188 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1189 | #define __mlib_ImageIsNotAligned8 mlib_ImageIsNotAligned8 |
1190 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1191 | static mlib_s32 __mlib_ImageIsNotAligned8(const mlib_image *img); |
1192 | |
1193 | |
1194 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1195 | #define __mlib_ImageIsNotHeight2X mlib_ImageIsNotHeight2X |
1196 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1197 | static mlib_s32 __mlib_ImageIsNotHeight2X(const mlib_image *img); |
1198 | |
1199 | |
1200 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1201 | #define __mlib_ImageIsNotHeight4X mlib_ImageIsNotHeight4X |
1202 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1203 | static mlib_s32 __mlib_ImageIsNotHeight4X(const mlib_image *img); |
1204 | |
1205 | |
1206 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1207 | #define __mlib_ImageIsNotHeight8X mlib_ImageIsNotHeight8X |
1208 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1209 | static mlib_s32 __mlib_ImageIsNotHeight8X(const mlib_image *img); |
1210 | |
1211 | |
1212 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1213 | #define __mlib_ImageIsNotOneDvector mlib_ImageIsNotOneDvector |
1214 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1215 | static mlib_s32 __mlib_ImageIsNotOneDvector(const mlib_image *img); |
1216 | |
1217 | |
1218 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1219 | #define __mlib_ImageIsNotStride8X mlib_ImageIsNotStride8X |
1220 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1221 | static mlib_s32 __mlib_ImageIsNotStride8X(const mlib_image *img); |
1222 | |
1223 | |
1224 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1225 | #define __mlib_ImageIsNotWidth2X mlib_ImageIsNotWidth2X |
1226 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1227 | static mlib_s32 __mlib_ImageIsNotWidth2X(const mlib_image *img); |
1228 | |
1229 | |
1230 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1231 | #define __mlib_ImageIsNotWidth4X mlib_ImageIsNotWidth4X |
1232 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1233 | static mlib_s32 __mlib_ImageIsNotWidth4X(const mlib_image *img); |
1234 | |
1235 | |
1236 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1237 | #define __mlib_ImageIsNotWidth8X mlib_ImageIsNotWidth8X |
1238 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1239 | static mlib_s32 __mlib_ImageIsNotWidth8X(const mlib_image *img); |
1240 | |
1241 | |
1242 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1243 | #define __mlib_ImageIsUserAllocated mlib_ImageIsUserAllocated |
1244 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1245 | static mlib_s32 __mlib_ImageIsUserAllocated(const mlib_image *img); |
1246 | |
1247 | |
1248 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1249 | #define __mlib_ImageTestFlags mlib_ImageTestFlags |
1250 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1251 | static mlib_s32 __mlib_ImageTestFlags(const mlib_image *img, |
1252 | mlib_s32 flags); |
1253 | |
1254 | /* Image Copying and Clearing ( copy ) */ |
1255 | |
1256 | |
1257 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1258 | #define __mlib_ImageClear mlib_ImageClear |
1259 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1260 | mlib_status __mlib_ImageClear(mlib_image *img, |
1261 | const mlib_s32 *color); |
1262 | |
1263 | |
1264 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1265 | #define __mlib_ImageClearEdge mlib_ImageClearEdge |
1266 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1267 | mlib_status __mlib_ImageClearEdge(mlib_image *img, |
1268 | mlib_s32 dx, |
1269 | mlib_s32 dy, |
1270 | const mlib_s32 *color); |
1271 | |
1272 | |
1273 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1274 | #define __mlib_ImageClearEdge_Fp mlib_ImageClearEdge_Fp |
1275 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1276 | mlib_status __mlib_ImageClearEdge_Fp(mlib_image *img, |
1277 | mlib_s32 dx, |
1278 | mlib_s32 dy, |
1279 | const mlib_d64 *color); |
1280 | |
1281 | |
1282 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1283 | #define __mlib_ImageClear_Fp mlib_ImageClear_Fp |
1284 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1285 | mlib_status __mlib_ImageClear_Fp(mlib_image *img, |
1286 | const mlib_d64 *color); |
1287 | |
1288 | |
1289 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1290 | #define __mlib_ImageCopy mlib_ImageCopy |
1291 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1292 | mlib_status __mlib_ImageCopy(mlib_image *dst, |
1293 | const mlib_image *src); |
1294 | |
1295 | |
1296 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1297 | #define __mlib_ImageCopyArea mlib_ImageCopyArea |
1298 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1299 | mlib_status __mlib_ImageCopyArea(mlib_image *img, |
1300 | mlib_s32 x, |
1301 | mlib_s32 y, |
1302 | mlib_s32 w, |
1303 | mlib_s32 h, |
1304 | mlib_s32 dx, |
1305 | mlib_s32 dy); |
1306 | |
1307 | |
1308 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1309 | #define __mlib_ImageCopyMask mlib_ImageCopyMask |
1310 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1311 | mlib_status __mlib_ImageCopyMask(mlib_image *dst, |
1312 | const mlib_image *src, |
1313 | const mlib_image *mask, |
1314 | const mlib_s32 *thresh); |
1315 | |
1316 | |
1317 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1318 | #define __mlib_ImageCopyMask_Fp mlib_ImageCopyMask_Fp |
1319 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1320 | mlib_status __mlib_ImageCopyMask_Fp(mlib_image *dst, |
1321 | const mlib_image *src, |
1322 | const mlib_image *mask, |
1323 | const mlib_d64 *thresh); |
1324 | |
1325 | |
1326 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1327 | #define __mlib_ImageCopySubimage mlib_ImageCopySubimage |
1328 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1329 | mlib_status __mlib_ImageCopySubimage(mlib_image *dst, |
1330 | const mlib_image *src, |
1331 | mlib_s32 xd, |
1332 | mlib_s32 yd, |
1333 | mlib_s32 xs, |
1334 | mlib_s32 ys, |
1335 | mlib_s32 w, |
1336 | mlib_s32 h); |
1337 | |
1338 | /* Data Fomat Conversion ( format ) */ |
1339 | |
1340 | |
1341 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1342 | #define __mlib_ImageChannelCopy mlib_ImageChannelCopy |
1343 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1344 | mlib_status __mlib_ImageChannelCopy(mlib_image *dst, |
1345 | const mlib_image *src, |
1346 | mlib_s32 cmask); |
1347 | |
1348 | |
1349 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1350 | #define |
1351 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1352 | mlib_status __mlib_ImageChannelExtract(mlib_image *dst, |
1353 | const mlib_image *src, |
1354 | mlib_s32 cmask); |
1355 | |
1356 | |
1357 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1358 | #define __mlib_ImageChannelInsert mlib_ImageChannelInsert |
1359 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1360 | mlib_status __mlib_ImageChannelInsert(mlib_image *dst, |
1361 | const mlib_image *src, |
1362 | mlib_s32 cmask); |
1363 | |
1364 | |
1365 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1366 | #define __mlib_ImageChannelMerge mlib_ImageChannelMerge |
1367 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1368 | mlib_status __mlib_ImageChannelMerge(mlib_image *dst, |
1369 | const mlib_image ** srcs); |
1370 | |
1371 | |
1372 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1373 | #define __mlib_ImageChannelSplit mlib_ImageChannelSplit |
1374 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1375 | mlib_status __mlib_ImageChannelSplit(mlib_image ** dsts, |
1376 | const mlib_image *src); |
1377 | |
1378 | |
1379 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1380 | #define __mlib_ImageDataTypeConvert mlib_ImageDataTypeConvert |
1381 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1382 | mlib_status __mlib_ImageDataTypeConvert(mlib_image *dst, |
1383 | const mlib_image *src); |
1384 | |
1385 | |
1386 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1387 | #define __mlib_ImageReformat mlib_ImageReformat |
1388 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1389 | mlib_status __mlib_ImageReformat(void **dstData, |
1390 | const void **srcData, |
1391 | mlib_s32 numChannels, |
1392 | mlib_s32 xSize, |
1393 | mlib_s32 ySize, |
1394 | mlib_type dstDataType, |
1395 | const mlib_s32 *dstBandoffsets, |
1396 | mlib_s32 dstScanlinestride, |
1397 | mlib_s32 dstPixelstride, |
1398 | mlib_type srcDataType, |
1399 | const mlib_s32 *srcBandoffsets, |
1400 | mlib_s32 srcScanlinestride, |
1401 | mlib_s32 srcPixelstride); |
1402 | |
1403 | /* Fourier Transformation ( fourier ) */ |
1404 | |
1405 | |
1406 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1407 | #define __mlib_ImageFourierTransform mlib_ImageFourierTransform |
1408 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1409 | mlib_status __mlib_ImageFourierTransform(mlib_image *dst, |
1410 | const mlib_image *src, |
1411 | mlib_fourier_mode mode); |
1412 | |
1413 | /* Geometric Operations ( geom ) */ |
1414 | |
1415 | |
1416 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1417 | #define __mlib_ImageAffine mlib_ImageAffine |
1418 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1419 | JNIEXPORT mlib_status |
1420 | __mlib_ImageAffine(mlib_image *dst, |
1421 | const mlib_image *src, |
1422 | const mlib_d64 *mtx, |
1423 | mlib_filter filter, |
1424 | mlib_edge edge); |
1425 | |
1426 | |
1427 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1428 | #define __mlib_ImageAffineTable mlib_ImageAffineTable |
1429 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1430 | mlib_status __mlib_ImageAffineTable(mlib_image *dst, |
1431 | const mlib_image *src, |
1432 | const mlib_d64 *mtx, |
1433 | const void *interp_table, |
1434 | mlib_edge edge); |
1435 | |
1436 | |
1437 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1438 | #define __mlib_ImageAffineTable_Fp mlib_ImageAffineTable_Fp |
1439 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1440 | mlib_status __mlib_ImageAffineTable_Fp(mlib_image *dst, |
1441 | const mlib_image *src, |
1442 | const mlib_d64 *mtx, |
1443 | const void *interp_table, |
1444 | mlib_edge edge); |
1445 | |
1446 | |
1447 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1448 | #define __mlib_ImageAffineTransform mlib_ImageAffineTransform |
1449 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1450 | mlib_status __mlib_ImageAffineTransform(mlib_image *dst, |
1451 | const mlib_image *src, |
1452 | const mlib_d64 *mtx, |
1453 | mlib_filter filter, |
1454 | mlib_edge edge); |
1455 | |
1456 | |
1457 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1458 | #define __mlib_ImageAffineTransform_Fp mlib_ImageAffineTransform_Fp |
1459 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1460 | mlib_status __mlib_ImageAffineTransform_Fp(mlib_image *dst, |
1461 | const mlib_image *src, |
1462 | const mlib_d64 *mtx, |
1463 | mlib_filter filter, |
1464 | mlib_edge edge); |
1465 | |
1466 | |
1467 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1468 | #define __mlib_ImageAffine_Fp mlib_ImageAffine_Fp |
1469 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1470 | mlib_status __mlib_ImageAffine_Fp(mlib_image *dst, |
1471 | const mlib_image *src, |
1472 | const mlib_d64 *mtx, |
1473 | mlib_filter filter, |
1474 | mlib_edge edge); |
1475 | |
1476 | |
1477 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1478 | #define __mlib_ImageFilteredSubsample mlib_ImageFilteredSubsample |
1479 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1480 | mlib_status __mlib_ImageFilteredSubsample(mlib_image *dst, |
1481 | const mlib_image *src, |
1482 | mlib_s32 scaleX, |
1483 | mlib_s32 scaleY, |
1484 | mlib_s32 transX, |
1485 | mlib_s32 transY, |
1486 | const mlib_d64 *hKernel, |
1487 | const mlib_d64 *vKernel, |
1488 | mlib_s32 hSize, |
1489 | mlib_s32 vSize, |
1490 | mlib_s32 hParity, |
1491 | mlib_s32 vParity, |
1492 | mlib_edge edge); |
1493 | |
1494 | |
1495 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1496 | #define __mlib_ImageFilteredSubsample_Fp mlib_ImageFilteredSubsample_Fp |
1497 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1498 | mlib_status __mlib_ImageFilteredSubsample_Fp(mlib_image *dst, |
1499 | const mlib_image *src, |
1500 | mlib_s32 scaleX, |
1501 | mlib_s32 scaleY, |
1502 | mlib_s32 transX, |
1503 | mlib_s32 transY, |
1504 | const mlib_d64 *hKernel, |
1505 | const mlib_d64 *vKernel, |
1506 | mlib_s32 hSize, |
1507 | mlib_s32 vSize, |
1508 | mlib_s32 hParity, |
1509 | mlib_s32 vParity, |
1510 | mlib_edge edge); |
1511 | |
1512 | |
1513 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1514 | #define __mlib_ImageFlipAntiDiag mlib_ImageFlipAntiDiag |
1515 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1516 | mlib_status __mlib_ImageFlipAntiDiag(mlib_image *dst, |
1517 | const mlib_image *src); |
1518 | |
1519 | |
1520 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1521 | #define __mlib_ImageFlipAntiDiag_Fp mlib_ImageFlipAntiDiag_Fp |
1522 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1523 | mlib_status __mlib_ImageFlipAntiDiag_Fp(mlib_image *dst, |
1524 | const mlib_image *src); |
1525 | |
1526 | |
1527 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1528 | #define __mlib_ImageFlipMainDiag mlib_ImageFlipMainDiag |
1529 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1530 | mlib_status __mlib_ImageFlipMainDiag(mlib_image *dst, |
1531 | const mlib_image *src); |
1532 | |
1533 | |
1534 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1535 | #define __mlib_ImageFlipMainDiag_Fp mlib_ImageFlipMainDiag_Fp |
1536 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1537 | mlib_status __mlib_ImageFlipMainDiag_Fp(mlib_image *dst, |
1538 | const mlib_image *src); |
1539 | |
1540 | |
1541 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1542 | #define __mlib_ImageFlipX mlib_ImageFlipX |
1543 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1544 | mlib_status __mlib_ImageFlipX(mlib_image *dst, |
1545 | const mlib_image *src); |
1546 | |
1547 | |
1548 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1549 | #define __mlib_ImageFlipX_Fp mlib_ImageFlipX_Fp |
1550 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1551 | mlib_status __mlib_ImageFlipX_Fp(mlib_image *dst, |
1552 | const mlib_image *src); |
1553 | |
1554 | |
1555 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1556 | #define __mlib_ImageFlipY mlib_ImageFlipY |
1557 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1558 | mlib_status __mlib_ImageFlipY(mlib_image *dst, |
1559 | const mlib_image *src); |
1560 | |
1561 | |
1562 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1563 | #define __mlib_ImageFlipY_Fp mlib_ImageFlipY_Fp |
1564 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1565 | mlib_status __mlib_ImageFlipY_Fp(mlib_image *dst, |
1566 | const mlib_image *src); |
1567 | |
1568 | |
1569 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1570 | #define __mlib_ImageGridWarp mlib_ImageGridWarp |
1571 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1572 | mlib_status __mlib_ImageGridWarp(mlib_image *dst, |
1573 | const mlib_image *src, |
1574 | const mlib_f32 *xWarpPos, |
1575 | const mlib_f32 *yWarpPos, |
1576 | mlib_d64 postShiftX, |
1577 | mlib_d64 postShiftY, |
1578 | mlib_s32 xStart, |
1579 | mlib_s32 xStep, |
1580 | mlib_s32 xNumCells, |
1581 | mlib_s32 yStart, |
1582 | mlib_s32 yStep, |
1583 | mlib_s32 yNumCells, |
1584 | mlib_filter filter, |
1585 | mlib_edge edge); |
1586 | |
1587 | |
1588 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1589 | #define __mlib_ImageGridWarpTable mlib_ImageGridWarpTable |
1590 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1591 | mlib_status __mlib_ImageGridWarpTable(mlib_image *dst, |
1592 | const mlib_image *src, |
1593 | const mlib_f32 *xWarpPos, |
1594 | const mlib_f32 *yWarpPos, |
1595 | mlib_d64 postShiftX, |
1596 | mlib_d64 postShiftY, |
1597 | mlib_s32 xStart, |
1598 | mlib_s32 xStep, |
1599 | mlib_s32 xNumCells, |
1600 | mlib_s32 yStart, |
1601 | mlib_s32 yStep, |
1602 | mlib_s32 yNumCells, |
1603 | const void *table, |
1604 | mlib_edge edge); |
1605 | |
1606 | |
1607 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1608 | #define __mlib_ImageGridWarpTable_Fp mlib_ImageGridWarpTable_Fp |
1609 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1610 | mlib_status __mlib_ImageGridWarpTable_Fp(mlib_image *dst, |
1611 | const mlib_image *src, |
1612 | const mlib_f32 *xWarpPos, |
1613 | const mlib_f32 *yWarpPos, |
1614 | mlib_d64 postShiftX, |
1615 | mlib_d64 postShiftY, |
1616 | mlib_s32 xStart, |
1617 | mlib_s32 xStep, |
1618 | mlib_s32 xNumCells, |
1619 | mlib_s32 yStart, |
1620 | mlib_s32 yStep, |
1621 | mlib_s32 yNumCells, |
1622 | const void *table, |
1623 | mlib_edge edge); |
1624 | |
1625 | |
1626 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1627 | #define __mlib_ImageGridWarp_Fp mlib_ImageGridWarp_Fp |
1628 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1629 | mlib_status __mlib_ImageGridWarp_Fp(mlib_image *dst, |
1630 | const mlib_image *src, |
1631 | const mlib_f32 *xWarpPos, |
1632 | const mlib_f32 *yWarpPos, |
1633 | mlib_d64 postShiftX, |
1634 | mlib_d64 postShiftY, |
1635 | mlib_s32 xStart, |
1636 | mlib_s32 xStep, |
1637 | mlib_s32 xNumCells, |
1638 | mlib_s32 yStart, |
1639 | mlib_s32 yStep, |
1640 | mlib_s32 yNumCells, |
1641 | mlib_filter filter, |
1642 | mlib_edge edge); |
1643 | |
1644 | |
1645 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1646 | #define __mlib_ImageInterpTableCreate mlib_ImageInterpTableCreate |
1647 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1648 | void * __mlib_ImageInterpTableCreate(mlib_type type, |
1649 | mlib_s32 width, |
1650 | mlib_s32 height, |
1651 | mlib_s32 leftPadding, |
1652 | mlib_s32 topPadding, |
1653 | mlib_s32 subsampleBitsH, |
1654 | mlib_s32 subsampleBitsV, |
1655 | mlib_s32 precisionBits, |
1656 | const void *dataH, |
1657 | const void *dataV); |
1658 | |
1659 | |
1660 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1661 | #define __mlib_ImageInterpTableDelete mlib_ImageInterpTableDelete |
1662 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1663 | void __mlib_ImageInterpTableDelete(void *interp_table); |
1664 | |
1665 | |
1666 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1667 | #define __mlib_ImagePolynomialWarp mlib_ImagePolynomialWarp |
1668 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1669 | mlib_status __mlib_ImagePolynomialWarp(mlib_image *dst, |
1670 | const mlib_image *src, |
1671 | const mlib_d64 *xCoeffs, |
1672 | const mlib_d64 *yCoeffs, |
1673 | mlib_s32 n, |
1674 | mlib_d64 preShiftX, |
1675 | mlib_d64 preShiftY, |
1676 | mlib_d64 postShiftX, |
1677 | mlib_d64 postShiftY, |
1678 | mlib_d64 preScaleX, |
1679 | mlib_d64 preScaleY, |
1680 | mlib_d64 postScaleX, |
1681 | mlib_d64 postScaleY, |
1682 | mlib_filter filter, |
1683 | mlib_edge edge); |
1684 | |
1685 | |
1686 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1687 | #define __mlib_ImagePolynomialWarpTable mlib_ImagePolynomialWarpTable |
1688 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1689 | mlib_status __mlib_ImagePolynomialWarpTable(mlib_image *dst, |
1690 | const mlib_image *src, |
1691 | const mlib_d64 *xCoeffs, |
1692 | const mlib_d64 *yCoeffs, |
1693 | mlib_s32 n, |
1694 | mlib_d64 preShiftX, |
1695 | mlib_d64 preShiftY, |
1696 | mlib_d64 postShiftX, |
1697 | mlib_d64 postShiftY, |
1698 | mlib_d64 preScaleX, |
1699 | mlib_d64 preScaleY, |
1700 | mlib_d64 postScaleX, |
1701 | mlib_d64 postScaleY, |
1702 | const void *interp_table, |
1703 | mlib_edge edge); |
1704 | |
1705 | |
1706 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1707 | #define __mlib_ImagePolynomialWarpTable_Fp mlib_ImagePolynomialWarpTable_Fp |
1708 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1709 | mlib_status __mlib_ImagePolynomialWarpTable_Fp(mlib_image *dst, |
1710 | const mlib_image *src, |
1711 | const mlib_d64 *xCoeffs, |
1712 | const mlib_d64 *yCoeffs, |
1713 | mlib_s32 n, |
1714 | mlib_d64 preShiftX, |
1715 | mlib_d64 preShiftY, |
1716 | mlib_d64 postShiftX, |
1717 | mlib_d64 postShiftY, |
1718 | mlib_d64 preScaleX, |
1719 | mlib_d64 preScaleY, |
1720 | mlib_d64 postScaleX, |
1721 | mlib_d64 postScaleY, |
1722 | const void *interp_table, |
1723 | mlib_edge edge); |
1724 | |
1725 | |
1726 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1727 | #define __mlib_ImagePolynomialWarp_Fp mlib_ImagePolynomialWarp_Fp |
1728 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1729 | mlib_status __mlib_ImagePolynomialWarp_Fp(mlib_image *dst, |
1730 | const mlib_image *src, |
1731 | const mlib_d64 *xCoeffs, |
1732 | const mlib_d64 *yCoeffs, |
1733 | mlib_s32 n, |
1734 | mlib_d64 preShiftX, |
1735 | mlib_d64 preShiftY, |
1736 | mlib_d64 postShiftX, |
1737 | mlib_d64 postShiftY, |
1738 | mlib_d64 preScaleX, |
1739 | mlib_d64 preScaleY, |
1740 | mlib_d64 postScaleX, |
1741 | mlib_d64 postScaleY, |
1742 | mlib_filter filter, |
1743 | mlib_edge edge); |
1744 | |
1745 | |
1746 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1747 | #define __mlib_ImageRotate mlib_ImageRotate |
1748 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1749 | mlib_status __mlib_ImageRotate(mlib_image *dst, |
1750 | const mlib_image *src, |
1751 | mlib_d64 angle, |
1752 | mlib_d64 xcenter, |
1753 | mlib_d64 ycenter, |
1754 | mlib_filter filter, |
1755 | mlib_edge edge); |
1756 | |
1757 | |
1758 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1759 | #define __mlib_ImageRotate180 mlib_ImageRotate180 |
1760 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1761 | mlib_status __mlib_ImageRotate180(mlib_image *dst, |
1762 | const mlib_image *src); |
1763 | |
1764 | |
1765 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1766 | #define __mlib_ImageRotate180_Fp mlib_ImageRotate180_Fp |
1767 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1768 | mlib_status __mlib_ImageRotate180_Fp(mlib_image *dst, |
1769 | const mlib_image *src); |
1770 | |
1771 | |
1772 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1773 | #define __mlib_ImageRotate270 mlib_ImageRotate270 |
1774 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1775 | mlib_status __mlib_ImageRotate270(mlib_image *dst, |
1776 | const mlib_image *src); |
1777 | |
1778 | |
1779 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1780 | #define __mlib_ImageRotate270_Fp mlib_ImageRotate270_Fp |
1781 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1782 | mlib_status __mlib_ImageRotate270_Fp(mlib_image *dst, |
1783 | const mlib_image *src); |
1784 | |
1785 | |
1786 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1787 | #define __mlib_ImageRotate90 mlib_ImageRotate90 |
1788 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1789 | mlib_status __mlib_ImageRotate90(mlib_image *dst, |
1790 | const mlib_image *src); |
1791 | |
1792 | |
1793 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1794 | #define __mlib_ImageRotate90_Fp mlib_ImageRotate90_Fp |
1795 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1796 | mlib_status __mlib_ImageRotate90_Fp(mlib_image *dst, |
1797 | const mlib_image *src); |
1798 | |
1799 | |
1800 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1801 | #define __mlib_ImageRotate_Fp mlib_ImageRotate_Fp |
1802 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1803 | mlib_status __mlib_ImageRotate_Fp(mlib_image *dst, |
1804 | const mlib_image *src, |
1805 | mlib_d64 angle, |
1806 | mlib_d64 xcenter, |
1807 | mlib_d64 ycenter, |
1808 | mlib_filter filter, |
1809 | mlib_edge edge); |
1810 | |
1811 | |
1812 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1813 | #define __mlib_ImageSubsampleAverage mlib_ImageSubsampleAverage |
1814 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1815 | mlib_status __mlib_ImageSubsampleAverage(mlib_image *dst, |
1816 | const mlib_image *src, |
1817 | mlib_d64 scalex, |
1818 | mlib_d64 scaley); |
1819 | |
1820 | |
1821 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1822 | #define __mlib_ImageSubsampleAverage_Fp mlib_ImageSubsampleAverage_Fp |
1823 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1824 | mlib_status __mlib_ImageSubsampleAverage_Fp(mlib_image *dst, |
1825 | const mlib_image *src, |
1826 | mlib_d64 scalex, |
1827 | mlib_d64 scaley); |
1828 | |
1829 | |
1830 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1831 | #define __mlib_ImageSubsampleBinaryToGray mlib_ImageSubsampleBinaryToGray |
1832 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1833 | mlib_status __mlib_ImageSubsampleBinaryToGray(mlib_image *dst, |
1834 | const mlib_image *src, |
1835 | mlib_d64 xscale, |
1836 | mlib_d64 yscale, |
1837 | const mlib_u8 *lutGray); |
1838 | |
1839 | |
1840 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1841 | #define __mlib_ImageZoomIn2X mlib_ImageZoomIn2X |
1842 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1843 | mlib_status __mlib_ImageZoomIn2X(mlib_image *dst, |
1844 | const mlib_image *src, |
1845 | mlib_filter filter, |
1846 | mlib_edge edge); |
1847 | |
1848 | |
1849 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1850 | #define __mlib_ImageZoomIn2X_Fp mlib_ImageZoomIn2X_Fp |
1851 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1852 | mlib_status __mlib_ImageZoomIn2X_Fp(mlib_image *dst, |
1853 | const mlib_image *src, |
1854 | mlib_filter filter, |
1855 | mlib_edge edge); |
1856 | |
1857 | |
1858 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1859 | #define __mlib_ImageZoomOut2X mlib_ImageZoomOut2X |
1860 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1861 | mlib_status __mlib_ImageZoomOut2X(mlib_image *dst, |
1862 | const mlib_image *src, |
1863 | mlib_filter filter, |
1864 | mlib_edge edge); |
1865 | |
1866 | |
1867 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1868 | #define __mlib_ImageZoomOut2X_Fp mlib_ImageZoomOut2X_Fp |
1869 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1870 | mlib_status __mlib_ImageZoomOut2X_Fp(mlib_image *dst, |
1871 | const mlib_image *src, |
1872 | mlib_filter filter, |
1873 | mlib_edge edge); |
1874 | |
1875 | |
1876 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1877 | #define __mlib_ImageZoomTranslate mlib_ImageZoomTranslate |
1878 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1879 | mlib_status __mlib_ImageZoomTranslate(mlib_image *dst, |
1880 | const mlib_image *src, |
1881 | mlib_d64 zoomx, |
1882 | mlib_d64 zoomy, |
1883 | mlib_d64 tx, |
1884 | mlib_d64 ty, |
1885 | mlib_filter filter, |
1886 | mlib_edge edge); |
1887 | |
1888 | |
1889 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1890 | #define __mlib_ImageZoomTranslateTable mlib_ImageZoomTranslateTable |
1891 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1892 | mlib_status __mlib_ImageZoomTranslateTable(mlib_image *dst, |
1893 | const mlib_image *src, |
1894 | mlib_d64 zoomx, |
1895 | mlib_d64 zoomy, |
1896 | mlib_d64 tx, |
1897 | mlib_d64 ty, |
1898 | const void *interp_table, |
1899 | mlib_edge edge); |
1900 | |
1901 | |
1902 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1903 | #define __mlib_ImageZoomTranslateTable_Fp mlib_ImageZoomTranslateTable_Fp |
1904 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1905 | mlib_status __mlib_ImageZoomTranslateTable_Fp(mlib_image *dst, |
1906 | const mlib_image *src, |
1907 | mlib_d64 zoomx, |
1908 | mlib_d64 zoomy, |
1909 | mlib_d64 tx, |
1910 | mlib_d64 ty, |
1911 | const void *interp_table, |
1912 | mlib_edge edge); |
1913 | |
1914 | |
1915 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1916 | #define __mlib_ImageZoomTranslateToGray mlib_ImageZoomTranslateToGray |
1917 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1918 | mlib_status __mlib_ImageZoomTranslateToGray(mlib_image *dst, |
1919 | const mlib_image *src, |
1920 | mlib_d64 zoomx, |
1921 | mlib_d64 zoomy, |
1922 | mlib_d64 tx, |
1923 | mlib_d64 ty, |
1924 | mlib_filter filter, |
1925 | mlib_edge edge, |
1926 | const mlib_s32 *ghigh, |
1927 | const mlib_s32 *glow); |
1928 | |
1929 | |
1930 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1931 | #define __mlib_ImageZoomTranslate_Fp mlib_ImageZoomTranslate_Fp |
1932 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1933 | mlib_status __mlib_ImageZoomTranslate_Fp(mlib_image *dst, |
1934 | const mlib_image *src, |
1935 | mlib_d64 zoomx, |
1936 | mlib_d64 zoomy, |
1937 | mlib_d64 tx, |
1938 | mlib_d64 ty, |
1939 | mlib_filter filter, |
1940 | mlib_edge edge); |
1941 | |
1942 | |
1943 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1944 | #define __mlib_ImageZoom mlib_ImageZoom |
1945 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1946 | mlib_status __mlib_ImageZoom(mlib_image *dst, |
1947 | const mlib_image *src, |
1948 | mlib_d64 zoomx, |
1949 | mlib_d64 zoomy, |
1950 | mlib_filter filter, |
1951 | mlib_edge edge); |
1952 | |
1953 | |
1954 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1955 | #define __mlib_ImageZoom_Fp mlib_ImageZoom_Fp |
1956 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1957 | mlib_status __mlib_ImageZoom_Fp(mlib_image *dst, |
1958 | const mlib_image *src, |
1959 | mlib_d64 zoomx, |
1960 | mlib_d64 zoomy, |
1961 | mlib_filter filter, |
1962 | mlib_edge edge); |
1963 | |
1964 | /* Logical Operations ( logic ) */ |
1965 | |
1966 | |
1967 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1968 | #define __mlib_ImageAnd mlib_ImageAnd |
1969 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1970 | mlib_status __mlib_ImageAnd(mlib_image *dst, |
1971 | const mlib_image *src1, |
1972 | const mlib_image *src2); |
1973 | |
1974 | |
1975 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1976 | #define __mlib_ImageAndNot mlib_ImageAndNot |
1977 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1978 | mlib_status __mlib_ImageAndNot(mlib_image *dst, |
1979 | const mlib_image *src1, |
1980 | const mlib_image *src2); |
1981 | |
1982 | /* src1dst = src1dst & (~src2) */ |
1983 | |
1984 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1985 | #define __mlib_ImageAndNot1_Inp mlib_ImageAndNot1_Inp |
1986 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1987 | mlib_status __mlib_ImageAndNot1_Inp(mlib_image *src1dst, |
1988 | const mlib_image *src2); |
1989 | |
1990 | /* src2dst = src1 & (~src2dst) */ |
1991 | |
1992 | #if defined ( __MEDIALIB_OLD_NAMES ) |
1993 | #define __mlib_ImageAndNot2_Inp mlib_ImageAndNot2_Inp |
1994 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
1995 | mlib_status __mlib_ImageAndNot2_Inp(mlib_image *src2dst, |
1996 | const mlib_image *src1); |
1997 | |
1998 | |
1999 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2000 | #define __mlib_ImageAnd_Inp mlib_ImageAnd_Inp |
2001 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2002 | mlib_status __mlib_ImageAnd_Inp(mlib_image *src1dst, |
2003 | const mlib_image *src2); |
2004 | |
2005 | |
2006 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2007 | #define __mlib_ImageConstAnd mlib_ImageConstAnd |
2008 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2009 | mlib_status __mlib_ImageConstAnd(mlib_image *dst, |
2010 | const mlib_image *src, |
2011 | const mlib_s32 *c); |
2012 | |
2013 | |
2014 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2015 | #define __mlib_ImageConstAndNot mlib_ImageConstAndNot |
2016 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2017 | mlib_status __mlib_ImageConstAndNot(mlib_image *dst, |
2018 | const mlib_image *src, |
2019 | const mlib_s32 *c); |
2020 | |
2021 | /* srcdst = (~srcdst) & c */ |
2022 | |
2023 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2024 | #define __mlib_ImageConstAndNot_Inp mlib_ImageConstAndNot_Inp |
2025 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2026 | mlib_status __mlib_ImageConstAndNot_Inp(mlib_image *srcdst, |
2027 | const mlib_s32 *c); |
2028 | |
2029 | |
2030 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2031 | #define __mlib_ImageConstAnd_Inp mlib_ImageConstAnd_Inp |
2032 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2033 | mlib_status __mlib_ImageConstAnd_Inp(mlib_image *srcdst, |
2034 | const mlib_s32 *c); |
2035 | |
2036 | |
2037 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2038 | #define __mlib_ImageConstNotAnd mlib_ImageConstNotAnd |
2039 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2040 | mlib_status __mlib_ImageConstNotAnd(mlib_image *dst, |
2041 | const mlib_image *src, |
2042 | const mlib_s32 *c); |
2043 | |
2044 | |
2045 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2046 | #define __mlib_ImageConstNotAnd_Inp mlib_ImageConstNotAnd_Inp |
2047 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2048 | mlib_status __mlib_ImageConstNotAnd_Inp(mlib_image *srcdst, |
2049 | const mlib_s32 *c); |
2050 | |
2051 | |
2052 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2053 | #define __mlib_ImageConstNotOr mlib_ImageConstNotOr |
2054 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2055 | mlib_status __mlib_ImageConstNotOr(mlib_image *dst, |
2056 | const mlib_image *src, |
2057 | const mlib_s32 *c); |
2058 | |
2059 | |
2060 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2061 | #define __mlib_ImageConstNotOr_Inp mlib_ImageConstNotOr_Inp |
2062 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2063 | mlib_status __mlib_ImageConstNotOr_Inp(mlib_image *srcdst, |
2064 | const mlib_s32 *c); |
2065 | |
2066 | |
2067 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2068 | #define __mlib_ImageConstNotXor mlib_ImageConstNotXor |
2069 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2070 | mlib_status __mlib_ImageConstNotXor(mlib_image *dst, |
2071 | const mlib_image *src, |
2072 | const mlib_s32 *c); |
2073 | |
2074 | |
2075 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2076 | #define __mlib_ImageConstNotXor_Inp mlib_ImageConstNotXor_Inp |
2077 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2078 | mlib_status __mlib_ImageConstNotXor_Inp(mlib_image *srcdst, |
2079 | const mlib_s32 *c); |
2080 | |
2081 | |
2082 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2083 | #define __mlib_ImageConstOr mlib_ImageConstOr |
2084 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2085 | mlib_status __mlib_ImageConstOr(mlib_image *dst, |
2086 | const mlib_image *src, |
2087 | const mlib_s32 *c); |
2088 | |
2089 | |
2090 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2091 | #define __mlib_ImageConstOrNot mlib_ImageConstOrNot |
2092 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2093 | mlib_status __mlib_ImageConstOrNot(mlib_image *dst, |
2094 | const mlib_image *src, |
2095 | const mlib_s32 *c); |
2096 | |
2097 | /* srcdst = (~srcdst) | c */ |
2098 | |
2099 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2100 | #define __mlib_ImageConstOrNot_Inp mlib_ImageConstOrNot_Inp |
2101 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2102 | mlib_status __mlib_ImageConstOrNot_Inp(mlib_image *srcdst, |
2103 | const mlib_s32 *c); |
2104 | |
2105 | |
2106 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2107 | #define __mlib_ImageConstOr_Inp mlib_ImageConstOr_Inp |
2108 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2109 | mlib_status __mlib_ImageConstOr_Inp(mlib_image *srcdst, |
2110 | const mlib_s32 *c); |
2111 | |
2112 | |
2113 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2114 | #define __mlib_ImageConstXor mlib_ImageConstXor |
2115 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2116 | mlib_status __mlib_ImageConstXor(mlib_image *dst, |
2117 | mlib_image *src, |
2118 | mlib_s32 *c); |
2119 | |
2120 | |
2121 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2122 | #define __mlib_ImageConstXor_Inp mlib_ImageConstXor_Inp |
2123 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2124 | mlib_status __mlib_ImageConstXor_Inp(mlib_image *srcdst, |
2125 | const mlib_s32 *c); |
2126 | |
2127 | |
2128 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2129 | #define __mlib_ImageNot mlib_ImageNot |
2130 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2131 | mlib_status __mlib_ImageNot(mlib_image *dst, |
2132 | const mlib_image *src); |
2133 | |
2134 | |
2135 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2136 | #define __mlib_ImageNotAnd mlib_ImageNotAnd |
2137 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2138 | mlib_status __mlib_ImageNotAnd(mlib_image *dst, |
2139 | const mlib_image *src1, |
2140 | const mlib_image *src2); |
2141 | |
2142 | |
2143 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2144 | #define __mlib_ImageNotAnd_Inp mlib_ImageNotAnd_Inp |
2145 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2146 | mlib_status __mlib_ImageNotAnd_Inp(mlib_image *src1dst, |
2147 | const mlib_image *src2); |
2148 | |
2149 | |
2150 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2151 | #define __mlib_ImageNotOr mlib_ImageNotOr |
2152 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2153 | mlib_status __mlib_ImageNotOr(mlib_image *dst, |
2154 | const mlib_image *src1, |
2155 | const mlib_image *src2); |
2156 | |
2157 | |
2158 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2159 | #define __mlib_ImageNotOr_Inp mlib_ImageNotOr_Inp |
2160 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2161 | mlib_status __mlib_ImageNotOr_Inp(mlib_image *src1dst, |
2162 | const mlib_image *src2); |
2163 | |
2164 | |
2165 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2166 | #define __mlib_ImageNotXor mlib_ImageNotXor |
2167 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2168 | mlib_status __mlib_ImageNotXor(mlib_image *dst, |
2169 | const mlib_image *src1, |
2170 | const mlib_image *src2); |
2171 | |
2172 | |
2173 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2174 | #define __mlib_ImageNotXor_Inp mlib_ImageNotXor_Inp |
2175 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2176 | mlib_status __mlib_ImageNotXor_Inp(mlib_image *src1dst, |
2177 | const mlib_image *src2); |
2178 | |
2179 | |
2180 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2181 | #define __mlib_ImageNot_Inp mlib_ImageNot_Inp |
2182 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2183 | mlib_status __mlib_ImageNot_Inp(mlib_image *srcdst); |
2184 | |
2185 | |
2186 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2187 | #define __mlib_ImageOr mlib_ImageOr |
2188 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2189 | mlib_status __mlib_ImageOr(mlib_image *dst, |
2190 | const mlib_image *src1, |
2191 | const mlib_image *src2); |
2192 | |
2193 | |
2194 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2195 | #define __mlib_ImageOrNot mlib_ImageOrNot |
2196 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2197 | mlib_status __mlib_ImageOrNot(mlib_image *dst, |
2198 | const mlib_image *src1, |
2199 | const mlib_image *src2); |
2200 | |
2201 | /* src1dst = src1dst | (~src2) */ |
2202 | |
2203 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2204 | #define __mlib_ImageOrNot1_Inp mlib_ImageOrNot1_Inp |
2205 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2206 | mlib_status __mlib_ImageOrNot1_Inp(mlib_image *src1dst, |
2207 | const mlib_image *src2); |
2208 | |
2209 | /* src2dst = src1 | (~src2dst) */ |
2210 | |
2211 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2212 | #define __mlib_ImageOrNot2_Inp mlib_ImageOrNot2_Inp |
2213 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2214 | mlib_status __mlib_ImageOrNot2_Inp(mlib_image *src2dst, |
2215 | const mlib_image *src1); |
2216 | |
2217 | |
2218 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2219 | #define __mlib_ImageOr_Inp mlib_ImageOr_Inp |
2220 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2221 | mlib_status __mlib_ImageOr_Inp(mlib_image *src1dst, |
2222 | const mlib_image *src2); |
2223 | |
2224 | |
2225 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2226 | #define __mlib_ImageXor mlib_ImageXor |
2227 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2228 | mlib_status __mlib_ImageXor(mlib_image *dst, |
2229 | mlib_image *src1, |
2230 | mlib_image *src2); |
2231 | |
2232 | |
2233 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2234 | #define __mlib_ImageXor_Inp mlib_ImageXor_Inp |
2235 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2236 | mlib_status __mlib_ImageXor_Inp(mlib_image *src1dst, |
2237 | const mlib_image *src2); |
2238 | |
2239 | /* Radiometric Operations ( radio ) */ |
2240 | |
2241 | |
2242 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2243 | #define __mlib_ImageColorReplace mlib_ImageColorReplace |
2244 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2245 | mlib_status __mlib_ImageColorReplace(mlib_image *dst, |
2246 | const mlib_image *src, |
2247 | const mlib_s32 *color1, |
2248 | const mlib_s32 *color2); |
2249 | |
2250 | |
2251 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2252 | #define __mlib_ImageColorReplace_Fp mlib_ImageColorReplace_Fp |
2253 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2254 | mlib_status __mlib_ImageColorReplace_Fp(mlib_image *dst, |
2255 | const mlib_image *src, |
2256 | const mlib_d64 *color1, |
2257 | const mlib_d64 *color2); |
2258 | |
2259 | |
2260 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2261 | #define __mlib_ImageColorReplace_Fp_Inp mlib_ImageColorReplace_Fp_Inp |
2262 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2263 | mlib_status __mlib_ImageColorReplace_Fp_Inp(mlib_image *srcdst, |
2264 | const mlib_d64 *color1, |
2265 | const mlib_d64 *color2); |
2266 | |
2267 | |
2268 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2269 | #define __mlib_ImageColorReplace_Inp mlib_ImageColorReplace_Inp |
2270 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2271 | mlib_status __mlib_ImageColorReplace_Inp(mlib_image *srcdst, |
2272 | const mlib_s32 *color1, |
2273 | const mlib_s32 *color2); |
2274 | |
2275 | |
2276 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2277 | #define __mlib_ImageHistogram mlib_ImageHistogram |
2278 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2279 | mlib_status __mlib_ImageHistogram(mlib_s32 ** histo, |
2280 | const mlib_image *img); |
2281 | |
2282 | |
2283 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2284 | #define __mlib_ImageHistogram2 mlib_ImageHistogram2 |
2285 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2286 | mlib_status __mlib_ImageHistogram2(mlib_s32 ** histo, |
2287 | const mlib_image *img, |
2288 | const mlib_s32 *numBins, |
2289 | const mlib_s32 *lowValue, |
2290 | const mlib_s32 *highValue, |
2291 | mlib_s32 xStart, |
2292 | mlib_s32 yStart, |
2293 | mlib_s32 xPeriod, |
2294 | mlib_s32 yPeriod); |
2295 | |
2296 | |
2297 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2298 | #define __mlib_ImageLookUp mlib_ImageLookUp |
2299 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2300 | JNIEXPORT mlib_status |
2301 | __mlib_ImageLookUp(mlib_image *dst, |
2302 | const mlib_image *src, |
2303 | const void **table); |
2304 | |
2305 | |
2306 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2307 | #define __mlib_ImageLookUp2 mlib_ImageLookUp2 |
2308 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2309 | mlib_status __mlib_ImageLookUp2(mlib_image *dst, |
2310 | const mlib_image *src, |
2311 | const void **table, |
2312 | const mlib_s32 *offsets, |
2313 | mlib_s32 channels); |
2314 | |
2315 | |
2316 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2317 | #define __mlib_ImageLookUpMask mlib_ImageLookUpMask |
2318 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2319 | mlib_status __mlib_ImageLookUpMask(mlib_image *dst, |
2320 | const mlib_image *src, |
2321 | const void **table, |
2322 | mlib_s32 channels, |
2323 | mlib_s32 cmask); |
2324 | |
2325 | |
2326 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2327 | #define __mlib_ImageLookUp_Inp mlib_ImageLookUp_Inp |
2328 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2329 | mlib_status __mlib_ImageLookUp_Inp(mlib_image *srcdst, |
2330 | const void **table); |
2331 | |
2332 | |
2333 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2334 | #define __mlib_ImageThresh1 mlib_ImageThresh1 |
2335 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2336 | mlib_status __mlib_ImageThresh1(mlib_image *dst, |
2337 | const mlib_image *src, |
2338 | const mlib_s32 *thresh, |
2339 | const mlib_s32 *ghigh, |
2340 | const mlib_s32 *glow); |
2341 | |
2342 | |
2343 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2344 | #define __mlib_ImageThresh1_Fp mlib_ImageThresh1_Fp |
2345 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2346 | mlib_status __mlib_ImageThresh1_Fp(mlib_image *dst, |
2347 | const mlib_image *src, |
2348 | const mlib_d64 *thresh, |
2349 | const mlib_d64 *ghigh, |
2350 | const mlib_d64 *glow); |
2351 | |
2352 | |
2353 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2354 | #define __mlib_ImageThresh1_Fp_Inp mlib_ImageThresh1_Fp_Inp |
2355 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2356 | mlib_status __mlib_ImageThresh1_Fp_Inp(mlib_image *srcdst, |
2357 | const mlib_d64 *thresh, |
2358 | const mlib_d64 *ghigh, |
2359 | const mlib_d64 *glow); |
2360 | |
2361 | |
2362 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2363 | #define __mlib_ImageThresh1_Inp mlib_ImageThresh1_Inp |
2364 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2365 | mlib_status __mlib_ImageThresh1_Inp(mlib_image *srcdst, |
2366 | const mlib_s32 *thresh, |
2367 | const mlib_s32 *ghigh, |
2368 | const mlib_s32 *glow); |
2369 | |
2370 | |
2371 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2372 | #define __mlib_ImageThresh2 mlib_ImageThresh2 |
2373 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2374 | mlib_status __mlib_ImageThresh2(mlib_image *dst, |
2375 | const mlib_image *src, |
2376 | const mlib_s32 *thresh, |
2377 | const mlib_s32 *glow); |
2378 | |
2379 | |
2380 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2381 | #define __mlib_ImageThresh2_Fp mlib_ImageThresh2_Fp |
2382 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2383 | mlib_status __mlib_ImageThresh2_Fp(mlib_image *dst, |
2384 | const mlib_image *src, |
2385 | const mlib_d64 *thresh, |
2386 | const mlib_d64 *glow); |
2387 | |
2388 | |
2389 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2390 | #define __mlib_ImageThresh2_Fp_Inp mlib_ImageThresh2_Fp_Inp |
2391 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2392 | mlib_status __mlib_ImageThresh2_Fp_Inp(mlib_image *srcdst, |
2393 | const mlib_d64 *thresh, |
2394 | const mlib_d64 *glow); |
2395 | |
2396 | |
2397 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2398 | #define __mlib_ImageThresh2_Inp mlib_ImageThresh2_Inp |
2399 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2400 | mlib_status __mlib_ImageThresh2_Inp(mlib_image *srcdst, |
2401 | const mlib_s32 *thresh, |
2402 | const mlib_s32 *glow); |
2403 | |
2404 | |
2405 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2406 | #define __mlib_ImageThresh3 mlib_ImageThresh3 |
2407 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2408 | mlib_status __mlib_ImageThresh3(mlib_image *dst, |
2409 | const mlib_image *src, |
2410 | const mlib_s32 *thresh, |
2411 | const mlib_s32 *ghigh); |
2412 | |
2413 | |
2414 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2415 | #define __mlib_ImageThresh3_Fp mlib_ImageThresh3_Fp |
2416 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2417 | mlib_status __mlib_ImageThresh3_Fp(mlib_image *dst, |
2418 | const mlib_image *src, |
2419 | const mlib_d64 *thresh, |
2420 | const mlib_d64 *ghigh); |
2421 | |
2422 | |
2423 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2424 | #define __mlib_ImageThresh3_Fp_Inp mlib_ImageThresh3_Fp_Inp |
2425 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2426 | mlib_status __mlib_ImageThresh3_Fp_Inp(mlib_image *srcdst, |
2427 | const mlib_d64 *thresh, |
2428 | const mlib_d64 *ghigh); |
2429 | |
2430 | |
2431 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2432 | #define __mlib_ImageThresh3_Inp mlib_ImageThresh3_Inp |
2433 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2434 | mlib_status __mlib_ImageThresh3_Inp(mlib_image *srcdst, |
2435 | const mlib_s32 *thresh, |
2436 | const mlib_s32 *ghigh); |
2437 | |
2438 | |
2439 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2440 | #define __mlib_ImageThresh4 mlib_ImageThresh4 |
2441 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2442 | mlib_status __mlib_ImageThresh4(mlib_image *dst, |
2443 | const mlib_image *src, |
2444 | const mlib_s32 *thigh, |
2445 | const mlib_s32 *tlow, |
2446 | const mlib_s32 *ghigh, |
2447 | const mlib_s32 *glow); |
2448 | |
2449 | |
2450 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2451 | #define __mlib_ImageThresh4_Fp mlib_ImageThresh4_Fp |
2452 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2453 | mlib_status __mlib_ImageThresh4_Fp(mlib_image *dst, |
2454 | const mlib_image *src, |
2455 | const mlib_d64 *thigh, |
2456 | const mlib_d64 *tlow, |
2457 | const mlib_d64 *ghigh, |
2458 | const mlib_d64 *glow); |
2459 | |
2460 | |
2461 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2462 | #define __mlib_ImageThresh4_Fp_Inp mlib_ImageThresh4_Fp_Inp |
2463 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2464 | mlib_status __mlib_ImageThresh4_Fp_Inp(mlib_image *srcdst, |
2465 | const mlib_d64 *thigh, |
2466 | const mlib_d64 *tlow, |
2467 | const mlib_d64 *ghigh, |
2468 | const mlib_d64 *glow); |
2469 | |
2470 | |
2471 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2472 | #define __mlib_ImageThresh4_Inp mlib_ImageThresh4_Inp |
2473 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2474 | mlib_status __mlib_ImageThresh4_Inp(mlib_image *srcdst, |
2475 | const mlib_s32 *thigh, |
2476 | const mlib_s32 *tlow, |
2477 | const mlib_s32 *ghigh, |
2478 | const mlib_s32 *glow); |
2479 | |
2480 | |
2481 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2482 | #define __mlib_ImageThresh5 mlib_ImageThresh5 |
2483 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2484 | mlib_status __mlib_ImageThresh5(mlib_image *dst, |
2485 | const mlib_image *src, |
2486 | const mlib_s32 *thigh, |
2487 | const mlib_s32 *tlow, |
2488 | const mlib_s32 *gmid); |
2489 | |
2490 | |
2491 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2492 | #define __mlib_ImageThresh5_Fp mlib_ImageThresh5_Fp |
2493 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2494 | mlib_status __mlib_ImageThresh5_Fp(mlib_image *dst, |
2495 | const mlib_image *src, |
2496 | const mlib_d64 *thigh, |
2497 | const mlib_d64 *tlow, |
2498 | const mlib_d64 *gmid); |
2499 | |
2500 | |
2501 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2502 | #define __mlib_ImageThresh5_Fp_Inp mlib_ImageThresh5_Fp_Inp |
2503 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2504 | mlib_status __mlib_ImageThresh5_Fp_Inp(mlib_image *srcdst, |
2505 | const mlib_d64 *thigh, |
2506 | const mlib_d64 *tlow, |
2507 | const mlib_d64 *gmid); |
2508 | |
2509 | |
2510 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2511 | #define __mlib_ImageThresh5_Inp mlib_ImageThresh5_Inp |
2512 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2513 | mlib_status __mlib_ImageThresh5_Inp(mlib_image *srcdst, |
2514 | const mlib_s32 *thigh, |
2515 | const mlib_s32 *tlow, |
2516 | const mlib_s32 *gmid); |
2517 | |
2518 | /* Linear and Not-Linear Spatial Operations, Morphological Operations ( spatial ) */ |
2519 | |
2520 | |
2521 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2522 | #define __mlib_ImageConv2x2 mlib_ImageConv2x2 |
2523 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2524 | mlib_status __mlib_ImageConv2x2(mlib_image *dst, |
2525 | const mlib_image *src, |
2526 | const mlib_s32 *kernel, |
2527 | mlib_s32 scale, |
2528 | mlib_s32 cmask, |
2529 | mlib_edge edge); |
2530 | |
2531 | |
2532 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2533 | #define __mlib_ImageConv2x2_Fp mlib_ImageConv2x2_Fp |
2534 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2535 | mlib_status __mlib_ImageConv2x2_Fp(mlib_image *dst, |
2536 | const mlib_image *src, |
2537 | const mlib_d64 *kernel, |
2538 | mlib_s32 cmask, |
2539 | mlib_edge edge); |
2540 | |
2541 | |
2542 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2543 | #define __mlib_ImageConv3x3 mlib_ImageConv3x3 |
2544 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2545 | mlib_status __mlib_ImageConv3x3(mlib_image *dst, |
2546 | const mlib_image *src, |
2547 | const mlib_s32 *kernel, |
2548 | mlib_s32 scale, |
2549 | mlib_s32 cmask, |
2550 | mlib_edge edge); |
2551 | |
2552 | |
2553 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2554 | #define __mlib_ImageConv3x3_Fp mlib_ImageConv3x3_Fp |
2555 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2556 | mlib_status __mlib_ImageConv3x3_Fp(mlib_image *dst, |
2557 | const mlib_image *src, |
2558 | const mlib_d64 *kernel, |
2559 | mlib_s32 cmask, |
2560 | mlib_edge edge); |
2561 | |
2562 | |
2563 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2564 | #define __mlib_ImageConv4x4 mlib_ImageConv4x4 |
2565 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2566 | mlib_status __mlib_ImageConv4x4(mlib_image *dst, |
2567 | const mlib_image *src, |
2568 | const mlib_s32 *kernel, |
2569 | mlib_s32 scale, |
2570 | mlib_s32 cmask, |
2571 | mlib_edge edge); |
2572 | |
2573 | |
2574 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2575 | #define __mlib_ImageConv4x4_Fp mlib_ImageConv4x4_Fp |
2576 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2577 | mlib_status __mlib_ImageConv4x4_Fp(mlib_image *dst, |
2578 | const mlib_image *src, |
2579 | const mlib_d64 *kernel, |
2580 | mlib_s32 cmask, |
2581 | mlib_edge edge); |
2582 | |
2583 | |
2584 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2585 | #define __mlib_ImageConv5x5 mlib_ImageConv5x5 |
2586 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2587 | mlib_status __mlib_ImageConv5x5(mlib_image *dst, |
2588 | const mlib_image *src, |
2589 | const mlib_s32 *kernel, |
2590 | mlib_s32 scale, |
2591 | mlib_s32 cmask, |
2592 | mlib_edge edge); |
2593 | |
2594 | |
2595 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2596 | #define __mlib_ImageConv5x5_Fp mlib_ImageConv5x5_Fp |
2597 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2598 | mlib_status __mlib_ImageConv5x5_Fp(mlib_image *dst, |
2599 | const mlib_image *src, |
2600 | const mlib_d64 *kernel, |
2601 | mlib_s32 cmask, |
2602 | mlib_edge edge); |
2603 | |
2604 | |
2605 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2606 | #define __mlib_ImageConv7x7 mlib_ImageConv7x7 |
2607 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2608 | mlib_status __mlib_ImageConv7x7(mlib_image *dst, |
2609 | const mlib_image *src, |
2610 | const mlib_s32 *kernel, |
2611 | mlib_s32 scale, |
2612 | mlib_s32 cmask, |
2613 | mlib_edge edge); |
2614 | |
2615 | |
2616 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2617 | #define __mlib_ImageConv7x7_Fp mlib_ImageConv7x7_Fp |
2618 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2619 | mlib_status __mlib_ImageConv7x7_Fp(mlib_image *dst, |
2620 | const mlib_image *src, |
2621 | const mlib_d64 *kernel, |
2622 | mlib_s32 cmask, |
2623 | mlib_edge edge); |
2624 | |
2625 | |
2626 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2627 | #define __mlib_ImageConvKernelConvert mlib_ImageConvKernelConvert |
2628 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2629 | JNIEXPORT mlib_status |
2630 | __mlib_ImageConvKernelConvert(mlib_s32 *ikernel, |
2631 | mlib_s32 *iscale, |
2632 | const mlib_d64 *fkernel, |
2633 | mlib_s32 m, |
2634 | mlib_s32 n, |
2635 | mlib_type type); |
2636 | |
2637 | |
2638 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2639 | #define __mlib_ImageConvMxN mlib_ImageConvMxN |
2640 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2641 | JNIEXPORT mlib_status |
2642 | __mlib_ImageConvMxN(mlib_image *dst, |
2643 | const mlib_image *src, |
2644 | const mlib_s32 *kernel, |
2645 | mlib_s32 m, |
2646 | mlib_s32 n, |
2647 | mlib_s32 dm, |
2648 | mlib_s32 dn, |
2649 | mlib_s32 scale, |
2650 | mlib_s32 cmask, |
2651 | mlib_edge edge); |
2652 | |
2653 | |
2654 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2655 | #define __mlib_ImageConvMxN_Fp mlib_ImageConvMxN_Fp |
2656 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2657 | mlib_status __mlib_ImageConvMxN_Fp(mlib_image *dst, |
2658 | const mlib_image *src, |
2659 | const mlib_d64 *kernel, |
2660 | mlib_s32 m, |
2661 | mlib_s32 n, |
2662 | mlib_s32 dm, |
2663 | mlib_s32 dn, |
2664 | mlib_s32 cmask, |
2665 | mlib_edge edge); |
2666 | |
2667 | |
2668 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2669 | #define __mlib_ImageConvolveMxN mlib_ImageConvolveMxN |
2670 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2671 | mlib_status __mlib_ImageConvolveMxN(mlib_image *dst, |
2672 | const mlib_image *src, |
2673 | const mlib_d64 *kernel, |
2674 | mlib_s32 m, |
2675 | mlib_s32 n, |
2676 | mlib_s32 dm, |
2677 | mlib_s32 dn, |
2678 | mlib_s32 cmask, |
2679 | mlib_edge edge); |
2680 | |
2681 | |
2682 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2683 | #define __mlib_ImageConvolveMxN_Fp mlib_ImageConvolveMxN_Fp |
2684 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2685 | mlib_status __mlib_ImageConvolveMxN_Fp(mlib_image *dst, |
2686 | const mlib_image *src, |
2687 | const mlib_d64 *kernel, |
2688 | mlib_s32 m, |
2689 | mlib_s32 n, |
2690 | mlib_s32 dm, |
2691 | mlib_s32 dn, |
2692 | mlib_s32 cmask, |
2693 | mlib_edge edge); |
2694 | |
2695 | |
2696 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2697 | #define __mlib_ImageDilate4 mlib_ImageDilate4 |
2698 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2699 | mlib_status __mlib_ImageDilate4(mlib_image *dst, |
2700 | const mlib_image *src); |
2701 | |
2702 | |
2703 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2704 | #define __mlib_ImageDilate4_Fp mlib_ImageDilate4_Fp |
2705 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2706 | mlib_status __mlib_ImageDilate4_Fp(mlib_image *dst, |
2707 | const mlib_image *src); |
2708 | |
2709 | |
2710 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2711 | #define __mlib_ImageDilate8 mlib_ImageDilate8 |
2712 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2713 | mlib_status __mlib_ImageDilate8(mlib_image *dst, |
2714 | const mlib_image *src); |
2715 | |
2716 | |
2717 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2718 | #define __mlib_ImageDilate8_Fp mlib_ImageDilate8_Fp |
2719 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2720 | mlib_status __mlib_ImageDilate8_Fp(mlib_image *dst, |
2721 | const mlib_image *src); |
2722 | |
2723 | |
2724 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2725 | #define __mlib_ImageErode4 mlib_ImageErode4 |
2726 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2727 | mlib_status __mlib_ImageErode4(mlib_image *dst, |
2728 | const mlib_image *src); |
2729 | |
2730 | |
2731 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2732 | #define __mlib_ImageErode4_Fp mlib_ImageErode4_Fp |
2733 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2734 | mlib_status __mlib_ImageErode4_Fp(mlib_image *dst, |
2735 | const mlib_image *src); |
2736 | |
2737 | |
2738 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2739 | #define __mlib_ImageErode8 mlib_ImageErode8 |
2740 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2741 | mlib_status __mlib_ImageErode8(mlib_image *dst, |
2742 | const mlib_image *src); |
2743 | |
2744 | |
2745 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2746 | #define __mlib_ImageErode8_Fp mlib_ImageErode8_Fp |
2747 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2748 | mlib_status __mlib_ImageErode8_Fp(mlib_image *dst, |
2749 | const mlib_image *src); |
2750 | |
2751 | |
2752 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2753 | #define __mlib_ImageGradient3x3 mlib_ImageGradient3x3 |
2754 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2755 | mlib_status __mlib_ImageGradient3x3(mlib_image *dst, |
2756 | const mlib_image *src, |
2757 | const mlib_d64 *hmask, |
2758 | const mlib_d64 *vmask, |
2759 | mlib_s32 cmask, |
2760 | mlib_edge edge); |
2761 | |
2762 | |
2763 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2764 | #define __mlib_ImageGradient3x3_Fp mlib_ImageGradient3x3_Fp |
2765 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2766 | mlib_status __mlib_ImageGradient3x3_Fp(mlib_image *dst, |
2767 | const mlib_image *src, |
2768 | const mlib_d64 *hmask, |
2769 | const mlib_d64 *vmask, |
2770 | mlib_s32 cmask, |
2771 | mlib_edge edge); |
2772 | |
2773 | |
2774 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2775 | #define __mlib_ImageGradientMxN mlib_ImageGradientMxN |
2776 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2777 | mlib_status __mlib_ImageGradientMxN(mlib_image *dst, |
2778 | const mlib_image *src, |
2779 | const mlib_d64 *hmask, |
2780 | const mlib_d64 *vmask, |
2781 | mlib_s32 m, |
2782 | mlib_s32 n, |
2783 | mlib_s32 dm, |
2784 | mlib_s32 dn, |
2785 | mlib_s32 cmask, |
2786 | mlib_edge edge); |
2787 | |
2788 | |
2789 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2790 | #define __mlib_ImageGradientMxN_Fp mlib_ImageGradientMxN_Fp |
2791 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2792 | mlib_status __mlib_ImageGradientMxN_Fp(mlib_image *dst, |
2793 | const mlib_image *src, |
2794 | const mlib_d64 *hmask, |
2795 | const mlib_d64 *vmask, |
2796 | mlib_s32 m, |
2797 | mlib_s32 n, |
2798 | mlib_s32 dm, |
2799 | mlib_s32 dn, |
2800 | mlib_s32 cmask, |
2801 | mlib_edge edge); |
2802 | |
2803 | |
2804 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2805 | #define __mlib_ImageMaxFilter3x3 mlib_ImageMaxFilter3x3 |
2806 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2807 | mlib_status __mlib_ImageMaxFilter3x3(mlib_image *dst, |
2808 | const mlib_image *src); |
2809 | |
2810 | |
2811 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2812 | #define __mlib_ImageMaxFilter3x3_Fp mlib_ImageMaxFilter3x3_Fp |
2813 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2814 | mlib_status __mlib_ImageMaxFilter3x3_Fp(mlib_image *dst, |
2815 | const mlib_image *src); |
2816 | |
2817 | |
2818 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2819 | #define __mlib_ImageMaxFilter5x5 mlib_ImageMaxFilter5x5 |
2820 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2821 | mlib_status __mlib_ImageMaxFilter5x5(mlib_image *dst, |
2822 | const mlib_image *src); |
2823 | |
2824 | |
2825 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2826 | #define __mlib_ImageMaxFilter5x5_Fp mlib_ImageMaxFilter5x5_Fp |
2827 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2828 | mlib_status __mlib_ImageMaxFilter5x5_Fp(mlib_image *dst, |
2829 | const mlib_image *src); |
2830 | |
2831 | |
2832 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2833 | #define __mlib_ImageMaxFilter7x7 mlib_ImageMaxFilter7x7 |
2834 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2835 | mlib_status __mlib_ImageMaxFilter7x7(mlib_image *dst, |
2836 | const mlib_image *src); |
2837 | |
2838 | |
2839 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2840 | #define __mlib_ImageMaxFilter7x7_Fp mlib_ImageMaxFilter7x7_Fp |
2841 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2842 | mlib_status __mlib_ImageMaxFilter7x7_Fp(mlib_image *dst, |
2843 | const mlib_image *src); |
2844 | |
2845 | |
2846 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2847 | #define __mlib_ImageMedianFilter3x3 mlib_ImageMedianFilter3x3 |
2848 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2849 | mlib_status __mlib_ImageMedianFilter3x3(mlib_image *dst, |
2850 | const mlib_image *src, |
2851 | mlib_median_mask mmask, |
2852 | mlib_s32 cmask, |
2853 | mlib_edge edge); |
2854 | |
2855 | |
2856 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2857 | #define __mlib_ImageMedianFilter3x3_Fp mlib_ImageMedianFilter3x3_Fp |
2858 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2859 | mlib_status __mlib_ImageMedianFilter3x3_Fp(mlib_image *dst, |
2860 | const mlib_image *src, |
2861 | mlib_median_mask mmask, |
2862 | mlib_s32 cmask, |
2863 | mlib_edge edge); |
2864 | |
2865 | |
2866 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2867 | #define __mlib_ImageMedianFilter3x3_US mlib_ImageMedianFilter3x3_US |
2868 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2869 | mlib_status __mlib_ImageMedianFilter3x3_US(mlib_image *dst, |
2870 | const mlib_image *src, |
2871 | mlib_median_mask mmask, |
2872 | mlib_s32 cmask, |
2873 | mlib_edge edge, |
2874 | mlib_s32 bits); |
2875 | |
2876 | |
2877 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2878 | #define __mlib_ImageMedianFilter5x5 mlib_ImageMedianFilter5x5 |
2879 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2880 | mlib_status __mlib_ImageMedianFilter5x5(mlib_image *dst, |
2881 | const mlib_image *src, |
2882 | mlib_median_mask mmask, |
2883 | mlib_s32 cmask, |
2884 | mlib_edge edge); |
2885 | |
2886 | |
2887 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2888 | #define __mlib_ImageMedianFilter5x5_Fp mlib_ImageMedianFilter5x5_Fp |
2889 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2890 | mlib_status __mlib_ImageMedianFilter5x5_Fp(mlib_image *dst, |
2891 | const mlib_image *src, |
2892 | mlib_median_mask mmask, |
2893 | mlib_s32 cmask, |
2894 | mlib_edge edge); |
2895 | |
2896 | |
2897 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2898 | #define __mlib_ImageMedianFilter5x5_US mlib_ImageMedianFilter5x5_US |
2899 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2900 | mlib_status __mlib_ImageMedianFilter5x5_US(mlib_image *dst, |
2901 | const mlib_image *src, |
2902 | mlib_median_mask mmask, |
2903 | mlib_s32 cmask, |
2904 | mlib_edge edge, |
2905 | mlib_s32 bits); |
2906 | |
2907 | |
2908 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2909 | #define __mlib_ImageMedianFilter7x7 mlib_ImageMedianFilter7x7 |
2910 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2911 | mlib_status __mlib_ImageMedianFilter7x7(mlib_image *dst, |
2912 | const mlib_image *src, |
2913 | mlib_median_mask mmask, |
2914 | mlib_s32 cmask, |
2915 | mlib_edge edge); |
2916 | |
2917 | |
2918 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2919 | #define __mlib_ImageMedianFilter7x7_Fp mlib_ImageMedianFilter7x7_Fp |
2920 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2921 | mlib_status __mlib_ImageMedianFilter7x7_Fp(mlib_image *dst, |
2922 | const mlib_image *src, |
2923 | mlib_median_mask mmask, |
2924 | mlib_s32 cmask, |
2925 | mlib_edge edge); |
2926 | |
2927 | |
2928 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2929 | #define __mlib_ImageMedianFilter7x7_US mlib_ImageMedianFilter7x7_US |
2930 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2931 | mlib_status __mlib_ImageMedianFilter7x7_US(mlib_image *dst, |
2932 | const mlib_image *src, |
2933 | mlib_median_mask mmask, |
2934 | mlib_s32 cmask, |
2935 | mlib_edge edge, |
2936 | mlib_s32 bits); |
2937 | |
2938 | |
2939 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2940 | #define __mlib_ImageMedianFilterMxN mlib_ImageMedianFilterMxN |
2941 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2942 | mlib_status __mlib_ImageMedianFilterMxN(mlib_image *dst, |
2943 | const mlib_image *src, |
2944 | mlib_s32 m, |
2945 | mlib_s32 n, |
2946 | mlib_median_mask mmask, |
2947 | mlib_s32 cmask, |
2948 | mlib_edge edge); |
2949 | |
2950 | |
2951 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2952 | #define __mlib_ImageMedianFilterMxN_Fp mlib_ImageMedianFilterMxN_Fp |
2953 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2954 | mlib_status __mlib_ImageMedianFilterMxN_Fp(mlib_image *dst, |
2955 | const mlib_image *src, |
2956 | mlib_s32 m, |
2957 | mlib_s32 n, |
2958 | mlib_median_mask mmask, |
2959 | mlib_s32 cmask, |
2960 | mlib_edge edge); |
2961 | |
2962 | |
2963 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2964 | #define __mlib_ImageMedianFilterMxN_US mlib_ImageMedianFilterMxN_US |
2965 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2966 | mlib_status __mlib_ImageMedianFilterMxN_US(mlib_image *dst, |
2967 | const mlib_image *src, |
2968 | mlib_s32 m, |
2969 | mlib_s32 n, |
2970 | mlib_median_mask mmask, |
2971 | mlib_s32 cmask, |
2972 | mlib_edge edge, |
2973 | mlib_s32 bits); |
2974 | |
2975 | |
2976 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2977 | #define __mlib_ImageMinFilter3x3 mlib_ImageMinFilter3x3 |
2978 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2979 | mlib_status __mlib_ImageMinFilter3x3(mlib_image *dst, |
2980 | const mlib_image *src); |
2981 | |
2982 | |
2983 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2984 | #define __mlib_ImageMinFilter3x3_Fp mlib_ImageMinFilter3x3_Fp |
2985 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2986 | mlib_status __mlib_ImageMinFilter3x3_Fp(mlib_image *dst, |
2987 | const mlib_image *src); |
2988 | |
2989 | |
2990 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2991 | #define __mlib_ImageMinFilter5x5 mlib_ImageMinFilter5x5 |
2992 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
2993 | mlib_status __mlib_ImageMinFilter5x5(mlib_image *dst, |
2994 | const mlib_image *src); |
2995 | |
2996 | |
2997 | #if defined ( __MEDIALIB_OLD_NAMES ) |
2998 | #define __mlib_ImageMinFilter5x5_Fp mlib_ImageMinFilter5x5_Fp |
2999 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3000 | mlib_status __mlib_ImageMinFilter5x5_Fp(mlib_image *dst, |
3001 | const mlib_image *src); |
3002 | |
3003 | |
3004 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3005 | #define __mlib_ImageMinFilter7x7 mlib_ImageMinFilter7x7 |
3006 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3007 | mlib_status __mlib_ImageMinFilter7x7(mlib_image *dst, |
3008 | const mlib_image *src); |
3009 | |
3010 | |
3011 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3012 | #define __mlib_ImageMinFilter7x7_Fp mlib_ImageMinFilter7x7_Fp |
3013 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3014 | mlib_status __mlib_ImageMinFilter7x7_Fp(mlib_image *dst, |
3015 | const mlib_image *src); |
3016 | |
3017 | |
3018 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3019 | #define __mlib_ImageRankFilter3x3 mlib_ImageRankFilter3x3 |
3020 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3021 | mlib_status __mlib_ImageRankFilter3x3(mlib_image *dst, |
3022 | const mlib_image *src, |
3023 | mlib_s32 rank); |
3024 | |
3025 | |
3026 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3027 | #define __mlib_ImageRankFilter3x3_Fp mlib_ImageRankFilter3x3_Fp |
3028 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3029 | mlib_status __mlib_ImageRankFilter3x3_Fp(mlib_image *dst, |
3030 | const mlib_image *src, |
3031 | mlib_s32 rank); |
3032 | |
3033 | |
3034 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3035 | #define __mlib_ImageRankFilter3x3_US mlib_ImageRankFilter3x3_US |
3036 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3037 | mlib_status __mlib_ImageRankFilter3x3_US(mlib_image *dst, |
3038 | const mlib_image *src, |
3039 | mlib_s32 rank, |
3040 | mlib_s32 bits); |
3041 | |
3042 | |
3043 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3044 | #define __mlib_ImageRankFilter5x5 mlib_ImageRankFilter5x5 |
3045 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3046 | mlib_status __mlib_ImageRankFilter5x5(mlib_image *dst, |
3047 | const mlib_image *src, |
3048 | mlib_s32 rank); |
3049 | |
3050 | |
3051 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3052 | #define __mlib_ImageRankFilter5x5_Fp mlib_ImageRankFilter5x5_Fp |
3053 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3054 | mlib_status __mlib_ImageRankFilter5x5_Fp(mlib_image *dst, |
3055 | const mlib_image *src, |
3056 | mlib_s32 rank); |
3057 | |
3058 | |
3059 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3060 | #define __mlib_ImageRankFilter5x5_US mlib_ImageRankFilter5x5_US |
3061 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3062 | mlib_status __mlib_ImageRankFilter5x5_US(mlib_image *dst, |
3063 | const mlib_image *src, |
3064 | mlib_s32 rank, |
3065 | mlib_s32 bits); |
3066 | |
3067 | |
3068 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3069 | #define __mlib_ImageRankFilter7x7 mlib_ImageRankFilter7x7 |
3070 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3071 | mlib_status __mlib_ImageRankFilter7x7(mlib_image *dst, |
3072 | const mlib_image *src, |
3073 | mlib_s32 rank); |
3074 | |
3075 | |
3076 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3077 | #define __mlib_ImageRankFilter7x7_Fp mlib_ImageRankFilter7x7_Fp |
3078 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3079 | mlib_status __mlib_ImageRankFilter7x7_Fp(mlib_image *dst, |
3080 | const mlib_image *src, |
3081 | mlib_s32 rank); |
3082 | |
3083 | |
3084 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3085 | #define __mlib_ImageRankFilter7x7_US mlib_ImageRankFilter7x7_US |
3086 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3087 | mlib_status __mlib_ImageRankFilter7x7_US(mlib_image *dst, |
3088 | const mlib_image *src, |
3089 | mlib_s32 rank, |
3090 | mlib_s32 bits); |
3091 | |
3092 | |
3093 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3094 | #define __mlib_ImageRankFilterMxN mlib_ImageRankFilterMxN |
3095 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3096 | mlib_status __mlib_ImageRankFilterMxN(mlib_image *dst, |
3097 | const mlib_image *src, |
3098 | mlib_s32 m, |
3099 | mlib_s32 n, |
3100 | mlib_s32 rank); |
3101 | |
3102 | |
3103 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3104 | #define __mlib_ImageRankFilterMxN_Fp mlib_ImageRankFilterMxN_Fp |
3105 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3106 | mlib_status __mlib_ImageRankFilterMxN_Fp(mlib_image *dst, |
3107 | const mlib_image *src, |
3108 | mlib_s32 m, |
3109 | mlib_s32 n, |
3110 | mlib_s32 rank); |
3111 | |
3112 | |
3113 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3114 | #define __mlib_ImageRankFilterMxN_US mlib_ImageRankFilterMxN_US |
3115 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3116 | mlib_status __mlib_ImageRankFilterMxN_US(mlib_image *dst, |
3117 | const mlib_image *src, |
3118 | mlib_s32 m, |
3119 | mlib_s32 n, |
3120 | mlib_s32 rank, |
3121 | mlib_s32 bits); |
3122 | |
3123 | |
3124 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3125 | #define __mlib_ImageSConv3x3 mlib_ImageSConv3x3 |
3126 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3127 | mlib_status __mlib_ImageSConv3x3(mlib_image *dst, |
3128 | const mlib_image *src, |
3129 | const mlib_s32 *hkernel, |
3130 | const mlib_s32 *vkernel, |
3131 | mlib_s32 scale, |
3132 | mlib_s32 cmask, |
3133 | mlib_edge edge); |
3134 | |
3135 | |
3136 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3137 | #define __mlib_ImageSConv3x3_Fp mlib_ImageSConv3x3_Fp |
3138 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3139 | mlib_status __mlib_ImageSConv3x3_Fp(mlib_image *dst, |
3140 | const mlib_image *src, |
3141 | const mlib_d64 *hkernel, |
3142 | const mlib_d64 *vkernel, |
3143 | mlib_s32 cmask, |
3144 | mlib_edge edge); |
3145 | |
3146 | |
3147 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3148 | #define __mlib_ImageSConv5x5 mlib_ImageSConv5x5 |
3149 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3150 | mlib_status __mlib_ImageSConv5x5(mlib_image *dst, |
3151 | const mlib_image *src, |
3152 | const mlib_s32 *hkernel, |
3153 | const mlib_s32 *vkernel, |
3154 | mlib_s32 scale, |
3155 | mlib_s32 cmask, |
3156 | mlib_edge edge); |
3157 | |
3158 | |
3159 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3160 | #define __mlib_ImageSConv5x5_Fp mlib_ImageSConv5x5_Fp |
3161 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3162 | mlib_status __mlib_ImageSConv5x5_Fp(mlib_image *dst, |
3163 | const mlib_image *src, |
3164 | const mlib_d64 *hkernel, |
3165 | const mlib_d64 *vkernel, |
3166 | mlib_s32 cmask, |
3167 | mlib_edge edge); |
3168 | |
3169 | |
3170 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3171 | #define __mlib_ImageSConv7x7 mlib_ImageSConv7x7 |
3172 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3173 | mlib_status __mlib_ImageSConv7x7(mlib_image *dst, |
3174 | const mlib_image *src, |
3175 | const mlib_s32 *hkernel, |
3176 | const mlib_s32 *vkernel, |
3177 | mlib_s32 scale, |
3178 | mlib_s32 cmask, |
3179 | mlib_edge edge); |
3180 | |
3181 | |
3182 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3183 | #define __mlib_ImageSConv7x7_Fp mlib_ImageSConv7x7_Fp |
3184 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3185 | mlib_status __mlib_ImageSConv7x7_Fp(mlib_image *dst, |
3186 | const mlib_image *src, |
3187 | const mlib_d64 *hkernel, |
3188 | const mlib_d64 *vkernel, |
3189 | mlib_s32 cmask, |
3190 | mlib_edge edge); |
3191 | |
3192 | |
3193 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3194 | #define __mlib_ImageSConvKernelConvert mlib_ImageSConvKernelConvert |
3195 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3196 | mlib_status __mlib_ImageSConvKernelConvert(mlib_s32 *ihkernel, |
3197 | mlib_s32 *ivkernel, |
3198 | mlib_s32 *iscale, |
3199 | const mlib_d64 *fhkernel, |
3200 | const mlib_d64 *fvkernel, |
3201 | mlib_s32 m, |
3202 | mlib_s32 n, |
3203 | mlib_type type); |
3204 | |
3205 | |
3206 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3207 | #define __mlib_ImageSobel mlib_ImageSobel |
3208 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3209 | mlib_status __mlib_ImageSobel(mlib_image *dst, |
3210 | const mlib_image *src, |
3211 | mlib_s32 cmask, |
3212 | mlib_edge edge); |
3213 | |
3214 | |
3215 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3216 | #define __mlib_ImageSobel_Fp mlib_ImageSobel_Fp |
3217 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3218 | mlib_status __mlib_ImageSobel_Fp(mlib_image *dst, |
3219 | const mlib_image *src, |
3220 | mlib_s32 cmask, |
3221 | mlib_edge edge); |
3222 | |
3223 | /* Image Staistics ( stat ) */ |
3224 | |
3225 | |
3226 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3227 | #define __mlib_ImageAutoCorrel mlib_ImageAutoCorrel |
3228 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3229 | mlib_status __mlib_ImageAutoCorrel(mlib_d64 *correl, |
3230 | const mlib_image *img, |
3231 | mlib_s32 dx, |
3232 | mlib_s32 dy); |
3233 | |
3234 | |
3235 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3236 | #define __mlib_ImageAutoCorrel_Fp mlib_ImageAutoCorrel_Fp |
3237 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3238 | mlib_status __mlib_ImageAutoCorrel_Fp(mlib_d64 *correl, |
3239 | const mlib_image *img, |
3240 | mlib_s32 dx, |
3241 | mlib_s32 dy); |
3242 | |
3243 | |
3244 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3245 | #define __mlib_ImageCrossCorrel mlib_ImageCrossCorrel |
3246 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3247 | mlib_status __mlib_ImageCrossCorrel(mlib_d64 *correl, |
3248 | const mlib_image *img1, |
3249 | const mlib_image *img2); |
3250 | |
3251 | |
3252 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3253 | #define __mlib_ImageCrossCorrel_Fp mlib_ImageCrossCorrel_Fp |
3254 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3255 | mlib_status __mlib_ImageCrossCorrel_Fp(mlib_d64 *correl, |
3256 | const mlib_image *img1, |
3257 | const mlib_image *img2); |
3258 | |
3259 | |
3260 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3261 | #define __mlib_ImageExtrema2 mlib_ImageExtrema2 |
3262 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3263 | mlib_status __mlib_ImageExtrema2(mlib_s32 *min, |
3264 | mlib_s32 *max, |
3265 | const mlib_image *img, |
3266 | mlib_s32 xStart, |
3267 | mlib_s32 yStart, |
3268 | mlib_s32 xPeriod, |
3269 | mlib_s32 yPeriod); |
3270 | |
3271 | |
3272 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3273 | #define __mlib_ImageExtrema2_Fp mlib_ImageExtrema2_Fp |
3274 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3275 | mlib_status __mlib_ImageExtrema2_Fp(mlib_d64 *min, |
3276 | mlib_d64 *max, |
3277 | const mlib_image *img, |
3278 | mlib_s32 xStart, |
3279 | mlib_s32 yStart, |
3280 | mlib_s32 xPeriod, |
3281 | mlib_s32 yPeriod); |
3282 | |
3283 | |
3284 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3285 | #define __mlib_ImageExtremaLocations mlib_ImageExtremaLocations |
3286 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3287 | mlib_status __mlib_ImageExtremaLocations(mlib_s32 *min, |
3288 | mlib_s32 *max, |
3289 | const mlib_image *img, |
3290 | mlib_s32 xStart, |
3291 | mlib_s32 yStart, |
3292 | mlib_s32 xPeriod, |
3293 | mlib_s32 yPeriod, |
3294 | mlib_s32 saveLocations, |
3295 | mlib_s32 maxRuns, |
3296 | mlib_s32 *minCounts, |
3297 | mlib_s32 *maxCounts, |
3298 | mlib_s32 **minLocations, |
3299 | mlib_s32 **maxLocations, |
3300 | mlib_s32 len); |
3301 | |
3302 | |
3303 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3304 | #define __mlib_ImageExtremaLocations_Fp mlib_ImageExtremaLocations_Fp |
3305 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3306 | mlib_status __mlib_ImageExtremaLocations_Fp(mlib_d64 *min, |
3307 | mlib_d64 *max, |
3308 | const mlib_image *img, |
3309 | mlib_s32 xStart, |
3310 | mlib_s32 yStart, |
3311 | mlib_s32 xPeriod, |
3312 | mlib_s32 yPeriod, |
3313 | mlib_s32 saveLocations, |
3314 | mlib_s32 maxRuns, |
3315 | mlib_s32 *minCounts, |
3316 | mlib_s32 *maxCounts, |
3317 | mlib_s32 **minLocations, |
3318 | mlib_s32 **maxLocations, |
3319 | mlib_s32 len); |
3320 | |
3321 | |
3322 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3323 | #define __mlib_ImageMaximum mlib_ImageMaximum |
3324 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3325 | mlib_status __mlib_ImageMaximum(mlib_s32 *max, |
3326 | const mlib_image *img); |
3327 | |
3328 | |
3329 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3330 | #define __mlib_ImageMaximum_Fp mlib_ImageMaximum_Fp |
3331 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3332 | mlib_status __mlib_ImageMaximum_Fp(mlib_d64 *max, |
3333 | const mlib_image *img); |
3334 | |
3335 | |
3336 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3337 | #define __mlib_ImageMean mlib_ImageMean |
3338 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3339 | mlib_status __mlib_ImageMean(mlib_d64 *mean, |
3340 | const mlib_image *img); |
3341 | |
3342 | |
3343 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3344 | #define __mlib_ImageMean_Fp mlib_ImageMean_Fp |
3345 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3346 | mlib_status __mlib_ImageMean_Fp(mlib_d64 *mean, |
3347 | const mlib_image *img); |
3348 | |
3349 | |
3350 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3351 | #define __mlib_ImageMinimum mlib_ImageMinimum |
3352 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3353 | mlib_status __mlib_ImageMinimum(mlib_s32 *min, |
3354 | const mlib_image *img); |
3355 | |
3356 | |
3357 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3358 | #define __mlib_ImageMinimum_Fp mlib_ImageMinimum_Fp |
3359 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3360 | mlib_status __mlib_ImageMinimum_Fp(mlib_d64 *min, |
3361 | const mlib_image *img); |
3362 | |
3363 | |
3364 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3365 | #define __mlib_ImageMoment2 mlib_ImageMoment2 |
3366 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3367 | mlib_status __mlib_ImageMoment2(mlib_d64 *moment, |
3368 | const mlib_image *img); |
3369 | |
3370 | |
3371 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3372 | #define __mlib_ImageMoment2_Fp mlib_ImageMoment2_Fp |
3373 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3374 | mlib_status __mlib_ImageMoment2_Fp(mlib_d64 *moment, |
3375 | const mlib_image *img); |
3376 | |
3377 | |
3378 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3379 | #define __mlib_ImageStdDev mlib_ImageStdDev |
3380 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3381 | mlib_status __mlib_ImageStdDev(mlib_d64 *sdev, |
3382 | const mlib_image *img, |
3383 | const mlib_d64 *mean); |
3384 | |
3385 | |
3386 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3387 | #define __mlib_ImageStdDev_Fp mlib_ImageStdDev_Fp |
3388 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3389 | mlib_status __mlib_ImageStdDev_Fp(mlib_d64 *sdev, |
3390 | const mlib_image *img, |
3391 | const mlib_d64 *mean); |
3392 | |
3393 | |
3394 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3395 | #define __mlib_ImageXProj mlib_ImageXProj |
3396 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3397 | mlib_status __mlib_ImageXProj(mlib_d64 *xproj, |
3398 | const mlib_image *img); |
3399 | |
3400 | |
3401 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3402 | #define __mlib_ImageXProj_Fp mlib_ImageXProj_Fp |
3403 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3404 | mlib_status __mlib_ImageXProj_Fp(mlib_d64 *xproj, |
3405 | const mlib_image *img); |
3406 | |
3407 | |
3408 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3409 | #define __mlib_ImageYProj mlib_ImageYProj |
3410 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3411 | mlib_status __mlib_ImageYProj(mlib_d64 *yproj, |
3412 | const mlib_image *img); |
3413 | |
3414 | |
3415 | #if defined ( __MEDIALIB_OLD_NAMES ) |
3416 | #define __mlib_ImageYProj_Fp mlib_ImageYProj_Fp |
3417 | #endif /* ! defined ( __MEDIALIB_OLD_NAMES ) */ |
3418 | mlib_status __mlib_ImageYProj_Fp(mlib_d64 *yproj, |
3419 | const mlib_image *img); |
3420 | |
3421 | #ifdef __cplusplus |
3422 | } |
3423 | #endif /* __cplusplus */ |
3424 | #endif /* __ORIG_MLIB_IMAGE_PROTO_H */ |
3425 | |