Changeset 7717 for trunk/psModules/src/camera/pmFPAConstruct.c
- Timestamp:
- Jun 27, 2006, 7:12:19 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAConstruct.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAConstruct.c
r7643 r7717 522 522 // Case 1: PHU=FPA and EXTENSIONS=NONE. We need to parse the single list of chip:cell:cellType entries. 523 523 if (strcasecmp(phuType, "FPA") == 0 && strcasecmp(extType, "NONE") == 0) { 524 phdu->blankPHU = false; 524 525 const char *contents = psMetadataLookupStr(&mdok, format, "CONTENTS"); // The contents of the file 525 526 if (!mdok || !contents || strlen(contents) == 0) { … … 529 530 return NULL; 530 531 } 531 532 532 if (processContents(fpa, NULL, NULL, phdu, PM_FPA_LEVEL_FPA, contents, format) < 0) { 533 533 psError(PS_ERR_IO, false, "Error setting CONTENTS"); … … 563 563 // chip/cell directly from that. 564 564 if (strcasecmp(extType, "NONE") == 0) { 565 phdu->blankPHU = false; 565 566 pmChip *chip = NULL; // The chip of interest 566 567 pmCell *cell = NULL; // The cell of interest … … 650 651 // Case 3: EXTENSIONS=CHIP or EXTENSIONS=CELL. We have extensions that we iterate through. The CONTENTS 651 652 // is a list of extensions. 653 phdu->blankPHU = true; 652 654 pmChip *chip = NULL; // The chip of interest 653 655 pmCell *cell = NULL; // The cell of interest
Note:
See TracChangeset
for help on using the changeset viewer.
