From 147b08328a2ccb0c1150feaf7871037683236e33 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 23 Aug 2000 14:31:25 +0000 Subject: moved convolution API functions to convolve.c --- src/mesa/main/convolve.h | 54 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/convolve.h') 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 @@ -32,6 +32,58 @@ #include "types.h" +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); -- cgit v1.2.3