2
|
1 |
/*
|
5506
|
2 |
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
|
2
|
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
|
5506
|
7 |
* published by the Free Software Foundation. Oracle designates this
|
2
|
8 |
* particular file as subject to the "Classpath" exception as provided
|
5506
|
9 |
* by Oracle in the LICENSE file that accompanied this code.
|
2
|
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 |
*
|
5506
|
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.
|
2
|
24 |
*/
|
|
25 |
|
|
26 |
#ifndef __MLIB_V_IMAGELOGIC_PROTO_H
|
|
27 |
#define __MLIB_V_IMAGELOGIC_PROTO_H
|
|
28 |
|
|
29 |
|
|
30 |
#include <mlib_types.h>
|
|
31 |
#include <mlib_image_types.h>
|
|
32 |
#include <mlib_status.h>
|
|
33 |
|
|
34 |
#ifdef __cplusplus
|
|
35 |
extern "C" {
|
|
36 |
#endif /* __cplusplus */
|
|
37 |
|
|
38 |
void mlib_v_ImageNot_na(mlib_u8 *sa,
|
|
39 |
mlib_u8 *da,
|
|
40 |
mlib_s32 size);
|
|
41 |
mlib_status mlib_v_ImageNot_Bit(mlib_image *dst,
|
|
42 |
const mlib_image *src);
|
|
43 |
void mlib_v_ImageNot_blk(const void *src,
|
|
44 |
void *dst,
|
|
45 |
mlib_s32 size);
|
|
46 |
|
|
47 |
mlib_status mlib_v_ImageAnd_Bit(mlib_image *dst,
|
|
48 |
const mlib_image *src1,
|
|
49 |
const mlib_image *src2);
|
|
50 |
mlib_status mlib_v_ImageAndNot_Bit(mlib_image *dst,
|
|
51 |
const mlib_image *src1,
|
|
52 |
const mlib_image *src2);
|
|
53 |
|
|
54 |
mlib_status mlib_v_ImageConstAnd_Bit(mlib_image *dst,
|
|
55 |
const mlib_image *src1,
|
|
56 |
const mlib_s32 *c);
|
|
57 |
mlib_status mlib_v_ImageConstAndNot_Bit(mlib_image *dst,
|
|
58 |
const mlib_image *src1,
|
|
59 |
const mlib_s32 *c);
|
|
60 |
mlib_status mlib_v_ImageConstNotAnd_Bit(mlib_image *dst,
|
|
61 |
const mlib_image *src1,
|
|
62 |
const mlib_s32 *c);
|
|
63 |
mlib_status mlib_v_ImageConstNotOr_Bit(mlib_image *dst,
|
|
64 |
const mlib_image *src1,
|
|
65 |
const mlib_s32 *c);
|
|
66 |
mlib_status mlib_v_ImageConstNotXor_Bit(mlib_image *dst,
|
|
67 |
const mlib_image *src1,
|
|
68 |
const mlib_s32 *c);
|
|
69 |
mlib_status mlib_v_ImageConstOr_Bit(mlib_image *dst,
|
|
70 |
const mlib_image *src1,
|
|
71 |
const mlib_s32 *c);
|
|
72 |
mlib_status mlib_v_ImageConstOrNot_Bit(mlib_image *dst,
|
|
73 |
const mlib_image *src1,
|
|
74 |
const mlib_s32 *c);
|
|
75 |
mlib_status mlib_v_ImageConstXor_Bit(mlib_image *dst,
|
|
76 |
const mlib_image *src1,
|
|
77 |
const mlib_s32 *c);
|
|
78 |
|
|
79 |
mlib_status mlib_v_ImageNotAnd_Bit(mlib_image *dst,
|
|
80 |
const mlib_image *src1,
|
|
81 |
const mlib_image *src2);
|
|
82 |
mlib_status mlib_v_ImageNotOr_Bit(mlib_image *dst,
|
|
83 |
const mlib_image *src1,
|
|
84 |
const mlib_image *src2);
|
|
85 |
mlib_status mlib_v_ImageNotXor_Bit(mlib_image *dst,
|
|
86 |
const mlib_image *src1,
|
|
87 |
const mlib_image *src2);
|
|
88 |
mlib_status mlib_v_ImageOr_Bit(mlib_image *dst,
|
|
89 |
const mlib_image *src1,
|
|
90 |
const mlib_image *src2);
|
|
91 |
mlib_status mlib_v_ImageOrNot_Bit(mlib_image *dst,
|
|
92 |
const mlib_image *src1,
|
|
93 |
const mlib_image *src2);
|
|
94 |
mlib_status mlib_v_ImageXor_Bit(mlib_image *dst,
|
|
95 |
const mlib_image *src1,
|
|
96 |
const mlib_image *src2);
|
|
97 |
|
|
98 |
#ifdef __cplusplus
|
|
99 |
}
|
|
100 |
#endif /* __cplusplus */
|
|
101 |
#endif /* __MLIB_V_IMAGELOGIC_PROTO_H */
|