Changeset 19189 for trunk/psModules/src/camera/pmFPAfile.c
- Timestamp:
- Aug 25, 2008, 12:14:04 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfile.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfile.c
r19007 r19189 440 440 PS_ASSERT_STRING_NON_EMPTY(type, PM_FPA_FILE_NONE); 441 441 442 if (!strcasecmp (type, "SX")) {442 if (!strcasecmp(type, "SX")) { 443 443 return PM_FPA_FILE_SX; 444 444 } 445 if (!strcasecmp (type, "OBJ")) {445 if (!strcasecmp(type, "OBJ")) { 446 446 return PM_FPA_FILE_OBJ; 447 447 } 448 if (!strcasecmp (type, "CMP")) {448 if (!strcasecmp(type, "CMP")) { 449 449 return PM_FPA_FILE_CMP; 450 450 } 451 if (!strcasecmp (type, "CMF")) {451 if (!strcasecmp(type, "CMF")) { 452 452 return PM_FPA_FILE_CMF; 453 453 } 454 if (!strcasecmp (type, "RAW")) {454 if (!strcasecmp(type, "RAW")) { 455 455 return PM_FPA_FILE_RAW; 456 456 } 457 if (!strcasecmp (type, "IMAGE")) {457 if (!strcasecmp(type, "IMAGE")) { 458 458 return PM_FPA_FILE_IMAGE; 459 459 } 460 if (!strcasecmp (type, "PSF")) {460 if (!strcasecmp(type, "PSF")) { 461 461 return PM_FPA_FILE_PSF; 462 462 } 463 if (!strcasecmp (type, "JPEG")) {463 if (!strcasecmp(type, "JPEG")) { 464 464 return PM_FPA_FILE_JPEG; 465 465 } 466 if (!strcasecmp (type, "KAPA")) {466 if (!strcasecmp(type, "KAPA")) { 467 467 return PM_FPA_FILE_KAPA; 468 468 } 469 if (!strcasecmp (type, "MASK")) {469 if (!strcasecmp(type, "MASK")) { 470 470 return PM_FPA_FILE_MASK; 471 471 } 472 if (!strcasecmp (type, "WEIGHT")) {472 if (!strcasecmp(type, "WEIGHT")) { 473 473 return PM_FPA_FILE_WEIGHT; 474 474 } 475 if (!strcasecmp (type, "FRINGE")) {475 if (!strcasecmp(type, "FRINGE")) { 476 476 return PM_FPA_FILE_FRINGE; 477 477 } 478 if (!strcasecmp (type, "DARK")) {478 if (!strcasecmp(type, "DARK")) { 479 479 return PM_FPA_FILE_DARK; 480 480 } 481 if (!strcasecmp (type, "HEADER")) {481 if (!strcasecmp(type, "HEADER")) { 482 482 return PM_FPA_FILE_HEADER; 483 483 } 484 484 // deprecate this? 485 if (!strcasecmp (type, "ASTROM")) {485 if (!strcasecmp(type, "ASTROM")) { 486 486 return PM_FPA_FILE_ASTROM_MODEL; 487 487 } 488 if (!strcasecmp (type, "ASTROM.MODEL")) {488 if (!strcasecmp(type, "ASTROM.MODEL")) { 489 489 return PM_FPA_FILE_ASTROM_MODEL; 490 490 } 491 if (!strcasecmp (type, "ASTROM.REFSTARS")) {491 if (!strcasecmp(type, "ASTROM.REFSTARS")) { 492 492 return PM_FPA_FILE_ASTROM_REFSTARS; 493 } 494 if (!strcasecmp(type, "SUBKERNEL")) { 495 return PM_FPA_FILE_SUBKERNEL; 493 496 } 494 497 … … 531 534 case PM_FPA_FILE_ASTROM_REFSTARS: 532 535 return ("ASTROM.REFSTARS"); 536 case PM_FPA_FILE_SUBKERNEL: 537 return ("SUBKERNEL"); 533 538 default: 534 539 return ("NONE");
Note:
See TracChangeset
for help on using the changeset viewer.
