IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2005, 2:54:13 PM (21 years ago)
Author:
desonia
Message:

Added SWIG and autoconf.

Location:
trunk/psLib/src/mathtypes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mathtypes/psImage.c

    r2970 r3115  
    99 *  @author Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-01-13 03:26:23 $
     11 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-03 00:54:11 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    568568    psS32 lastX = input->numCols - 1; \
    569569    psS32 lastY = input->numRows - 1; \
    570     ps##TYPE V00; \
    571     ps##TYPE V01; \
    572     ps##TYPE V10; \
    573     ps##TYPE V11; \
     570    ps##TYPE V00 = 0; \
     571    ps##TYPE V01 = 0; \
     572    ps##TYPE V10 = 0; \
     573    ps##TYPE V11 = 0; \
    574574    psBool valid00 = false; \
    575575    psBool valid01 = false; \
     
    611611    /* OK, at least one pixel is not valid - need to do it piecemeal */ \
    612612    \
    613     psF64 V0; \
     613    psF64 V0 = 0.0; \
    614614    psBool valid0 = true; \
    615615    if (valid00 && valid10) { \
     
    623623    } \
    624624    \
    625     psF64 V1; \
     625    psF64 V1 = 0.0; \
    626626    psBool valid1 = true; \
    627627    if (valid01 && valid11) { \
     
    662662    psS32 lastX = input->numCols - 1; \
    663663    psS32 lastY = input->numRows - 1; \
    664     ps##TYPE V00; \
    665     ps##TYPE V01; \
    666     ps##TYPE V10; \
    667     ps##TYPE V11; \
     664    ps##TYPE V00 = 0; \
     665    ps##TYPE V01 = 0; \
     666    ps##TYPE V10 = 0; \
     667    ps##TYPE V11 = 0; \
    668668    psBool valid00 = false; \
    669669    psBool valid01 = false; \
     
    705705    /* OK, at least one pixel is not valid - need to do it piecemeal */ \
    706706    \
    707     psC64 V0; \
     707    psC64 V0 = 0; \
    708708    psBool valid0 = true; \
    709709    if (valid00 && valid10) { \
     
    717717    } \
    718718    \
    719     psC64 V1; \
     719    psC64 V1 = 0; \
    720720    psBool valid1 = true; \
    721721    if (valid01 && valid11) { \
  • trunk/psLib/src/mathtypes/psImage.h

    r2970 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.45 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-13 03:26:23 $
     13 *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:11 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    157157 */
    158158psImage* psImageCopy(
    159     psImage* restrict output,          ///< if not NULL, a psImage that could be recycled.
     159    psImage* output,                   ///< if not NULL, a psImage that could be recycled.
    160160    const psImage* input,              ///< the psImage to copy
    161161    psElemType type                    ///< the desired datatype of the returned copy
     
    221221        psC64 unexposedValue           /**< return value if x,y location is not in image. */ \
    222222                                                     );
    223 
     223#ifndef SWIG
    224224p_psImagePixelInterpolateFcns(U8)
    225225p_psImagePixelInterpolateFcns(U16)
     
    234234p_psImagePixelInterpolateComplexFcns(C32)
    235235p_psImagePixelInterpolateComplexFcns(C64)
     236#endif
    236237
    237238/// @}
  • trunk/psLib/src/mathtypes/psVector.c

    r2676 r3115  
    1010*  @author Robert DeSonia, MHPCC
    1111*
    12 *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-12-09 21:30:43 $
     12*  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-03 00:54:10 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2828#include "psCollectionsErrors.h"
    2929
    30 static void vectorFree(psVector* restrict psVec);
    31 
    32 
    33 static void vectorFree(psVector* restrict psVec)
     30static void vectorFree(psVector* psVec);
     31
     32
     33static void vectorFree(psVector* psVec)
    3434{
    3535    if (psVec == NULL) {
     
    6464}
    6565
    66 psVector* psVectorRealloc(psVector* restrict in, psU32 nalloc)
     66psVector* psVectorRealloc(psVector* in, psU32 nalloc)
    6767{
    6868    psS32 elementSize = 0;
     
    8787}
    8888
    89 psVector* psVectorRecycle(psVector* restrict in, psU32 n, psElemType type)
     89psVector* psVectorRecycle(psVector* in, psU32 n, psElemType type)
    9090{
    9191    psS32 byteSize;
     
    218218}
    219219
    220 psVector* psVectorSort(psVector* restrict outVector, const psVector* restrict inVector)
     220psVector* psVectorSort(psVector* outVector, const psVector* inVector)
    221221{
    222222    psS32 N = 0;
     
    302302}
    303303
    304 psVector* psVectorSortIndex(psVector* restrict outVector, const psVector* restrict inVector)
     304psVector* psVectorSortIndex(psVector* outVector, const psVector* inVector)
    305305{
    306306    psS32 N = 0;
  • trunk/psLib/src/mathtypes/psVector.h

    r3025 r3115  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-01-17 20:58:21 $
     13 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-02-03 00:54:10 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8484 */
    8585psVector* psVectorRealloc(
    86     psVector* restrict psVec,          ///< Vector to reallocate.
    87     psU32 nalloc                ///< Total number of elements to make available.
     86    psVector* psVec,                   ///< Vector to reallocate.
     87    psU32 nalloc                       ///< Total number of elements to make available.
    8888);
    8989
     
    9898 */
    9999psVector* psVectorRecycle(
    100     psVector* restrict psVec,
     100    psVector* psVec,
    101101    ///< Vector to recycle.  If NULL, a new vector is created.  No effort
    102102    ///< taken to preserve the values.
    103103
    104     psU32 nalloc,               ///< Total number of elements to make available.
     104    psU32 nalloc,                      ///< Total number of elements to make available.
    105105    psElemType type                    ///< the datatype of the returned vector
    106106);
     
    128128 */
    129129psVector* psVectorSort(
    130     psVector* restrict outVector,      ///< the output vector to recycle, or NULL if new vector desired.
    131     const psVector* restrict inVector  ///< the vector to sort.
     130    psVector* outVector,               ///< the output vector to recycle, or NULL if new vector desired.
     131    const psVector* inVector           ///< the vector to sort.
    132132);
    133133
     
    140140 */
    141141psVector* psVectorSortIndex(
    142     psVector* restrict outVector,      ///< vector to recycle
    143     const psVector* restrict inVector  ///< vector to sort
     142    psVector* outVector,               ///< vector to recycle
     143    const psVector* inVector           ///< vector to sort
    144144);
    145145
Note: See TracChangeset for help on using the changeset viewer.