summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/convolve.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-08-23 14:31:25 +0000
committerBrian Paul <[email protected]>2000-08-23 14:31:25 +0000
commit147b08328a2ccb0c1150feaf7871037683236e33 (patch)
tree4fcb079337be504e05db2161c77debf006edff9e /src/mesa/main/convolve.h
parent7e70874420266fb81bed13c8464ee4c0309d75b2 (diff)
moved convolution API functions to convolve.c
Diffstat (limited to 'src/mesa/main/convolve.h')
-rw-r--r--src/mesa/main/convolve.h54
1 files changed, 53 insertions, 1 deletions
diff --git a/src/mesa/main/convolve.h b/src/mesa/main/convolve.h
index 9d5e0eee434..99c1584fa8f 100644
--- a/src/mesa/main/convolve.h
+++ b/src/mesa/main/convolve.h
@@ -1,4 +1,4 @@
-/* $Id: convolve.h,v 1.1 2000/08/21 14:24:31 brianp Exp $ */
+/* $Id: convolve.h,v 1.2 2000/08/23 14:31:25 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -33,6 +33,58 @@
extern void
+_mesa_ConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width,
+ GLenum format, GLenum type, const GLvoid *image);
+
+extern void
+_mesa_ConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width,
+ GLsizei height, GLenum format, GLenum type,
+ const GLvoid *image);
+
+extern void
+_mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
+
+extern void
+_mesa_ConvolutionParameterfv(GLenum target, GLenum pname,
+ const GLfloat *params);
+
+extern void
+_mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint params);
+
+extern void
+_mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
+
+extern void
+_mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalformat,
+ GLint x, GLint y, GLsizei width);
+
+extern void
+_mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalformat,
+ GLint x, GLint y, GLsizei width, GLsizei height);
+
+extern void
+_mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
+ GLvoid *image);
+
+extern void
+_mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
+
+extern void
+_mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
+
+extern void
+_mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
+ GLvoid *row, GLvoid *column, GLvoid *span);
+
+extern void
+_mesa_SeparableFilter2D(GLenum target, GLenum internalformat,
+ GLsizei width, GLsizei height,
+ GLenum format, GLenum type,
+ const GLvoid *row, const GLvoid *column);
+
+
+
+extern void
_mesa_convolve_1d_image(const GLcontext *ctx, GLsizei *width,
const GLfloat *srcImage, GLfloat *dstImage);