Changeset 28346 for trunk/ppArith/src/ppArithReadout.c
- Timestamp:
- Jun 15, 2010, 4:26:53 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppArith/src/ppArithReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppArith/src/ppArithReadout.c
r21378 r28346 21 21 #include "ppArith.h" 22 22 23 bool ppArithReadout(pmReadout *output, const pmReadout *input1, const pmReadout *input2, 23 bool ppArithReadout(pmReadout *output, const pmReadout *input1, const pmReadout *input2, float const2, 24 24 const pmConfig *config, const pmFPAview *view) 25 25 { … … 77 77 if (input2) { 78 78 psBinaryOp(outImage, inImage1, op, inImage2); 79 } else if (!isnan(const2)) { 80 psBinaryOp(outImage, inImage1, op, psScalarAlloc(const2, inImage1->type.type)); 79 81 } else { 80 82 psUnaryOp(outImage, inImage1, op);
Note:
See TracChangeset
for help on using the changeset viewer.
