Changeset 7441
- Timestamp:
- Jun 8, 2006, 12:08:03 PM (20 years ago)
- Location:
- trunk/psModules/src/concepts
- Files:
-
- 3 edited
-
pmConcepts.c (modified) (4 diffs)
-
pmConceptsStandard.c (modified) (3 diffs)
-
pmConceptsStandard.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConcepts.c
r7439 r7441 407 407 { 408 408 psMetadataItem *chipX0 = psMetadataItemAllocF32("CHIP.X0", "Position of (0,0) on the FPA", NAN); 409 pmConceptRegister(chipX0, NULL, NULL, PM_FPA_LEVEL_CHIP); 409 pmConceptRegister(chipX0, (pmConceptParseFunc)p_pmConceptParse_Positions, 410 (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CHIP); 410 411 psFree(chipX0); 411 412 } … … 414 415 { 415 416 psMetadataItem *chipY0 = psMetadataItemAllocF32("CHIP.Y0", "Position of (0,0) on the FPA", NAN); 416 pmConceptRegister(chipY0, NULL, NULL, PM_FPA_LEVEL_CHIP); 417 pmConceptRegister(chipY0, (pmConceptParseFunc)p_pmConceptParse_Positions, 418 (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CHIP); 417 419 psFree(chipY0); 418 420 } … … 567 569 { 568 570 psMetadataItem *cellX0 = psMetadataItemAllocS32("CELL.X0", "Position of (0,0) on the chip", 0); 569 pmConceptRegister(cellX0, (pmConceptParseFunc)p_pmConceptParse_ CELL_Positions,570 (pmConceptFormatFunc)p_pmConceptFormat_ CELL_Positions, PM_FPA_LEVEL_CELL);571 pmConceptRegister(cellX0, (pmConceptParseFunc)p_pmConceptParse_Positions, 572 (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CELL); 571 573 psFree(cellX0); 572 574 } … … 575 577 { 576 578 psMetadataItem *cellY0 = psMetadataItemAllocS32("CELL.Y0", "Position of (0,0) on the chip", 0); 577 pmConceptRegister(cellY0, (pmConceptParseFunc)p_pmConceptParse_ CELL_Positions,578 (pmConceptFormatFunc)p_pmConceptFormat_ CELL_Positions, PM_FPA_LEVEL_CELL);579 pmConceptRegister(cellY0, (pmConceptParseFunc)p_pmConceptParse_Positions, 580 (pmConceptFormatFunc)p_pmConceptFormat_Positions, PM_FPA_LEVEL_CELL); 579 581 psFree(cellY0); 580 582 } -
trunk/psModules/src/concepts/pmConceptsStandard.c
r7411 r7441 520 520 } 521 521 522 psMetadataItem *p_pmConceptParse_ CELL_Positions(psMetadataItem *concept,522 psMetadataItem *p_pmConceptParse_Positions(psMetadataItem *concept, 523 523 psMetadataItem *pattern, 524 524 psMetadata *cameraFormat, … … 530 530 assert(cameraFormat); 531 531 532 int offset = 0; // Offset of c ell (0,0) corner from the chip(0,0) corner532 int offset = 0; // Offset of component (0,0) corner from the parent (0,0) corner 533 533 534 534 switch (concept->type) { … … 782 782 } 783 783 784 psMetadataItem *p_pmConceptFormat_ CELL_Positions(psMetadataItem *concept,784 psMetadataItem *p_pmConceptFormat_Positions(psMetadataItem *concept, 785 785 psMetadata *cameraFormat, 786 786 pmFPA *fpa, -
trunk/psModules/src/concepts/pmConceptsStandard.h
r7278 r7441 48 48 pmChip *chip, 49 49 pmCell *cell); 50 psMetadataItem *p_pmConceptParse_ CELL_Positions(psMetadataItem *concept,50 psMetadataItem *p_pmConceptParse_Positions(psMetadataItem *concept, 51 51 psMetadataItem *pattern, 52 52 psMetadata *cameraFormat, … … 84 84 pmChip *chip, 85 85 pmCell *cell); 86 psMetadataItem *p_pmConceptFormat_ CELL_Positions(psMetadataItem *concept,86 psMetadataItem *p_pmConceptFormat_Positions(psMetadataItem *concept, 87 87 psMetadata *cameraFormat, 88 88 pmFPA *fpa,
Note:
See TracChangeset
for help on using the changeset viewer.
