IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28272


Ignore:
Timestamp:
Jun 9, 2010, 1:00:14 PM (16 years ago)
Author:
Paul Price
Message:

Move private definition from header into implementation.

Location:
trunk/psModules/src/config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigMask.c

    r25828 r28272  
    88
    99#include "pmConfigMask.h"
     10
     11// Structure to hold the properties of a mask value
     12typedef struct {
     13    char *badMaskName;                  // name for "bad" (i.e., mask me please) pixels
     14    char *fallbackName;                 // Fallback name in case a bad mask name is not defined
     15    psImageMaskType defaultMaskValue;   // Default value in case a bad mask name and its fallback are not defined
     16    bool isBad; // include this value as part of the MASK.VALUE entry (generically bad)
     17} pmConfigMaskInfo;
    1018
    1119static pmConfigMaskInfo masks[] = {
  • trunk/psModules/src/config/pmConfigMask.h

    r21183 r28272  
    2020/// @{
    2121
    22 // structure to hold the properties of a mask value
    23 typedef struct {
    24     char *badMaskName;                  // name for "bad" (i.e., mask me please) pixels
    25     char *fallbackName;                 // Fallback name in case a bad mask name is not defined
    26     psImageMaskType defaultMaskValue;   // Default value in case a bad mask name and its fallback are not defined
    27     bool isBad; // include this value as part of the MASK.VALUE entry (generically bad)
    28 } pmConfigMaskInfo;
    29 
    3022// pmConfigMaskSetInMetadata examines named mask values and set the bits for maskValue and
    3123// markValue.  Ensures that the below-named mask values are set, and calculates the mask value
     
    3325// name is not found, or the default values if the fallback name is not found.
    3426bool pmConfigMaskSetInMetadata(psImageMaskType *outMaskValue, // Value of MASK.VALUE, returned
    35                                psImageMaskType *outMarkValue, // Value of MARK.VALUE, returned
    36                                psMetadata *source  // Source of mask bits
     27                               psImageMaskType *outMarkValue, // Value of MARK.VALUE, returned
     28                               psMetadata *source  // Source of mask bits
    3729  );
    3830
     
    4032// Get a mask value by name(s)
    4133psImageMaskType pmConfigMaskGetFromMetadata(psMetadata *source, // Source of masks
    42                                             const char *masks // Mask values to get
     34                                            const char *masks // Mask values to get
    4335  );
    4436
    4537
    46 // lookup an image mask value by name from a psMetadata, without requiring the entry to 
     38// lookup an image mask value by name from a psMetadata, without requiring the entry to
    4739// be of type psImageMaskType, but verifying that it will fit in psImageMaskType
    4840psImageMaskType psMetadataLookupImageMaskFromGeneric (bool *status, const psMetadata *md, const char *name);
     
    5042// Remove from the header keywords starting with the provided string
    5143int pmConfigMaskRemoveHeaderKeywords(psMetadata *header, // Header from which to remove keywords
    52                                      const char *start // Remove keywords that start with this string
     44                                     const char *start // Remove keywords that start with this string
    5345  );
    5446
Note: See TracChangeset for help on using the changeset viewer.