blob: 75392d3100b630d6e8b4b129e192b6fb91dd4e8b [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * Copyright 1998-2003 Sun Microsystems, Inc. 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. Sun designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22 * CA 95054 USA or visit www.sun.com if you need additional information or
23 * have any questions.
24 */
25
26
27#ifndef __MLIB_V_IMAGEFILTERS_H
28#define __MLIB_V_IMAGEFILTERS_H
29
30
31#ifdef __cplusplus
32extern "C" {
33#endif /* __cplusplus */
34
35/*
36 * These tables are used by VIS versions
37 * of the following functions:
38 * mlib_ImageRotate(Index)
39 * mlib_ImageAffine(Index)
40 * mlib_ImageZoom(Index)
41 * mlib_ImageGridWarp
42 * mlib_ImagePolynomialWarp
43 */
44
45#include "mlib_image.h"
46
47#if defined (__INIT_TABLE)
48
49#pragma align 8 (mlib_filters_u8_bl)
50#pragma align 8 (mlib_filters_u8_bc)
51#pragma align 8 (mlib_filters_u8_bc2)
52#pragma align 8 (mlib_filters_u8_bc_3)
53#pragma align 8 (mlib_filters_u8_bc2_3)
54#pragma align 8 (mlib_filters_u8_bc_4)
55#pragma align 8 (mlib_filters_u8_bc2_4)
56#pragma align 8 (mlib_filters_s16_bc)
57#pragma align 8 (mlib_filters_s16_bc2)
58#pragma align 8 (mlib_filters_s16_bc_3)
59#pragma align 8 (mlib_filters_s16_bc2_3)
60#pragma align 8 (mlib_filters_s16_bc_4)
61#pragma align 8 (mlib_filters_s16_bc2_4)
62
63#endif /* defined (__INIT_TABLE) */
64
65extern const mlib_s16 mlib_filters_u8_bl[];
66extern const mlib_s16 mlib_filters_u8_bc[];
67extern const mlib_s16 mlib_filters_u8_bc2[];
68extern const mlib_s16 mlib_filters_u8_bc_3[];
69extern const mlib_s16 mlib_filters_u8_bc2_3[];
70extern const mlib_s16 mlib_filters_u8_bc_4[];
71extern const mlib_s16 mlib_filters_u8_bc2_4[];
72extern const mlib_s16 mlib_filters_s16_bc[];
73extern const mlib_s16 mlib_filters_s16_bc2[];
74extern const mlib_s16 mlib_filters_s16_bc_3[];
75extern const mlib_s16 mlib_filters_s16_bc2_3[];
76extern const mlib_s16 mlib_filters_s16_bc_4[];
77extern const mlib_s16 mlib_filters_s16_bc2_4[];
78
79#ifdef __cplusplus
80}
81#endif /* __cplusplus */
82#endif /* __MLIB_V_IMAGEFILTERS_H */