Changeset 30049 for trunk/psModules
- Timestamp:
- Dec 15, 2010, 1:29:28 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
psModules/src/concepts/pmConcepts.c (modified) (2 diffs)
-
psModules/src/concepts/pmConceptsStandard.c (modified) (1 diff)
-
psModules/src/concepts/pmConceptsStandard.h (modified) (1 diff)
-
psModules/src/objects (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/czw_branch/20101203 (added) merged: 29907-29909,29965,29982,30014,30017-30018,30047-30048
- Property svn:mergeinfo changed
-
trunk/psModules/src/concepts/pmConcepts.c
r28552 r30049 249 249 CONCEPT_REGISTER_FUNCTION(S32, Enum, -1); // For enums: set default to -1 250 250 CONCEPT_REGISTER_FUNCTION(S32, S32, 0); // For values: set default to 0 251 //CONCEPT_REGISTER_FUNCTION(Bool, Bool, NULL); // For values: set default to 0251 CONCEPT_REGISTER_FUNCTION(Bool, Bool, NULL); // For values: set default to 0 252 252 253 253 static void conceptRegisterTime(const char *name, /* Name of concept */ \ … … 353 353 conceptRegisterStr("CHIP.ID", "Chip identifier", NULL, NULL, NULL, false, PM_FPA_LEVEL_CHIP); 354 354 conceptRegisterF32("CHIP.SEEING", "Seeing FWHM (pixels)", NULL, NULL, NULL, false, PM_FPA_LEVEL_CHIP); 355 conceptRegisterBool("CHIP.VIDEOCELL", "Does this OTA have any video cells", p_pmConceptParse_VideoCell,NULL,NULL,false,PM_FPA_LEVEL_CHIP); 355 356 } 356 357 -
trunk/psModules/src/concepts/pmConceptsStandard.c
r28690 r30049 737 737 return psMetadataItemAllocS32(pattern->name, pattern->comment, binning); 738 738 } 739 740 // VIDEOCELLS 741 psMetadataItem *p_pmConceptParse_VideoCell(const psMetadataItem *concept, 742 const psMetadataItem *pattern, 743 pmConceptSource source, 744 const psMetadata *cameraFormat, 745 const pmFPA *fpa, 746 const pmChip *chip, 747 const pmCell *cell) 748 { 749 assert(concept); 750 assert(pattern); 751 bool has_video_cell = false; 752 753 if (concept->type != PS_DATA_STRING) { 754 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Type for %s (%x) is not string\n", 755 concept->name, concept->type); 756 return NULL; 757 } 758 759 char *Vptr = strchr(concept->data.V,'V'); 760 if (Vptr) { 761 has_video_cell = true; 762 } 763 764 return psMetadataItemAllocBool(pattern->name, pattern->comment, has_video_cell); 765 } 766 767 739 768 740 769 // BTOOLAPP -
trunk/psModules/src/concepts/pmConceptsStandard.h
r25930 r30049 136 136 ); 137 137 138 // Parse the CHIP.VIDEOCELL concept 139 psMetadataItem *p_pmConceptParse_VideoCell( 140 const psMetadataItem *concept, ///< Concept to parse 141 const psMetadataItem *pattern, ///< Pattern to use in parsing 142 pmConceptSource source, ///< Source for concept 143 const psMetadata *cameraFormat, ///< Camera format definition 144 const pmFPA *fpa, ///< FPA for concept, or NULL 145 const pmChip *chip, ///< Chip for concept, or NULL 146 const pmCell *cell ///< Cell for concept, or NULL 147 ); 148 138 149 /// Format for the BTOOLAPP conceptn 139 150 psMetadataItem *p_pmConceptParse_BTOOLAPP( -
trunk/psModules/src/objects
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.
