1 /*
2  * Copyright (c) 1998, 2003, 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 __MLIB_V_IMAGEFILTERS_H
28 #define __MLIB_V_IMAGEFILTERS_H
29 
30 
31 #ifdef __cplusplus
32 extern "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 
65 extern const mlib_s16 mlib_filters_u8_bl[];
66 extern const mlib_s16 mlib_filters_u8_bc[];
67 extern const mlib_s16 mlib_filters_u8_bc2[];
68 extern const mlib_s16 mlib_filters_u8_bc_3[];
69 extern const mlib_s16 mlib_filters_u8_bc2_3[];
70 extern const mlib_s16 mlib_filters_u8_bc_4[];
71 extern const mlib_s16 mlib_filters_u8_bc2_4[];
72 extern const mlib_s16 mlib_filters_s16_bc[];
73 extern const mlib_s16 mlib_filters_s16_bc2[];
74 extern const mlib_s16 mlib_filters_s16_bc_3[];
75 extern const mlib_s16 mlib_filters_s16_bc2_3[];
76 extern const mlib_s16 mlib_filters_s16_bc_4[];
77 extern const mlib_s16 mlib_filters_s16_bc2_4[];
78 
79 #ifdef __cplusplus
80 }
81 #endif /* __cplusplus */
82 #endif /* __MLIB_V_IMAGEFILTERS_H */
83