19#define FPACK_VERSION "1.7.0 (Dec 2013)"
84#define FP_INIT_MAGIC 42
91#define DEF_HCOMP_SCALE 0.
92#define DEF_HCOMP_SMOOTH 0
93#define DEF_RESCALE_NOISE 0
102 float quantize_level;
112 long ntile[MAX_COMPRESS_DIM];
127 char extname[SZ_STR];
129 char outfile[SZ_STR];
133 int preflight_checked;
153int fp_get_param (
int argc,
char *argv[], fpstate *fpptr);
154void abort_fpack(
int sig);
155void fp_abort_output (fitsfile *infptr, fitsfile *outfptr,
int stat);
159int fp_init (fpstate *fpptr);
160int fp_list (
int argc,
char *argv[], fpstate fpvar);
161int fp_info (
char *infits);
162int fp_info_hdu (fitsfile *infptr);
163int fp_preflight (
int argc,
char *argv[],
int unpack, fpstate *fpptr);
164int fp_loop (
int argc,
char *argv[],
int unpack,
char *output_filename, fpstate fpvar);
168int fp_pack (
char *infits,
char *outfits, fpstate fpvar,
int *islossless);
178int fp_pack_fits_to_fits (fitsfile *infptr, fitsfile **outfits, fpstate fpvar,
int *islossless);
183int fp_unpack (
char *infits,
char *outfits, fpstate fpvar);
185int fp_unpack_file_to_fits (
char *infits, fitsfile **outfits, fpstate fpvar);
189int fp_unpack_data_to_data (
const char *inputBuffer,
size_t inputBufferSize,
unsigned char **outputBuffer,
190 size_t *outputBufferSize, fpstate fpvar);
192int fp_test (
char *infits,
char *outfits,
char *outfits2, fpstate fpvar);
193int fp_pack_hdu (fitsfile *infptr, fitsfile *outfptr, fpstate fpvar,
194 int *islossless,
int *status);
195int fp_unpack_hdu (fitsfile *infptr, fitsfile *outfptr, fpstate fpvar,
int *status);
196int fits_read_image_speed (fitsfile *infptr,
float *whole_elapse,
197 float *whole_cpu,
float *row_elapse,
float *row_cpu,
int *status);
198int fp_test_hdu (fitsfile *infptr, fitsfile *outfptr, fitsfile *outfptr2,
199 fpstate fpvar,
int *status);
200int fp_test_table (fitsfile *infptr, fitsfile *outfptr, fitsfile *outfptr2,
201 fpstate fpvar,
int *status);
202int marktime(
int *status);
203int gettime(
float *elapse,
float *elapscpu,
int *status);
204int fits_read_image_speed (fitsfile *infptr,
float *whole_elapse,
205 float *whole_cpu,
float *row_elapse,
float *row_cpu,
int *status);
207int fp_i2stat(fitsfile *infptr,
int naxis,
long *naxes, imgstats *imagestats,
int *status);
208int fp_i4stat(fitsfile *infptr,
int naxis,
long *naxes, imgstats *imagestats,
int *status);
209int fp_r4stat(fitsfile *infptr,
int naxis,
long *naxes, imgstats *imagestats,
int *status);
210int fp_i2rescale(fitsfile *infptr,
int naxis,
long *naxes,
double rescale,
211 fitsfile *outfptr,
int *status);
212int fp_i4rescale(fitsfile *infptr,
int naxis,
long *naxes,
double rescale,
213 fitsfile *outfptr,
int *status);
215#define fp_msg(msg) _fp_msg((const char *)msg)
216int _fp_msg (
const char *msg);
217int fp_version (
void);
220int fu_get_param (
int argc,
char *argv[], fpstate *fpptr);