File: unpackdata.h

package info (click to toggle)
libmseed 2.19.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,684 kB
  • sloc: ansic: 10,810; makefile: 145; sh: 114
file content (48 lines) | stat: -rw-r--r-- 2,118 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/***************************************************************************
 * unpackdata.h:
 *
 * Interface declarations for the Mini-SEED unpacking routines in
 * unpackdata.c
 *
 * modified: 2016.273
 ***************************************************************************/

#ifndef UNPACKDATA_H
#define UNPACKDATA_H 1

#ifdef __cplusplus
extern "C" {
#endif

/* Control for printing debugging information, declared in unpackdata.c */
extern int decodedebug;

extern int msr_decode_int16 (int16_t *input, int samplecount, int32_t *output,
                             int outputlength, int swapflag);
extern int msr_decode_int32 (int32_t *input, int samplecount, int32_t *output,
                             int outputlength, int swapflag);
extern int msr_decode_float32 (float *input, int samplecount, float *output,
                               int outputlength, int swapflag);
extern int msr_decode_float64 (double *input, int samplecount, double *output,
                               int outputlength, int swapflag);
extern int msr_decode_steim1 (int32_t *input, int inputlength, int samplecount,
                              int32_t *output, int outputlength, char *srcname,
                              int swapflag);
extern int msr_decode_steim2 (int32_t *input, int inputlength, int samplecount,
                              int32_t *output, int outputlength, char *srcname,
                              int swapflag);
extern int msr_decode_geoscope (char *input, int samplecount, float *output,
                                int outputlength, int encoding, char *srcname,
                                int swapflag);
extern int msr_decode_cdsn (int16_t *input, int samplecount, int32_t *output,
                            int outputlength, int swapflag);
extern int msr_decode_sro (int16_t *input, int samplecount, int32_t *output,
                           int outputlength, char *srcname, int swapflag);
extern int msr_decode_dwwssn (int16_t *input, int samplecount, int32_t *output,
                              int outputlength, int swapflag);

#ifdef __cplusplus
}
#endif

#endif