jdk/src/share/native/sun/awt/medialib/mlib_c_ImageConv.h
author ohair
Tue, 25 May 2010 15:58:33 -0700
changeset 5506 202f599c92aa
parent 2 90ce3da70b43
child 15628 228422512f97
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     2
 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#ifndef __MLIB_C_IMAGECONV_H
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#define __MLIB_C_IMAGECONV_H
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#ifdef __cplusplus
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
extern "C" {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#endif /* __cplusplus */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
mlib_status mlib_c_conv2x2ext_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
                                  const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
mlib_status mlib_c_conv2x2ext_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
                                  const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
mlib_status mlib_c_conv2x2ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
mlib_status mlib_c_conv2x2nw_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
mlib_status mlib_c_conv2x2nw_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
mlib_status mlib_c_conv2x2nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
mlib_status mlib_c_conv3x3ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
mlib_status mlib_c_conv3x3nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
mlib_status mlib_c_conv4x4ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
mlib_status mlib_c_conv4x4nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
mlib_status mlib_c_conv5x5ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
mlib_status mlib_c_conv5x5nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
mlib_status mlib_c_conv7x7ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
mlib_status mlib_c_conv7x7nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
mlib_status mlib_c_convMxNnw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
                                const mlib_s32   *kernel,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
                                mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
                                mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
                                mlib_s32         dm,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
                                mlib_s32         dn,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
mlib_status mlib_c_convMxNext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
                                 mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
                                 mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
#if ! defined ( __sparc ) /* for x86, using integer multiplies is faster */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
mlib_status mlib_i_conv3x3ext_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
                                  const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
mlib_status mlib_i_conv3x3ext_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
                                  const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
mlib_status mlib_i_conv3x3ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
mlib_status mlib_i_conv3x3nw_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
mlib_status mlib_i_conv3x3nw_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
mlib_status mlib_i_conv3x3nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
mlib_status mlib_i_conv5x5ext_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
                                  const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
mlib_status mlib_i_conv5x5ext_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
                                  const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
mlib_status mlib_i_conv5x5ext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
mlib_status mlib_i_conv5x5nw_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
mlib_status mlib_i_conv5x5nw_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
mlib_status mlib_i_conv5x5nw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
                                const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
mlib_status mlib_i_convMxNnw_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
                                 const mlib_s32   *kernel,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
                                 mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
                                 mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
                                 mlib_s32         dm,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
                                 mlib_s32         dn,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
mlib_status mlib_i_convMxNnw_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
                                 const mlib_s32   *kernel,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
                                 mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
                                 mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
                                 mlib_s32         dm,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
                                 mlib_s32         dn,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
mlib_status mlib_i_convMxNnw_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
                                const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
                                const mlib_s32   *kernel,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
                                mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
                                mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
                                mlib_s32         dm,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
                                mlib_s32         dn,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
                                mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
                                mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
mlib_status mlib_i_convMxNext_u8(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
                                 const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
                                 const mlib_s32   *kern,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
                                 mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
                                 mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
                                 mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
                                 mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
                                 mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
                                 mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
                                 mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
                                 mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
mlib_status mlib_i_convMxNext_s16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
                                  const mlib_s32   *kernel,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
                                  mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
                                  mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
mlib_status mlib_i_convMxNext_u16(mlib_image       *dst,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
                                  const mlib_image *src,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
                                  const mlib_s32   *kernel,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
                                  mlib_s32         m,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
                                  mlib_s32         n,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
                                  mlib_s32         dx_l,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
                                  mlib_s32         dx_r,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
                                  mlib_s32         dy_t,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
                                  mlib_s32         dy_b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
                                  mlib_s32         scale,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
                                  mlib_s32         cmask);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
#endif /* ! defined ( __sparc ) ( for x86, using integer multiplies is faster ) */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
#ifdef __cplusplus
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
#endif /* __cplusplus */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
#endif /* __MLIB_C_IMAGECONV_H */