#include <arpa/inet.h>
Go to the source code of this file.
|
int | canada_uncompress (unsigned char *b, uint32_t *y, int *n, int m, uint32_t *v0) |
| De-compressses Canada format seismic data. More...
|
|
int | canada_compress (unsigned char *b, unsigned long *y, int *n, int m, unsigned long *v0) |
| Compressses Canada format seismic data. More...
|
|
#define CANCOMP_CORRUPT 2 /* corrupted call */ |
#define CANCOMP_ERR -1 /* unrecoverable error (malloc fails) */ |
#define CANCOMP_NOT_20 1 /* number of samples not divisible by 20 */ |
#define CANCOMP_SUCCESS 0 /* success */ |
int canada_compress |
( |
unsigned char * |
b, |
|
|
unsigned long * |
y, |
|
|
int * |
n, |
|
|
int |
m, |
|
|
unsigned long * |
v0 |
|
) |
| |
Compressses Canada format seismic data.
int canada_uncompress |
( |
unsigned char * |
b, |
|
|
uint32_t * |
y, |
|
|
int * |
n, |
|
|
int |
m, |
|
|
uint32_t * |
v0 |
|
) |
| |
De-compressses Canada format seismic data.