Index: trunk/psLib/src/imageops/psImageConvolve.h
===================================================================
--- trunk/psLib/src/imageops/psImageConvolve.h	(revision 30595)
+++ trunk/psLib/src/imageops/psImageConvolve.h	(revision 32725)
@@ -25,4 +25,14 @@
 #define PS_TYPE_KERNEL_DATA F32        ///< the data member to use for kernel image */
 #define PS_TYPE_KERNEL_NAME "psF32"    ///< the data type for kernel as a string */
+
+/// a structure to contain data related to image smoothing with a 1D gauss kernel
+typedef struct {
+    int Nx;
+    int Ny;
+    int Nrange;
+    psF32 *resultX;
+    psF32 *resultY;
+    psVector *kernel;
+} psImageSmooth_PreAlloc_Data;
 
 /// A convolution kernel
@@ -277,4 +287,7 @@
 );
 
+psImageSmooth_PreAlloc_Data *psImageSmooth_PreAlloc_DataAlloc (psImage *image, double sigma, double Nsigma);
+bool psImageSmooth_PreAlloc_F32(psImage *image, psImageSmooth_PreAlloc_Data *smdata);
+
 /// Control threading for image convolution functions
 ///
