Changeset 41474 for trunk/Ohana/src/libfits/matrix/F_uncompress_data.c
- Timestamp:
- Jan 24, 2021, 3:37:52 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/matrix/F_uncompress_data.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/matrix/F_uncompress_data.c
r39457 r41474 5 5 6 6 # define ESCAPE(RET) { fprintf (stderr, "gzip error in %s @ %s:%d\n", __func__, __FILE__, __LINE__); return (RET); } 7 8 /* This function uncompresses the data in 'zdata' into the pre-allocated output buffer 'outdata'. 9 The compression algorithm is chosen based on 'cmptype', with options specified by 'optname, optvalue, Nopt' 10 zdata : input compressed data, Nzdata : number of compressed BYTES 11 outdata : output buffer, Nout : number of actual output PIXELS, Nout_alloc : number of allocated bytes in the buffer, out_pixsize : bytes per output pixel 12 */ 7 13 8 14 int gfits_uncompress_data (char *zdata, unsigned long Nzdata, char *cmptype, char **optname, char **optvalue, int Nopt, char *outdata, unsigned long int *Nout, unsigned long int Nout_alloc, int out_pixsize) {
Note:
See TracChangeset
for help on using the changeset viewer.
