|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#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 2864 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 2115 of file fpackutil.c.
| void fp_abort_output | ( | fitsfile * | infptr, |
| fitsfile * | outfptr, | ||
| int | stat | ||
| ) |
Definition at line 64 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 2742 of file fpackutil.c.
| int fp_i2stat | ( | fitsfile * | infptr, |
| int | naxis, | ||
| long * | naxes, | ||
| imgstats * | imagestats, | ||
| int * | status | ||
| ) |
Definition at line 2504 of file fpackutil.c.
| int fp_i4rescale | ( | fitsfile * | infptr, |
| int | naxis, | ||
| long * | naxes, | ||
| double | rescale, | ||
| fitsfile * | outfptr, | ||
| int * | status | ||
| ) |
Definition at line 2802 of file fpackutil.c.
| int fp_i4stat | ( | fitsfile * | infptr, |
| int | naxis, | ||
| long * | naxes, | ||
| imgstats * | imagestats, | ||
| int * | status | ||
| ) |
Definition at line 2585 of file fpackutil.c.
| int fp_info | ( | char * | infits | ) |
| int fp_info_hdu | ( | fitsfile * | infptr | ) |
Definition at line 260 of file fpackutil.c.
| int fp_init | ( | fpstate * | fpptr | ) |
Definition at line 160 of file fpackutil.c.
| int fp_list | ( | int | argc, |
| char * | argv[], | ||
| fpstate | fpvar | ||
| ) |
Definition at line 209 of file fpackutil.c.
| int fp_loop | ( | int | argc, |
| char * | argv[], | ||
| int | unpack, | ||
| char * | output_filename, | ||
| fpstate | fpvar | ||
| ) |
Definition at line 573 of file fpackutil.c.
| int fp_noop | ( | void | ) |
Definition at line 58 of file fpackutil.c.
| int fp_pack | ( | char * | infits, |
| char * | outfits, | ||
| fpstate | fpvar, | ||
| int * | islossless | ||
| ) |
Definition at line 887 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 1027 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 955 of file fpackutil.c.
| int fp_pack_fits_to_fits | ( | fitsfile * | infptr, |
| fitsfile ** | outfits, | ||
| fpstate | fpvar, | ||
| int * | islossless | ||
| ) |
Definition at line 1096 of file fpackutil.c.
| int fp_pack_hdu | ( | fitsfile * | infptr, |
| fitsfile * | outfptr, | ||
| fpstate | fpvar, | ||
| int * | islossless, | ||
| int * | status | ||
| ) |
Definition at line 1902 of file fpackutil.c.
| int fp_preflight | ( | int | argc, |
| char * | argv[], | ||
| int | unpack, | ||
| fpstate * | fpptr | ||
| ) |
Definition at line 361 of file fpackutil.c.
| int fp_r4stat | ( | fitsfile * | infptr, |
| int | naxis, | ||
| long * | naxes, | ||
| imgstats * | imagestats, | ||
| int * | status | ||
| ) |
Definition at line 2666 of file fpackutil.c.
| int fp_test | ( | char * | infits, |
| char * | outfits, | ||
| char * | outfits2, | ||
| fpstate | fpvar | ||
| ) |
Definition at line 1607 of file fpackutil.c.
| int fp_test_hdu | ( | fitsfile * | infptr, |
| fitsfile * | outfptr, | ||
| fitsfile * | outfptr2, | ||
| fpstate | fpvar, | ||
| int * | status | ||
| ) |
Definition at line 2285 of file fpackutil.c.
| int fp_test_table | ( | fitsfile * | infptr, |
| fitsfile * | outfptr, | ||
| fitsfile * | outfptr2, | ||
| fpstate | fpvar, | ||
| int * | status | ||
| ) |
Definition at line 2408 of file fpackutil.c.
| int fp_unpack | ( | char * | infits, |
| char * | outfits, | ||
| fpstate | fpvar | ||
| ) |
Definition at line 1159 of file fpackutil.c.
| int fp_unpack_data_to_fits | ( | const char * | inputBuffer, |
| size_t | inputBufferSize, | ||
| fitsfile ** | outfptr, | ||
| fpstate | fpvar | ||
| ) |
Definition at line 1456 of file fpackutil.c.
| int fp_unpack_file_to_fits | ( | char * | infits, |
| fitsfile ** | outfits, | ||
| fpstate | fpvar | ||
| ) |
Definition at line 1306 of file fpackutil.c.
| int fp_unpack_hdu | ( | fitsfile * | infptr, |
| fitsfile * | outfptr, | ||
| fpstate | fpvar, | ||
| int * | status | ||
| ) |
Definition at line 2076 of file fpackutil.c.
| int fp_version | ( | void | ) |
Definition at line 94 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 2475 of file fpackutil.c.
| int marktime | ( | int * | status | ) |
Definition at line 2452 of file fpackutil.c.