Changeset 7524 for trunk/psLib/src/imageops/psImageStructManip.c
- Timestamp:
- Jun 12, 2006, 10:44:04 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStructManip.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStructManip.c
r7057 r7524 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 5-04 00:37:44 $10 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-06-12 20:44:04 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 109 109 110 110 out->data.V = psRealloc(out->data.V,sizeof(psPtr)*numRows); // resize row pointer array 111 *(psMathType*)&out->type = image->type; 112 // *(psU32*)&out->numCols = numCols; 113 // *(psU32*)&out->numRows = numRows; 114 *(psS32*)&out->numCols = numCols; 115 *(psS32*)&out->numRows = numRows; 116 *(psS32*)&out->row0 = row0; 117 *(psS32*)&out->col0 = col0; 111 P_PSIMAGE_SET_TYPE(out, image->type); 112 P_PSIMAGE_SET_NUMCOLS(out, numCols); 113 P_PSIMAGE_SET_NUMROWS(out, numRows); 114 115 out->row0 = row0; 116 out->col0 = col0; 118 117 out->parent = image; 119 118 out->children = NULL; … … 356 355 } 357 356 358 *(psU32*)&image->numRows = numRows;359 *(psU32*)&image->numCols = numCols;357 P_PSIMAGE_SET_NUMCOLS(image, numCols); 358 P_PSIMAGE_SET_NUMROWS(image, numRows); 360 359 361 360 // XXX: should I really resize the buffers?
Note:
See TracChangeset
for help on using the changeset viewer.
