IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 9:52:10 AM (21 years ago)
Author:
Paul Price
Message:

fix for bug 459 (psVector and psImage use signed integers for number of elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r4407 r4408  
    1 %%% $Id: psLibSDRS.tex,v 1.301 2005-06-28 19:23:35 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.302 2005-06-28 19:52:10 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    20322032    const psU32 nalloc;         // Number allocated
    20332033    psPixelCoord *data;         // The pixel coordinates
    2034     void *lock;                         ///< Lock for thread safety
     2034    void *lock;                 // Lock for thread safety
    20352035} psPixels;
    20362036\end{datatype}
     
    31513151typedef struct psImage {
    31523152    psMathType type;                    ///< image data type and dimension
    3153     const psU32 numCols;                ///< Number of columns in image
    3154     const psU32 numRows;                ///< Number of rows in image.
     3153    const psS32 numCols;                ///< Number of columns in image
     3154    const psS32 numRows;                ///< Number of rows in image.
    31553155    const psS32 col0;                   ///< Column position relative to parent.
    31563156    const psS32 row0;                   ///< Row position relative to parent.
     
    32033203
    32043204\begin{prototype}
    3205 psImage *psImageAlloc(psU32 numCols, psU32 numRows, psElemType type);
     3205psImage *psImageAlloc(psS32 numCols, psS32 numRows, psElemType type);
    32063206\end{prototype}
    32073207Create an image of a specified \code{numCols}, \code{numRows}, and data
     
    32133213psImage* psImageRecycle(
    32143214    psImage* old,                       ///< the psImage to recycle by resizing image buffer
    3215     psU32 numCols,                      ///< the desired number of columns in image
    3216     psU32 numRows,                      ///< the desired number of rows in image
     3215    psS32 numCols,                      ///< the desired number of columns in image
     3216    psS32 numRows,                      ///< the desired number of rows in image
    32173217    const psElemType type           ///< the desired datatype of the image
    32183218);
Note: See TracChangeset for help on using the changeset viewer.