ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

convolve.h
Go to the documentation of this file.
00001 
00002 /*
00003  * Mesa 3-D graphics library
00004  * Version:  3.5
00005  *
00006  * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
00007  *
00008  * Permission is hereby granted, free of charge, to any person obtaining a
00009  * copy of this software and associated documentation files (the "Software"),
00010  * to deal in the Software without restriction, including without limitation
00011  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00012  * and/or sell copies of the Software, and to permit persons to whom the
00013  * Software is furnished to do so, subject to the following conditions:
00014  *
00015  * The above copyright notice and this permission notice shall be included
00016  * in all copies or substantial portions of the Software.
00017  *
00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00019  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00021  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00022  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00023  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00024  */
00025 
00026 
00027 #ifndef CONVOLVE_H
00028 #define CONVOLVE_H
00029 
00030 
00031 #include "mtypes.h"
00032 
00033 
00034 #if _HAVE_FULL_GL
00035 extern void GLAPIENTRY
00036 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width,
00037                           GLenum format, GLenum type, const GLvoid *image);
00038 
00039 extern void GLAPIENTRY
00040 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width,
00041                           GLsizei height, GLenum format, GLenum type,
00042                           const GLvoid *image);
00043 
00044 extern void GLAPIENTRY
00045 _mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
00046 
00047 extern void GLAPIENTRY
00048 _mesa_ConvolutionParameterfv(GLenum target, GLenum pname,
00049                              const GLfloat *params);
00050 
00051 extern void GLAPIENTRY
00052 _mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint params);
00053 
00054 extern void GLAPIENTRY
00055 _mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
00056 
00057 extern void GLAPIENTRY
00058 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalformat,
00059                               GLint x, GLint y, GLsizei width);
00060 
00061 extern void GLAPIENTRY
00062 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalformat,
00063                               GLint x, GLint y, GLsizei width, GLsizei height);
00064 
00065 extern void GLAPIENTRY
00066 _mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
00067                            GLvoid *image);
00068 
00069 extern void GLAPIENTRY
00070 _mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
00071 
00072 extern void GLAPIENTRY
00073 _mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
00074 
00075 extern void GLAPIENTRY
00076 _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
00077                          GLvoid *row, GLvoid *column, GLvoid *span);
00078 
00079 extern void GLAPIENTRY
00080 _mesa_SeparableFilter2D(GLenum target, GLenum internalformat,
00081                         GLsizei width, GLsizei height,
00082                         GLenum format, GLenum type,
00083                         const GLvoid *row, const GLvoid *column);
00084 
00085 
00086 
00087 extern void
00088 _mesa_convolve_1d_image(const GLcontext *ctx, GLsizei *width,
00089                         const GLfloat *srcImage, GLfloat *dstImage);
00090 
00091 
00092 extern void
00093 _mesa_convolve_2d_image(const GLcontext *ctx, GLsizei *width, GLsizei *height,
00094                         const GLfloat *srcImage, GLfloat *dstImage);
00095 
00096 
00097 extern void
00098 _mesa_convolve_sep_image(const GLcontext *ctx,
00099                          GLsizei *width, GLsizei *height,
00100                          const GLfloat *srcImage, GLfloat *dstImage);
00101 
00102 
00103 extern void
00104 _mesa_adjust_image_for_convolution(const GLcontext *ctx, GLuint dimensions,
00105                                    GLsizei *width, GLsizei *height);
00106 
00107 #else
00108 #define _mesa_adjust_image_for_convolution(c, d, w, h) ((void)0)
00109 #define _mesa_convolve_1d_image(c,w,s,d) ((void)0)
00110 #define _mesa_convolve_2d_image(c,w,h,s,d) ((void)0)
00111 #define _mesa_convolve_sep_image(c,w,h,s,d) ((void)0)
00112 #endif
00113 
00114 #endif

Generated on Sat May 26 2012 04:18:59 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.