Account
| BdsApi 2.0.11 |
#include <arpa/inet.h>Macros | |
| #define | CANCOMP_ERR -1 /* unrecoverable error (malloc fails) */ |
| #define | CANCOMP_SUCCESS 0 /* success */ |
| #define | CANCOMP_NOT_20 1 /* number of samples not divisible by 20 */ |
| #define | CANCOMP_CORRUPT 2 /* corrupted call */ |
| #define | CANCOMP_EXCEED |
Functions | |
| int | canada_uncompress (unsigned char *b, uint32_t *y, int *n, int m, uint32_t *v0) |
| int | canada_compress (unsigned char *b, unsigned long *y, int *n, int m, unsigned long *v0) |
Macro Definition Documentation
◆ CANCOMP_CORRUPT
| #define CANCOMP_CORRUPT 2 /* corrupted call */ |
◆ CANCOMP_ERR
| #define CANCOMP_ERR -1 /* unrecoverable error (malloc fails) */ |
◆ CANCOMP_EXCEED
| #define CANCOMP_EXCEED |
Value:
3 /* number of bytes available in compressed
data exceeded during decompression */
◆ CANCOMP_NOT_20
| #define CANCOMP_NOT_20 1 /* number of samples not divisible by 20 */ |
◆ CANCOMP_SUCCESS
| #define CANCOMP_SUCCESS 0 /* success */ |
Function Documentation
◆ canada_compress()
| int canada_compress | ( | unsigned char * | b, |
| unsigned long * | y, | ||
| int * | n, | ||
| int | m, | ||
| unsigned long * | v0 | ||
| ) |
◆ canada_uncompress()
| int canada_uncompress | ( | unsigned char * | b, |
| uint32_t * | y, | ||
| int * | n, | ||
| int | m, | ||
| uint32_t * | v0 | ||
| ) |
Generated by
1.8.15 