IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImage.h

    r2105 r2204  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-10-14 01:22:59 $
     13 *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-10-27 00:57:31 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4747{
    4848    const psType type;                 ///< Image data type and dimension.
    49     const unsigned int numCols;        ///< Number of columns in image
    50     const unsigned int numRows;        ///< Number of rows in image.
    51     const int col0;                    ///< Column position relative to parent.
    52     const int row0;                    ///< Row position relative to parent.
     49    const psU32 numCols;        ///< Number of columns in image
     50    const psU32 numRows;        ///< Number of rows in image.
     51    const psS32 col0;                    ///< Column position relative to parent.
     52    const psS32 row0;                    ///< Row position relative to parent.
    5353
    5454    union {
     
    6565        psC32** C32;                   ///< Single-precision complex data.
    6666        psC64** C64;                   ///< Double-precision complex data.
    67         psPTR** PTR;                   ///< Void pointers.
    68         psPTR*  V;                     ///< Pointer to data.
     67        psPtr** PTR;                   ///< Void pointers.
     68        psPtr*  V;                     ///< Pointer to data.
    6969    } data;                            ///< Union for data types.
    7070    const struct psImage* parent;      ///< Parent, if a subimage.
    7171    psArray* children;                 ///< Children of this region.
    7272
    73     void* rawDataBuffer;
     73    psPtr rawDataBuffer;
    7474}
    7575psImage;
     
    8484 */
    8585psImage* psImageAlloc(
    86     unsigned int numCols,              ///< Number of rows in image.
    87     unsigned int numRows,              ///< Number of columns in image.
     86    psU32 numCols,              ///< Number of rows in image.
     87    psU32 numRows,              ///< Number of columns in image.
    8888    const psElemType type              ///< Type of data for image.
    8989);
     
    9696psImage* psImageRecycle(
    9797    psImage* old,                      ///< the psImage to recycle by resizing image buffer
    98     unsigned int numCols,              ///< the desired number of columns in image
    99     unsigned int numRows,              ///< the desired number of rows in image
     98    psU32 numCols,              ///< the desired number of columns in image
     99    psU32 numRows,              ///< the desired number of rows in image
    100100    const psElemType type              ///< the desired datatype of the image
    101101);
     
    115115/** Frees all children of a psImage.
    116116 *
    117  *  @return int      Number of children freed.
     117 *  @return psS32      Number of children freed.
    118118 *
    119119 */
    120 int psImageFreeChildren(
     120psS32 psImageFreeChildren(
    121121    psImage* image                     ///< psImage in which all children shall be deallocated
    122122);
     
    132132    float y,                           ///< row location ot derive value of
    133133    const psImage* mask,               ///< if not NULL, the mask of the input image
    134     unsigned int maskVal,              ///< the mask value
     134    psU32 maskVal,              ///< the mask value
    135135    psC64 unexposedValue,              ///< return value if x,y location is not in image.
    136136    psImageInterpolateMode mode        ///< interpolation mode
     
    143143        float y,                       /**< row location ot derive value of */ \
    144144        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
    145         unsigned int maskVal,          /**< the mask value */ \
     145        psU32 maskVal,          /**< the mask value */ \
    146146        psF64 unexposedValue           /**< return value if x,y location is not in image. */ \
    147147                                                 ); \
     
    151151        float y,                       /**< row location ot derive value of */ \
    152152        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
    153         unsigned int maskVal,          /**< the mask value */ \
     153        psU32 maskVal,          /**< the mask value */ \
    154154        psF64 unexposedValue           /**< return value if x,y location is not in image. */ \
    155155                                                     );
     
    161161        float y,                       /**< row location ot derive value of */ \
    162162        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
    163         unsigned int maskVal,          /**< the mask value */ \
     163        psU32 maskVal,          /**< the mask value */ \
    164164        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    165165                                                 ); \
     
    169169        float y,                       /**< row location ot derive value of */ \
    170170        const psImage* mask,           /**< if not NULL, the mask of the input image */ \
    171         unsigned int maskVal,          /**< the mask value */ \
     171        psU32 maskVal,          /**< the mask value */ \
    172172        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    173173                                                     );
Note: See TracChangeset for help on using the changeset viewer.