IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2007, 3:09:49 PM (19 years ago)
Author:
Paul Price
Message:

Adding memory instrumentation for psImageCopy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageStructManip.c

    r15456 r15492  
    88 *  @author Robert DeSonia, MHPCC
    99 *
    10  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2007-11-05 23:56:33 $
     10 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2007-11-08 01:09:48 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    161161    psRegion region = {0, 0, 0, 0};
    162162    region = psRegionForImage (input, region);
    163     psImage *result = imageSubset (__FILE__, __LINE__, __func__, output, input,
    164                                    region.x0, region.y0, region.x1, region.y1);
     163    psImage *result = imageSubset(__FILE__, __LINE__, __func__, output, input,
     164                                  region.x0, region.y0, region.x1, region.y1);
    165165    return result;
    166166}
    167167
    168 psImage* psImageCopy(psImage* output,
    169                      const psImage* input,
    170                      psElemType type)
     168psImage* p_psImageCopy(const char *file, unsigned int lineno, const char *func,
     169                       psImage* output, const psImage* input, psElemType type)
    171170{
    172171    psElemType inDatatype;
     
    203202    elementSize = PSELEMTYPE_SIZEOF(inDatatype);
    204203
    205     output = psImageRecycle(output, numCols, numRows, type);
     204    output = p_psImageRecycle(file, lineno, func, output, numCols, numRows, type);
    206205    P_PSIMAGE_SET_COL0(output, input->col0);
    207206    P_PSIMAGE_SET_ROW0(output, input->row0);
Note: See TracChangeset for help on using the changeset viewer.