Changeset 15492 for trunk/psLib/src/imageops/psImageStructManip.c
- Timestamp:
- Nov 7, 2007, 3:09:49 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStructManip.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStructManip.c
r15456 r15492 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 19$ $Name: not supported by cvs2svn $11 * @date $Date: 2007-11-0 5 23:56:33$10 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2007-11-08 01:09:48 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 161 161 psRegion region = {0, 0, 0, 0}; 162 162 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); 165 165 return result; 166 166 } 167 167 168 psImage* psImageCopy(psImage* output, 169 const psImage* input, 170 psElemType type) 168 psImage* p_psImageCopy(const char *file, unsigned int lineno, const char *func, 169 psImage* output, const psImage* input, psElemType type) 171 170 { 172 171 psElemType inDatatype; … … 203 202 elementSize = PSELEMTYPE_SIZEOF(inDatatype); 204 203 205 output = p sImageRecycle(output, numCols, numRows, type);204 output = p_psImageRecycle(file, lineno, func, output, numCols, numRows, type); 206 205 P_PSIMAGE_SET_COL0(output, input->col0); 207 206 P_PSIMAGE_SET_ROW0(output, input->row0);
Note:
See TracChangeset
for help on using the changeset viewer.
