1
2/*
3 * Mesa 3-D graphics library
4 *
5 * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included
15 * in all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
21 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
24 */
25
26
27#ifndef CONVOLVE_H
28#define CONVOLVE_H
29
30
31#include "glheader.h"
32
33struct _glapi_table;
34
35void GLAPIENTRY
36_mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width,
37                          GLenum format, GLenum type, const GLvoid *image);
38void GLAPIENTRY
39_mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
40                          GLsizei height, GLenum format, GLenum type,
41                          const GLvoid *image);
42void GLAPIENTRY
43_mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat param);
44void GLAPIENTRY
45_mesa_ConvolutionParameterfv(GLenum target, GLenum pname,
46                             const GLfloat *params);
47void GLAPIENTRY
48_mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint param);
49void GLAPIENTRY
50_mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
51void GLAPIENTRY
52_mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x,
53                              GLint y, GLsizei width);
54void GLAPIENTRY
55_mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x,
56                              GLint y, GLsizei width, GLsizei height);
57void GLAPIENTRY
58_mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type,
59                               GLsizei bufSize, GLvoid *image);
60void GLAPIENTRY
61_mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
62                           GLvoid *image);
63void GLAPIENTRY
64_mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
65void GLAPIENTRY
66_mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
67void GLAPIENTRY
68_mesa_GetnSeparableFilterARB(GLenum target, GLenum format, GLenum type,
69                             GLsizei rowBufSize, GLvoid *row,
70                             GLsizei columnBufSize,  GLvoid *column,
71                             GLvoid *span);
72void GLAPIENTRY
73_mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
74                         GLvoid *row, GLvoid *column, GLvoid *span);
75void GLAPIENTRY
76_mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
77                        GLsizei height, GLenum format, GLenum type,
78                        const GLvoid *row, const GLvoid *column);
79
80#endif /* CONVOLVE_H */
81