Changeset 15974 for trunk/psModules/src/camera/pmReadoutStack.c
- Timestamp:
- Jan 2, 2008, 10:34:24 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmReadoutStack.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmReadoutStack.c
r13872 r15974 8 8 9 9 10 bool pmReadoutUpdateSize(pmReadout *readout, int minCols, int minRows, int numCols, int numRows, bool mask) 10 bool pmReadoutUpdateSize(pmReadout *readout, int minCols, int minRows, 11 int numCols, int numRows, bool mask) 11 12 { 12 13 PS_ASSERT_PTR_NON_NULL(readout, false); … … 20 21 } 21 22 22 // (re -)Allocate the images23 // (reAllocate the images 23 24 if (!readout->image) { 24 25 readout->image = psImageAlloc(numCols, numRows, PS_TYPE_F32); … … 50 51 51 52 bool pmReadoutStackValidate(int *minInputColsPtr, int *maxInputColsPtr, int *minInputRowsPtr, 52 int *maxInputRowsPtr, int *numColsPtr, int *numRowsPtr, const psArray *inputs) 53 int *maxInputRowsPtr, int *numColsPtr, int *numRowsPtr, 54 const psArray *inputs) 53 55 { 54 56 PS_ASSERT_ARRAY_NON_NULL(inputs, false); 57 PS_ASSERT_PTR_NON_NULL(minInputColsPtr, false); 58 PS_ASSERT_PTR_NON_NULL(maxInputColsPtr, false); 59 PS_ASSERT_PTR_NON_NULL(minInputRowsPtr, false); 60 PS_ASSERT_PTR_NON_NULL(maxInputRowsPtr, false); 61 PS_ASSERT_PTR_NON_NULL(numColsPtr, false); 62 PS_ASSERT_PTR_NON_NULL(numRowsPtr, false); 55 63 56 64 // Step through each readout in the input image list to determine how big of an output image is needed to
Note:
See TracChangeset
for help on using the changeset viewer.
