Changeset 2819
- Timestamp:
- Dec 23, 2004, 4:39:17 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/pmReadoutCombine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/pmReadoutCombine.c
r2817 r2819 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-12-24 02: 05:57 $7 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2004-12-24 02:39:17 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 267 267 268 268 // XXX: Is this correct? 269 // We scale the pixels by the scale vector, if not-NULL. 270 if (scale != NULL) { 271 for (int r = 0; r < numInputs ; r++) { 272 tmpPixels->data.F32[r]*= scale->data.F32[r]; 273 } 274 } 275 276 // XXX: Is this correct? 269 277 // We add the zero vector, if non-NULL. 270 278 if (zero != NULL) { 271 279 for (int r = 0; r < numInputs ; r++) { 272 280 tmpPixels->data.F32[r]+= zero->data.F32[r]; 273 }274 }275 276 // XXX: Is this correct?277 // We scale the pixels by the scale vector, if not-NULL.278 if (scale != NULL) {279 for (int r = 0; r < numInputs ; r++) {280 tmpPixels->data.F32[r]*= scale->data.F32[r];281 281 } 282 282 }
Note:
See TracChangeset
for help on using the changeset viewer.
