Changeset 5530 for trunk/psLib/src/imageops/psImagePixelExtract.c
- Timestamp:
- Nov 16, 2005, 1:07:10 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImagePixelExtract.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImagePixelExtract.c
r5511 r5530 8 8 * @author Robert DeSonia, MHPCC 9 9 * 10 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $11 * @date $Date: 2005-11-1 4 22:18:33$10 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2005-11-16 23:06:14 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 22 22 23 23 #include "psErrorText.h" 24 25 24 26 25 #define FUNC_MACRO_VECTOR_STORE_ROW(TYPE) \ … … 407 406 imgVec = psAlloc(sizeof(psVector)); 408 407 imgVec->type = input->type; 409 imgVec->n = *(int*)&imgVec->nalloc = numCols; 408 409 P_PSVECTOR_SET_NALLOC(imgVec,numCols); 410 imgVec->n = numCols; 410 411 if (mask != NULL) { 411 412 maskVec = psAlloc(sizeof(psVector)); 412 413 maskVec->type = mask->type; 413 maskVec->n = *(int*)&maskVec->nalloc = numCols; 414 P_PSVECTOR_SET_NALLOC(maskVec,numCols); 415 maskVec->n = numCols; 414 416 } 415 417 // recycle output to make a proper sized/type output structure
Note:
See TracChangeset
for help on using the changeset viewer.
