Changeset 16163
- Timestamp:
- Jan 18, 2008, 5:34:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080117/psModules/src/camera/pmFPAfileDefine.c
r16153 r16163 316 316 tile->data.S32[2] = parseOptionInt(scheme, "TILE.Z", source, 1); // Tiling in z 317 317 int noise = parseOptionInt(scheme, "NOISE", source, 16); // Noise bits 318 int hscale = parseOptionInt(scheme, "HSCALE", source, 0); // Scaling for HCOMPRESS 319 int hsmooth = parseOptionInt(scheme, "HSMOOTH", source, 0); // Smoothing for HCOMPRESS 320 psFree(source); 318 int hscale = 0, hsmooth = 0;// Scaling and smoothing for HCOMPRESS 319 if (type == PS_FITS_COMPRESS_HCOMPRESS) { 320 hscale = parseOptionInt(scheme, "HSCALE", source, 0); 321 hsmooth = parseOptionInt(scheme, "HSMOOTH", source, 0); 322 } 321 323 322 324 file->compression = psFitsCompressionAlloc(type, tile, noise, hscale, hsmooth); 323 325 psFree(tile); 324 326 } 327 328 psFree(source); 325 329 } 326 330 FITS_OPTIONS_DONE:
Note:
See TracChangeset
for help on using the changeset viewer.
