Changeset 9594 for trunk/psModules/src/camera/pmFPAMaskWeight.c
- Timestamp:
- Oct 16, 2006, 4:21:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.c
r8815 r9594 94 94 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// 95 95 96 bool pmReadoutSetMask(pmReadout *readout// Readout for which to set mask 97 ) 96 bool pmReadoutSetMask(pmReadout *readout) 98 97 { 99 98 PS_ASSERT_PTR_NON_NULL(readout, false); … … 143 142 } 144 143 145 bool pmReadoutGenerateMask(pmReadout *readout // Readout for which to generate mask 146 ) 144 bool pmReadoutGenerateMask(pmReadout *readout) 147 145 { 148 146 PS_ASSERT_PTR_NON_NULL(readout, false); … … 190 188 } 191 189 192 bool pmReadoutSetWeight(pmReadout *readout // Readout for which to set weight 193 ) 190 bool pmReadoutSetWeight(pmReadout *readout) 194 191 { 195 192 PS_ASSERT_PTR_NON_NULL(readout, false); … … 219 216 } 220 217 221 bool pmReadoutGenerateWeight(pmReadout *readout // Readout for which to generate weight 222 ) 218 bool pmReadoutGenerateWeight(pmReadout *readout) 223 219 { 224 220 PS_ASSERT_PTR_NON_NULL(readout, false); … … 266 262 } 267 263 268 bool pmCellGenerateMaskWeight(pmCell *cell // Cell for which to set weights 269 ) 264 bool pmReadoutGenerateMaskWeight(pmReadout *readout) 265 { 266 PS_ASSERT_PTR_NON_NULL(readout, false); 267 268 bool success = true; // Was everything successful? 269 270 success |= pmReadoutGenerateMask(readout); 271 success |= pmReadoutGenerateWeight(readout); 272 273 return success; 274 } 275 276 bool pmCellGenerateMaskWeight(pmCell *cell) 270 277 { 271 278 PS_ASSERT_PTR_NON_NULL(cell, false); … … 275 282 for (int i = 0; i < readouts->n; i++) { 276 283 pmReadout *readout = readouts->data[i]; // The readout 277 success |= pmReadoutGenerateMask(readout); 278 success |= pmReadoutGenerateWeight(readout); 284 pmReadoutGenerateMaskWeight(readout); 279 285 } 280 286 … … 282 288 } 283 289 284 bool pmReadoutGenerateMaskWeight(pmReadout *readout // Readout for which to set mask and weights285 )286 {287 PS_ASSERT_PTR_NON_NULL(readout, false);288 289 bool success = true; // Was everything successful?290 291 success |= pmReadoutGenerateMask(readout);292 success |= pmReadoutGenerateWeight(readout);293 294 return success;295 }
Note:
See TracChangeset
for help on using the changeset viewer.
