IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 2, 2008, 10:34:24 AM (18 years ago)
Author:
gusciora
Message:

Added some PS_ASSERTS and a few cosmetic changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmReadoutStack.c

    r13872 r15974  
    88
    99
    10 bool pmReadoutUpdateSize(pmReadout *readout, int minCols, int minRows, int numCols, int numRows, bool mask)
     10bool pmReadoutUpdateSize(pmReadout *readout, int minCols, int minRows,
     11                         int numCols, int numRows, bool mask)
    1112{
    1213    PS_ASSERT_PTR_NON_NULL(readout, false);
     
    2021    }
    2122
    22     // (re-)Allocate the images
     23    // (reAllocate the images
    2324    if (!readout->image) {
    2425        readout->image = psImageAlloc(numCols, numRows, PS_TYPE_F32);
     
    5051
    5152bool 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)
    5355{
    5456    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);
    5563
    5664    // 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.