Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | fpstate |
struct | imgstats |
Macros | |
#define | FPACK_VERSION "1.7.0 (Dec 2013)" |
#define | FP_INIT_MAGIC 42 |
#define | FPACK 0 |
#define | FUNPACK 1 |
#define | DEF_QLEVEL 4. |
#define | DEF_HCOMP_SCALE 0. |
#define | DEF_HCOMP_SMOOTH 0 |
#define | DEF_RESCALE_NOISE 0 |
#define | SZ_STR 513 |
#define | SZ_CARD 81 |
#define | fp_msg(msg) _fp_msg((const char *)msg) |
Functions | |
int | fp_get_param (int argc, char *argv[], fpstate *fpptr) |
void | abort_fpack (int sig) |
void | fp_abort_output (fitsfile *infptr, fitsfile *outfptr, int stat) |
int | fp_usage (void) |
int | fp_help (void) |
int | fp_hint (void) |
int | fp_init (fpstate *fpptr) |
int | fp_list (int argc, char *argv[], fpstate fpvar) |
int | fp_info (char *infits) |
int | fp_info_hdu (fitsfile *infptr) |
int | fp_preflight (int argc, char *argv[], int unpack, fpstate *fpptr) |
int | fp_loop (int argc, char *argv[], int unpack, char *output_filename, fpstate fpvar) |
int | fp_pack (char *infits, char *outfits, fpstate fpvar, int *islossless) |
int | fp_pack_data_to_fits (const char *inputBuffer, size_t inputBufferSize, fitsfile **outfits, fpstate fpvar, int *islossless) |
int | fp_pack_data_to_data (const char *inputBuffer, size_t inputBufferSize, unsigned char **outputBuffer, size_t *outputBufferSize, fpstate fpvar, int *islossless) |
int | fp_pack_fits_to_fits (fitsfile *infptr, fitsfile **outfits, fpstate fpvar, int *islossless) |
int | fp_unpack (char *infits, char *outfits, fpstate fpvar) |
int | fp_unpack_file_to_fits (char *infits, fitsfile **outfits, fpstate fpvar) |
int | fp_unpack_data_to_fits (const char *inputBuffer, size_t inputBufferSize, fitsfile **outfptr, fpstate fpvar) |
int | fp_test (char *infits, char *outfits, char *outfits2, fpstate fpvar) |
int | fp_pack_hdu (fitsfile *infptr, fitsfile *outfptr, fpstate fpvar, int *islossless, int *status) |
int | fp_unpack_hdu (fitsfile *infptr, fitsfile *outfptr, fpstate fpvar, int *status) |
int | fits_read_image_speed (fitsfile *infptr, float *whole_elapse, float *whole_cpu, float *row_elapse, float *row_cpu, int *status) |
int | fp_test_hdu (fitsfile *infptr, fitsfile *outfptr, fitsfile *outfptr2, fpstate fpvar, int *status) |
int | fp_test_table (fitsfile *infptr, fitsfile *outfptr, fitsfile *outfptr2, fpstate fpvar, int *status) |
int | marktime (int *status) |
int | gettime (float *elapse, float *elapscpu, int *status) |
int | fp_i2stat (fitsfile *infptr, int naxis, long *naxes, imgstats *imagestats, int *status) |
int | fp_i4stat (fitsfile *infptr, int naxis, long *naxes, imgstats *imagestats, int *status) |
int | fp_r4stat (fitsfile *infptr, int naxis, long *naxes, imgstats *imagestats, int *status) |
int | fp_i2rescale (fitsfile *infptr, int naxis, long *naxes, double rescale, fitsfile *outfptr, int *status) |
int | fp_i4rescale (fitsfile *infptr, int naxis, long *naxes, double rescale, fitsfile *outfptr, int *status) |
int | _fp_msg (const char *msg) |
int | fp_version (void) |
int | fp_noop (void) |
int | fu_get_param (int argc, char *argv[], fpstate *fpptr) |
int | fu_usage (void) |
int | fu_hint (void) |
int | fu_help (void) |
void abort_fpack | ( | int | sig | ) |
Definition at line 2876 of file fpackutil.c.
int fits_read_image_speed | ( | fitsfile * | infptr, |
float * | whole_elapse, | ||
float * | whole_cpu, | ||
float * | row_elapse, | ||
float * | row_cpu, | ||
int * | status | ||
) |
Definition at line 2127 of file fpackutil.c.
void fp_abort_output | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
int | stat | ||
) |
Definition at line 63 of file fpackutil.c.
int fp_get_param | ( | int | argc, |
char * | argv[], | ||
fpstate * | fpptr | ||
) |
int fp_i2rescale | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
double | rescale, | ||
fitsfile * | outfptr, | ||
int * | status | ||
) |
Definition at line 2754 of file fpackutil.c.
int fp_i2stat | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
imgstats * | imagestats, | ||
int * | status | ||
) |
Definition at line 2516 of file fpackutil.c.
int fp_i4rescale | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
double | rescale, | ||
fitsfile * | outfptr, | ||
int * | status | ||
) |
Definition at line 2814 of file fpackutil.c.
int fp_i4stat | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
imgstats * | imagestats, | ||
int * | status | ||
) |
Definition at line 2597 of file fpackutil.c.
int fp_info | ( | char * | infits | ) |
int fp_info_hdu | ( | fitsfile * | infptr | ) |
Definition at line 264 of file fpackutil.c.
int fp_init | ( | fpstate * | fpptr | ) |
Definition at line 159 of file fpackutil.c.
int fp_list | ( | int | argc, |
char * | argv[], | ||
fpstate | fpvar | ||
) |
Definition at line 208 of file fpackutil.c.
int fp_loop | ( | int | argc, |
char * | argv[], | ||
int | unpack, | ||
char * | output_filename, | ||
fpstate | fpvar | ||
) |
Definition at line 577 of file fpackutil.c.
int fp_noop | ( | void | ) |
Definition at line 57 of file fpackutil.c.
int fp_pack | ( | char * | infits, |
char * | outfits, | ||
fpstate | fpvar, | ||
int * | islossless | ||
) |
Definition at line 891 of file fpackutil.c.
int fp_pack_data_to_data | ( | const char * | inputBuffer, |
size_t | inputBufferSize, | ||
unsigned char ** | outputBuffer, | ||
size_t * | outputBufferSize, | ||
fpstate | fpvar, | ||
int * | islossless | ||
) |
Definition at line 1031 of file fpackutil.c.
int fp_pack_data_to_fits | ( | const char * | inputBuffer, |
size_t | inputBufferSize, | ||
fitsfile ** | outfits, | ||
fpstate | fpvar, | ||
int * | islossless | ||
) |
Definition at line 959 of file fpackutil.c.
int fp_pack_fits_to_fits | ( | fitsfile * | infptr, |
fitsfile ** | outfits, | ||
fpstate | fpvar, | ||
int * | islossless | ||
) |
Definition at line 1100 of file fpackutil.c.
int fp_pack_hdu | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fpstate | fpvar, | ||
int * | islossless, | ||
int * | status | ||
) |
Definition at line 1914 of file fpackutil.c.
int fp_preflight | ( | int | argc, |
char * | argv[], | ||
int | unpack, | ||
fpstate * | fpptr | ||
) |
Definition at line 365 of file fpackutil.c.
int fp_r4stat | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
imgstats * | imagestats, | ||
int * | status | ||
) |
Definition at line 2678 of file fpackutil.c.
int fp_test | ( | char * | infits, |
char * | outfits, | ||
char * | outfits2, | ||
fpstate | fpvar | ||
) |
Definition at line 1611 of file fpackutil.c.
int fp_test_hdu | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fitsfile * | outfptr2, | ||
fpstate | fpvar, | ||
int * | status | ||
) |
Definition at line 2297 of file fpackutil.c.
int fp_test_table | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fitsfile * | outfptr2, | ||
fpstate | fpvar, | ||
int * | status | ||
) |
Definition at line 2420 of file fpackutil.c.
int fp_unpack | ( | char * | infits, |
char * | outfits, | ||
fpstate | fpvar | ||
) |
Definition at line 1163 of file fpackutil.c.
int fp_unpack_data_to_fits | ( | const char * | inputBuffer, |
size_t | inputBufferSize, | ||
fitsfile ** | outfptr, | ||
fpstate | fpvar | ||
) |
Definition at line 1460 of file fpackutil.c.
int fp_unpack_file_to_fits | ( | char * | infits, |
fitsfile ** | outfits, | ||
fpstate | fpvar | ||
) |
Definition at line 1310 of file fpackutil.c.
int fp_unpack_hdu | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fpstate | fpvar, | ||
int * | status | ||
) |
Definition at line 2088 of file fpackutil.c.
int fp_version | ( | void | ) |
Definition at line 93 of file fpackutil.c.
int fu_get_param | ( | int | argc, |
char * | argv[], | ||
fpstate * | fpptr | ||
) |
int fu_help | ( | void | ) |
int fu_hint | ( | void | ) |
int fu_usage | ( | void | ) |
int gettime | ( | float * | elapse, |
float * | elapscpu, | ||
int * | status | ||
) |
Definition at line 2487 of file fpackutil.c.
int marktime | ( | int * | status | ) |
Definition at line 2464 of file fpackutil.c.