IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2005, 3:24:30 PM (21 years ago)
Author:
drobbin
Message:

Revised psLib based on SDRS rev. 15 changes

File:
1 edited

Legend:

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

    r4493 r4526  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.60 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-07-07 02:17:53 $
     13 *  @version $Revision: 1.61 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-07-09 01:24:30 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5151typedef struct psImage
    5252{
    53     const psMathType type;                 ///< Image data type and dimension.
    54     const psU32 numCols;               ///< Number of columns in image
    55     const psU32 numRows;               ///< Number of rows in image.
    56     const psS32 col0;                  ///< Column position relative to parent.
    57     const psS32 row0;                  ///< Row position relative to parent.
     53    const psMathType type;             ///< Image data type and dimension.
     54    const int numCols;                 ///< Number of columns in image
     55    const int numRows;                 ///< Number of rows in image.
     56    const int col0;                    ///< Column position relative to parent.
     57    const int row0;                    ///< Row position relative to parent.
    5858
    5959    union {
     
    7777
    7878    psPtr rawDataBuffer;               ///< Raw data buffer for Allocating/Freeing Images
     79    void *lock;                        ///< Optional lock for thread safety
    7980}
    8081psImage;
     
    103104 */
    104105psImage* psImageAlloc(
    105     psU32 numCols,                     ///< Number of rows in image.
    106     psU32 numRows,                     ///< Number of columns in image.
     106    int numCols,                       ///< Number of rows in image.
     107    int numRows,                       ///< Number of columns in image.
    107108    psElemType type                    ///< Type of data for image.
    108 );
     109)
     110;
    109111
    110112/** Create a psRegion with the specified attributes.
     
    113115 */
    114116psRegion psRegionSet(
    115     float x0,                         ///< the first column of the region.
    116     float x1,                         ///< the last column of the region + 1.
    117     float y0,                         ///< the first row of the region.
    118     float y1                          ///< the last row of the region + 1.
     117    float x0,                          ///< the first column of the region.
     118    float x1,                          ///< the last column of the region + 1.
     119    float y0,                          ///< the first row of the region.
     120    float y1                           ///< the last row of the region + 1.
    119121);
    120122
     
    146148psImage* psImageRecycle(
    147149    psImage* old,                      ///< the psImage to recycle by resizing image buffer
    148     psU32 numCols,                     ///< the desired number of columns in image
    149     psU32 numRows,                     ///< the desired number of rows in image
     150    int numCols,                       ///< the desired number of columns in image
     151    int numRows,                       ///< the desired number of rows in image
    150152    const psElemType type              ///< the desired datatype of the image
    151153);
Note: See TracChangeset for help on using the changeset viewer.