IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 23, 2004, 4:39:17 PM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmReadoutCombine.c

    r2817 r2819  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.14 $ $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 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    267267
    268268            // 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?
    269277            // We add the zero vector, if non-NULL.
    270278            if (zero != NULL) {
    271279                for (int r = 0; r < numInputs ; r++) {
    272280                    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];
    281281                }
    282282            }
Note: See TracChangeset for help on using the changeset viewer.