IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27413


Ignore:
Timestamp:
Mar 23, 2010, 3:01:20 PM (16 years ago)
Author:
Paul Price
Message:

Add option to turn quantisation fuzz off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_stack/psModules/src/camera/pmFPAfileDefine.c

    r27409 r27413  
    313313        }
    314314
     315        psMetadataItem *fuzz = psMetadataLookup(scheme, "FUZZ"); // Quantisation fuzz?
     316        if (fuzz) {
     317            if (fuzz->type != PS_TYPE_BOOL) {
     318                psWarning("FUZZ in compression scheme %s isn't boolean.", fitsType);
     319                goto FITS_OPTIONS_DONE;
     320            }
     321            options->fuzz = fuzz->data.B;
     322        }
     323
    315324        // Compression options
    316325        const char *compressString = psMetadataLookupStr(&mdok, scheme, "COMPRESSION"); // Compression type
Note: See TracChangeset for help on using the changeset viewer.