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 |
|
|
27 |
#ifndef __MLIB_V_IMAGECHANNELEXTRACT_H
|
|
28 |
#define __MLIB_V_IMAGECHANNELEXTRACT_H
|
|
29 |
|
|
30 |
|
|
31 |
#ifdef __cplusplus
|
|
32 |
extern "C" {
|
|
33 |
#endif /* __cplusplus */
|
|
34 |
|
|
35 |
void mlib_v_ImageChannelExtract_U8_21_A8D1X8(const mlib_u8 *src,
|
|
36 |
mlib_u8 *dst,
|
|
37 |
mlib_s32 dsize,
|
|
38 |
mlib_s32 cmask);
|
|
39 |
|
|
40 |
void mlib_v_ImageChannelExtract_U8_21_A8D2X8(const mlib_u8 *src,
|
|
41 |
mlib_s32 slb,
|
|
42 |
mlib_u8 *dst,
|
|
43 |
mlib_s32 dlb,
|
|
44 |
mlib_s32 xsize,
|
|
45 |
mlib_s32 ysize,
|
|
46 |
mlib_s32 cmask);
|
|
47 |
|
|
48 |
void mlib_v_ImageChannelExtract_U8_21_D1(const mlib_u8 *src,
|
|
49 |
mlib_u8 *dst,
|
|
50 |
mlib_s32 dsize,
|
|
51 |
mlib_s32 cmask);
|
|
52 |
|
|
53 |
void mlib_v_ImageChannelExtract_U8_21(const mlib_u8 *src,
|
|
54 |
mlib_s32 slb,
|
|
55 |
mlib_u8 *dst,
|
|
56 |
mlib_s32 dlb,
|
|
57 |
mlib_s32 xsize,
|
|
58 |
mlib_s32 ysize,
|
|
59 |
mlib_s32 cmask);
|
|
60 |
|
|
61 |
void mlib_v_ImageChannelExtract_U8_31_A8D1X8(const mlib_u8 *src,
|
|
62 |
mlib_u8 *dst,
|
|
63 |
mlib_s32 dsize,
|
|
64 |
mlib_s32 cmask);
|
|
65 |
|
|
66 |
void mlib_v_ImageChannelExtract_U8_31_A8D2X8(const mlib_u8 *src,
|
|
67 |
mlib_s32 slb,
|
|
68 |
mlib_u8 *dst,
|
|
69 |
mlib_s32 dlb,
|
|
70 |
mlib_s32 xsize,
|
|
71 |
mlib_s32 ysize,
|
|
72 |
mlib_s32 cmask);
|
|
73 |
|
|
74 |
void mlib_v_ImageChannelExtract_U8_31_D1(const mlib_u8 *src,
|
|
75 |
mlib_u8 *dst,
|
|
76 |
mlib_s32 dsize,
|
|
77 |
mlib_s32 cmask);
|
|
78 |
|
|
79 |
void mlib_v_ImageChannelExtract_U8_31(const mlib_u8 *src,
|
|
80 |
mlib_s32 slb,
|
|
81 |
mlib_u8 *dst,
|
|
82 |
mlib_s32 dlb,
|
|
83 |
mlib_s32 xsize,
|
|
84 |
mlib_s32 ysize,
|
|
85 |
mlib_s32 cmask);
|
|
86 |
|
|
87 |
void mlib_v_ImageChannelExtract_U8_41_A8D1X8(const mlib_u8 *src,
|
|
88 |
mlib_u8 *dst,
|
|
89 |
mlib_s32 dsize,
|
|
90 |
mlib_s32 cmask);
|
|
91 |
|
|
92 |
void mlib_v_ImageChannelExtract_U8_41_A8D2X8(const mlib_u8 *src,
|
|
93 |
mlib_s32 slb,
|
|
94 |
mlib_u8 *dst,
|
|
95 |
mlib_s32 dlb,
|
|
96 |
mlib_s32 xsize,
|
|
97 |
mlib_s32 ysize,
|
|
98 |
mlib_s32 cmask);
|
|
99 |
|
|
100 |
void mlib_v_ImageChannelExtract_U8_41_D1(const mlib_u8 *src,
|
|
101 |
mlib_u8 *dst,
|
|
102 |
mlib_s32 dsize,
|
|
103 |
mlib_s32 cmask);
|
|
104 |
|
|
105 |
void mlib_v_ImageChannelExtract_U8_41(const mlib_u8 *src,
|
|
106 |
mlib_s32 slb,
|
|
107 |
mlib_u8 *dst,
|
|
108 |
mlib_s32 dlb,
|
|
109 |
mlib_s32 xsize,
|
|
110 |
mlib_s32 ysize,
|
|
111 |
mlib_s32 cmask);
|
|
112 |
|
|
113 |
void mlib_v_ImageChannelExtract_S16_21_A8D1X4(const mlib_s16 *src,
|
|
114 |
mlib_s16 *dst,
|
|
115 |
mlib_s32 dsize,
|
|
116 |
mlib_s32 cmask);
|
|
117 |
|
|
118 |
void mlib_v_ImageChannelExtract_S16_21_A8D2X4(const mlib_s16 *src,
|
|
119 |
mlib_s32 slb,
|
|
120 |
mlib_s16 *dst,
|
|
121 |
mlib_s32 dlb,
|
|
122 |
mlib_s32 xsize,
|
|
123 |
mlib_s32 ysize,
|
|
124 |
mlib_s32 cmask);
|
|
125 |
|
|
126 |
void mlib_v_ImageChannelExtract_S16_21_D1(const mlib_s16 *src,
|
|
127 |
mlib_s16 *dst,
|
|
128 |
mlib_s32 dsize,
|
|
129 |
mlib_s32 cmask);
|
|
130 |
|
|
131 |
void mlib_v_ImageChannelExtract_S16_21(const mlib_s16 *src,
|
|
132 |
mlib_s32 slb,
|
|
133 |
mlib_s16 *dst,
|
|
134 |
mlib_s32 dlb,
|
|
135 |
mlib_s32 xsize,
|
|
136 |
mlib_s32 ysize,
|
|
137 |
mlib_s32 cmask);
|
|
138 |
|
|
139 |
void mlib_v_ImageChannelExtract_S16_31_A8D1X4(const mlib_s16 *src,
|
|
140 |
mlib_s16 *dst,
|
|
141 |
mlib_s32 dsize,
|
|
142 |
mlib_s32 cmask);
|
|
143 |
|
|
144 |
void mlib_v_ImageChannelExtract_S16_31_A8D2X4(const mlib_s16 *src,
|
|
145 |
mlib_s32 slb,
|
|
146 |
mlib_s16 *dst,
|
|
147 |
mlib_s32 dlb,
|
|
148 |
mlib_s32 xsize,
|
|
149 |
mlib_s32 ysize,
|
|
150 |
mlib_s32 cmask);
|
|
151 |
|
|
152 |
void mlib_v_ImageChannelExtract_S16_31_D1(const mlib_s16 *src,
|
|
153 |
mlib_s16 *dst,
|
|
154 |
mlib_s32 dsize,
|
|
155 |
mlib_s32 cmask);
|
|
156 |
|
|
157 |
void mlib_v_ImageChannelExtract_S16_31(const mlib_s16 *src,
|
|
158 |
mlib_s32 slb,
|
|
159 |
mlib_s16 *dst,
|
|
160 |
mlib_s32 dlb,
|
|
161 |
mlib_s32 xsize,
|
|
162 |
mlib_s32 ysize,
|
|
163 |
mlib_s32 cmask);
|
|
164 |
|
|
165 |
void mlib_v_ImageChannelExtract_S16_41_A8D1X4(const mlib_s16 *src,
|
|
166 |
mlib_s16 *dst,
|
|
167 |
mlib_s32 dsize,
|
|
168 |
mlib_s32 cmask);
|
|
169 |
|
|
170 |
void mlib_v_ImageChannelExtract_S16_41_A8D2X4(const mlib_s16 *src,
|
|
171 |
mlib_s32 slb,
|
|
172 |
mlib_s16 *dst,
|
|
173 |
mlib_s32 dlb,
|
|
174 |
mlib_s32 xsize,
|
|
175 |
mlib_s32 ysize,
|
|
176 |
mlib_s32 cmask);
|
|
177 |
|
|
178 |
void mlib_v_ImageChannelExtract_S16_41_D1(const mlib_s16 *src,
|
|
179 |
mlib_s16 *dst,
|
|
180 |
mlib_s32 dsize,
|
|
181 |
mlib_s32 cmask);
|
|
182 |
|
|
183 |
void mlib_v_ImageChannelExtract_S16_41(const mlib_s16 *src,
|
|
184 |
mlib_s32 slb,
|
|
185 |
mlib_s16 *dst,
|
|
186 |
mlib_s32 dlb,
|
|
187 |
mlib_s32 xsize,
|
|
188 |
mlib_s32 ysize,
|
|
189 |
mlib_s32 cmask);
|
|
190 |
|
|
191 |
void mlib_v_ImageChannelExtract_U8_43R_A8D1X8(const mlib_u8 *src,
|
|
192 |
mlib_u8 *dst,
|
|
193 |
mlib_s32 dsize);
|
|
194 |
|
|
195 |
void mlib_v_ImageChannelExtract_U8_43R_A8D2X8(const mlib_u8 *src,
|
|
196 |
mlib_s32 slb,
|
|
197 |
mlib_u8 *dst,
|
|
198 |
mlib_s32 dlb,
|
|
199 |
mlib_s32 xsize,
|
|
200 |
mlib_s32 ysize);
|
|
201 |
|
|
202 |
void mlib_v_ImageChannelExtract_U8_43R_D1(const mlib_u8 *src,
|
|
203 |
mlib_u8 *dst,
|
|
204 |
mlib_s32 dsize);
|
|
205 |
|
|
206 |
void mlib_v_ImageChannelExtract_U8_43R(const mlib_u8 *src,
|
|
207 |
mlib_s32 slb,
|
|
208 |
mlib_u8 *dst,
|
|
209 |
mlib_s32 dlb,
|
|
210 |
mlib_s32 xsize,
|
|
211 |
mlib_s32 ysize);
|
|
212 |
|
|
213 |
void mlib_v_ImageChannelExtract_S16_43R_A8D1X4(const mlib_s16 *src,
|
|
214 |
mlib_s16 *dst,
|
|
215 |
mlib_s32 dsize);
|
|
216 |
|
|
217 |
void mlib_v_ImageChannelExtract_S16_43R_A8D2X4(const mlib_s16 *src,
|
|
218 |
mlib_s32 slb,
|
|
219 |
mlib_s16 *dst,
|
|
220 |
mlib_s32 dlb,
|
|
221 |
mlib_s32 xsize,
|
|
222 |
mlib_s32 ysize);
|
|
223 |
|
|
224 |
void mlib_v_ImageChannelExtract_S16_43R_D1(const mlib_s16 *src,
|
|
225 |
mlib_s16 *dst,
|
|
226 |
mlib_s32 dsize);
|
|
227 |
|
|
228 |
void mlib_v_ImageChannelExtract_S16_43R(const mlib_s16 *src,
|
|
229 |
mlib_s32 slb,
|
|
230 |
mlib_s16 *dst,
|
|
231 |
mlib_s32 dlb,
|
|
232 |
mlib_s32 xsize,
|
|
233 |
mlib_s32 ysize);
|
|
234 |
|
|
235 |
void mlib_v_ImageChannelExtract_U8_43L_A8D1X8(const mlib_u8 *src,
|
|
236 |
mlib_u8 *dst,
|
|
237 |
mlib_s32 dsize);
|
|
238 |
|
|
239 |
void mlib_v_ImageChannelExtract_U8_43L_A8D2X8(const mlib_u8 *src,
|
|
240 |
mlib_s32 slb,
|
|
241 |
mlib_u8 *dst,
|
|
242 |
mlib_s32 dlb,
|
|
243 |
mlib_s32 xsize,
|
|
244 |
mlib_s32 ysize);
|
|
245 |
|
|
246 |
void mlib_v_ImageChannelExtract_U8_43L_D1(const mlib_u8 *src,
|
|
247 |
mlib_u8 *dst,
|
|
248 |
mlib_s32 dsize);
|
|
249 |
|
|
250 |
void mlib_v_ImageChannelExtract_U8_43L(const mlib_u8 *src,
|
|
251 |
mlib_s32 slb,
|
|
252 |
mlib_u8 *dst,
|
|
253 |
mlib_s32 dlb,
|
|
254 |
mlib_s32 xsize,
|
|
255 |
mlib_s32 ysize);
|
|
256 |
|
|
257 |
void mlib_v_ImageChannelExtract_S16_43L_A8D1X4(const mlib_s16 *src,
|
|
258 |
mlib_s16 *dst,
|
|
259 |
mlib_s32 dsize);
|
|
260 |
|
|
261 |
void mlib_v_ImageChannelExtract_S16_43L_A8D2X4(const mlib_s16 *src,
|
|
262 |
mlib_s32 slb,
|
|
263 |
mlib_s16 *dst,
|
|
264 |
mlib_s32 dlb,
|
|
265 |
mlib_s32 xsize,
|
|
266 |
mlib_s32 ysize);
|
|
267 |
|
|
268 |
void mlib_v_ImageChannelExtract_S16_43L_D1(const mlib_s16 *src,
|
|
269 |
mlib_s16 *dst,
|
|
270 |
mlib_s32 dsize);
|
|
271 |
|
|
272 |
void mlib_v_ImageChannelExtract_S16_43L(const mlib_s16 *src,
|
|
273 |
mlib_s32 slb,
|
|
274 |
mlib_s16 *dst,
|
|
275 |
mlib_s32 dlb,
|
|
276 |
mlib_s32 xsize,
|
|
277 |
mlib_s32 ysize);
|
|
278 |
|
|
279 |
void mlib_v_ImageChannelExtract_U8_2_1(const mlib_u8 *sl,
|
|
280 |
mlib_s32 slb,
|
|
281 |
mlib_u8 *dl,
|
|
282 |
mlib_s32 dlb,
|
|
283 |
mlib_s32 width,
|
|
284 |
mlib_s32 height);
|
|
285 |
|
|
286 |
void mlib_v_ImageChannelExtract_U8_3_2(const mlib_u8 *sl,
|
|
287 |
mlib_s32 slb,
|
|
288 |
mlib_u8 *dl,
|
|
289 |
mlib_s32 dlb,
|
|
290 |
mlib_s32 width,
|
|
291 |
mlib_s32 height,
|
|
292 |
mlib_s32 count1);
|
|
293 |
|
|
294 |
void mlib_v_ImageChannelExtract_U8_4_2(const mlib_u8 *sl,
|
|
295 |
mlib_s32 slb,
|
|
296 |
mlib_u8 *dl,
|
|
297 |
mlib_s32 dlb,
|
|
298 |
mlib_s32 width,
|
|
299 |
mlib_s32 height,
|
|
300 |
mlib_s32 count1);
|
|
301 |
|
|
302 |
void mlib_v_ImageChannelExtract_32_2_1(const mlib_f32 *sp,
|
|
303 |
mlib_s32 slb,
|
|
304 |
mlib_f32 *dp,
|
|
305 |
mlib_s32 dlb,
|
|
306 |
mlib_s32 width,
|
|
307 |
mlib_s32 height);
|
|
308 |
|
|
309 |
void mlib_v_ImageChannelExtract_32_3_1(const mlib_f32 *sl,
|
|
310 |
mlib_s32 slb,
|
|
311 |
mlib_f32 *dl,
|
|
312 |
mlib_s32 dlb,
|
|
313 |
mlib_s32 width,
|
|
314 |
mlib_s32 height);
|
|
315 |
|
|
316 |
void mlib_v_ImageChannelExtract_32_3_2(const mlib_f32 *sl,
|
|
317 |
mlib_s32 slb,
|
|
318 |
mlib_f32 *dl,
|
|
319 |
mlib_s32 dlb,
|
|
320 |
mlib_s32 width,
|
|
321 |
mlib_s32 height,
|
|
322 |
mlib_s32 count1);
|
|
323 |
|
|
324 |
void mlib_v_ImageChannelExtract_32_4_1(const mlib_f32 *sp,
|
|
325 |
mlib_s32 slb,
|
|
326 |
mlib_f32 *dp,
|
|
327 |
mlib_s32 dlb,
|
|
328 |
mlib_s32 width,
|
|
329 |
mlib_s32 height);
|
|
330 |
|
|
331 |
void mlib_v_ImageChannelExtract_32_4_2(const mlib_f32 *sl,
|
|
332 |
mlib_s32 slb,
|
|
333 |
mlib_f32 *dl,
|
|
334 |
mlib_s32 dlb,
|
|
335 |
mlib_s32 width,
|
|
336 |
mlib_s32 height,
|
|
337 |
mlib_s32 count1);
|
|
338 |
|
|
339 |
void mlib_v_ImageChannelExtract_32_4_3(const mlib_f32 *sl,
|
|
340 |
mlib_s32 slb,
|
|
341 |
mlib_f32 *dl,
|
|
342 |
mlib_s32 dlb,
|
|
343 |
mlib_s32 width,
|
|
344 |
mlib_s32 height,
|
|
345 |
mlib_s32 count1);
|
|
346 |
|
|
347 |
void mlib_v_ImageChannelExtract_U8(const mlib_u8 *src,
|
|
348 |
mlib_s32 slb,
|
|
349 |
mlib_u8 *dst,
|
|
350 |
mlib_s32 dlb,
|
|
351 |
mlib_s32 channels,
|
|
352 |
mlib_s32 channeld,
|
|
353 |
mlib_s32 width,
|
|
354 |
mlib_s32 height,
|
|
355 |
mlib_s32 cmask);
|
|
356 |
|
|
357 |
void mlib_v_ImageChannelExtract_S16(const mlib_u16 *src,
|
|
358 |
mlib_s32 slb,
|
|
359 |
mlib_u16 *dst,
|
|
360 |
mlib_s32 dlb,
|
|
361 |
mlib_s32 channels,
|
|
362 |
mlib_s32 channeld,
|
|
363 |
mlib_s32 width,
|
|
364 |
mlib_s32 height,
|
|
365 |
mlib_s32 cmask);
|
|
366 |
|
|
367 |
void mlib_v_ImageChannelExtract_D64(const mlib_d64 *src,
|
|
368 |
mlib_s32 slb,
|
|
369 |
mlib_d64 *dst,
|
|
370 |
mlib_s32 dlb,
|
|
371 |
mlib_s32 channels,
|
|
372 |
mlib_s32 channeld,
|
|
373 |
mlib_s32 width,
|
|
374 |
mlib_s32 height,
|
|
375 |
mlib_s32 cmask);
|
|
376 |
|
|
377 |
#ifdef __cplusplus
|
|
378 |
}
|
|
379 |
#endif /* __cplusplus */
|
|
380 |
#endif /* __MLIB_V_IMAGECHANNELEXTRACT_H */
|