Changeset 4493 for trunk/psLib/src/image
- Timestamp:
- Jul 6, 2005, 4:17:54 PM (21 years ago)
- Location:
- trunk/psLib/src/image
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImage.c
r4409 r4493 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.7 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 6-28 20:17:52$11 * @version $Revision: 1.73 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-07-07 02:17:53 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 91 91 } 92 92 93 psRegion psRegionSet( psF32x0,94 psF32x1,95 psF32y0,96 psF32y1)93 psRegion psRegionSet(float x0, 94 float x1, 95 float y0, 96 float y1) 97 97 { 98 98 psRegion out; -
trunk/psLib/src/image/psImage.h
r4409 r4493 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 59$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 6-28 20:17:52$13 * @version $Revision: 1.60 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-07-07 02:17:53 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 51 51 typedef struct psImage 52 52 { 53 const ps Type type; ///< Image data type and dimension.53 const psMathType type; ///< Image data type and dimension. 54 54 const psU32 numCols; ///< Number of columns in image 55 55 const psU32 numRows; ///< Number of rows in image. … … 87 87 typedef struct 88 88 { 89 psF32x0; ///< the first column of the region.90 psF32x1; ///< the last column of the region.91 psF32y0; ///< the first row of the region.92 psF32y1; ///< the last row of the region.89 float x0; ///< the first column of the region. 90 float x1; ///< the last column of the region. 91 float y0; ///< the first row of the region. 92 float y1; ///< the last row of the region. 93 93 } 94 94 psRegion; … … 113 113 */ 114 114 psRegion psRegionSet( 115 psF32x0, ///< the first column of the region.116 psF32x1, ///< the last column of the region + 1.117 psF32y0, ///< the first row of the region.118 psF32y1 ///< the last row of the region + 1.115 float x0, ///< the first column of the region. 116 float x1, ///< the last column of the region + 1. 117 float y0, ///< the first row of the region. 118 float y1 ///< the last row of the region + 1. 119 119 ); 120 120 … … 152 152 153 153 /** Copy an image to a new buffer 154 * 154 * 155 155 * @return True if image copied or false if error 156 156 */ -
trunk/psLib/src/image/psImageStructManip.c
r3977 r4493 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-0 5-19 05:18:20$10 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-07-07 02:17:53 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 94 94 95 95 out->data.V = psRealloc(out->data.V,sizeof(psPtr)*numRows); // resize row pointer array 96 *(ps Type*)&out->type = image->type;96 *(psMathType*)&out->type = image->type; 97 97 *(psU32*)&out->numCols = numCols; 98 98 *(psU32*)&out->numRows = numRows;
Note:
See TracChangeset
for help on using the changeset viewer.
