Index: trunk/psLib/src/image/psImage.h
===================================================================
--- trunk/psLib/src/image/psImage.h	(revision 1406)
+++ trunk/psLib/src/image/psImage.h	(revision 1407)
@@ -1,2 +1,3 @@
+
 /** @file  psImage.h
  *
@@ -11,15 +12,15 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-08-06 22:34:05 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-08-07 00:06:06 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  */
-# ifndef PS_IMAGE_H
-# define PS_IMAGE_H
+#ifndef PS_IMAGE_H
+#    define PS_IMAGE_H
 
-#include <complex.h>
+#    include <complex.h>
 
-#include "psType.h"
+#    include "psType.h"
 
 /// @addtogroup Image
@@ -39,36 +40,37 @@
 typedef struct psImage
 {
-    const psType type;                  ///< Image data type and dimension.
-    const unsigned int numCols;         ///< Number of columns in image
-    const unsigned int numRows;         ///< Number of rows in image.
-    const int col0;                     ///< Column position relative to parent.
-    const int row0;                     ///< Row position relative to parent.
+    const psType type;          // /< Image data type and dimension.
+    const unsigned int numCols; // /< Number of columns in image
+    const unsigned int numRows; // /< Number of rows in image.
+    const int col0;             // /< Column position relative to parent.
+    const int row0;             // /< Row position relative to parent.
 
     union {
-        psU8    **U8;                   ///< Unsigned 8-bit integer data.
-        psU16   **U16;                  ///< Unsigned 16-bit integer data.
-        psU32   **U32;                  ///< Unsigned 32-bit integer data.
-        psU64   **U64;                  ///< Unsigned 64-bit integer data.
-        psS8    **S8;                   ///< Signed 8-bit integer data.
-        psS16   **S16;                  ///< Signed 16-bit integer data.
-        psS32   **S32;                  ///< Signed 32-bit integer data.
-        psS64   **S64;                  ///< Signed 64-bit integer data.
-        psF32   **F32;                  ///< Single-precision float data.
-        psF64   **F64;                  ///< Double-precision float data.
-        psC32   **C32;                  ///< Single-precision complex data.
-        psC64   **C64;                  ///< Double-precision complex data.
-        psPTR   **PTR;                  ///< Void pointers.
-        psPTR    *V;                    ///< Pointer to data.
-    } data;                             ///< Union for data types.
-    const struct psImage *parent;       ///< Parent, if a subimage.
-    int nChildren;                      ///< Number of subimages.
-    struct psImage** children;          ///< Children of this region.
+        psU8 **U8;              // /< Unsigned 8-bit integer data.
+        psU16 **U16;            // /< Unsigned 16-bit integer data.
+        psU32 **U32;            // /< Unsigned 32-bit integer data.
+        psU64 **U64;            // /< Unsigned 64-bit integer data.
+        psS8 **S8;              // /< Signed 8-bit integer data.
+        psS16 **S16;            // /< Signed 16-bit integer data.
+        psS32 **S32;            // /< Signed 32-bit integer data.
+        psS64 **S64;            // /< Signed 64-bit integer data.
+        psF32 **F32;            // /< Single-precision float data.
+        psF64 **F64;            // /< Double-precision float data.
+        psC32 **C32;            // /< Single-precision complex data.
+        psC64 **C64;            // /< Double-precision complex data.
+        psPTR **PTR;            // /< Void pointers.
+        psPTR *V;               // /< Pointer to data.
+    } data;                     // /< Union for data types.
+    const struct psImage *parent;       // /< Parent, if a subimage.
+    int nChildren;              // /< Number of subimages.
+    struct psImage **children;  // /< Children of this region.
 }
 psImage;
 
 /*****************************************************************************/
+
 /* FUNCTION PROTOTYPES                                                       */
+
 /*****************************************************************************/
-
 
 /** Create an image of the specified size and type.
@@ -80,9 +82,8 @@
  *
  */
-psImage *psImageAlloc(
-    unsigned int numCols,               ///< Number of rows in image.
-    unsigned int numRows,               ///< Number of columns in image.
-    const psElemType type               ///< Type of data for image.
-);
+psImage *psImageAlloc(unsigned int numCols,     // /< Number of rows in image.
+                      unsigned int numRows,     // /< Number of columns in image.
+                      const psElemType type     // /< Type of data for image.
+                     );
 
 /** Resize a given image to the given size/type.
@@ -91,11 +92,9 @@
  *
  */
-psImage* psImageRecycle(
-    psImage* old,                       ///< the psImage to recycle by resizing image buffer
-    unsigned int numCols,               ///< the desired number of columns in image
-    unsigned int numRows,               ///< the desired number of rows in image
-    const psElemType type               ///< the desired datatype of the image
-);
-
+psImage *psImageRecycle(psImage * old,  // /< the psImage to recycle by resizing image buffer
+                        unsigned int numCols,   // /< the desired number of columns in image
+                        unsigned int numRows,   // /< the desired number of rows in image
+                        const psElemType type   // /< the desired datatype of the image
+                       );
 
 /** Frees all children of a psImage.
@@ -104,18 +103,13 @@
  *
  */
-int psImageFreeChildren(
-    psImage* image
-    /**< psImage in which all children shall be deallocated */
-);
+int psImageFreeChildren(psImage * image
 
-psF32 psImagePixelInterpolate(
-    const psImage *input,
-    float x,
-    float y,
-    psF32 unexposedValue,
-    psImageInterpolateMode mode
-);
+                        /**< psImage in which all children shall be deallocated */
+                       );
 
-#define p_psImagePixelInterpolateFcns(TYPE) \
+psF32 psImagePixelInterpolate(const psImage * input,
+                              float x, float y, psF32 unexposedValue, psImageInterpolateMode mode);
+
+#    define p_psImagePixelInterpolateFcns(TYPE) \
 inline psF64 p_psImagePixelInterpolateFLAT_##TYPE( \
         const psImage *input, \
@@ -131,5 +125,5 @@
                                                      );
 
-#define p_psImagePixelInterpolateComplexFcns(TYPE) \
+#    define p_psImagePixelInterpolateComplexFcns(TYPE) \
 inline psC64 p_psImagePixelInterpolateFLAT_##TYPE( \
         const psImage *input, \
@@ -157,6 +151,4 @@
 p_psImagePixelInterpolateComplexFcns(C32)
 p_psImagePixelInterpolateComplexFcns(C64)
-
 /// @}
-
 #endif
