forked from jkbonfield/rans_static
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrANS_static.h
29 lines (25 loc) · 838 Bytes
/
rANS_static.h
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
#ifndef RANS_STATIC_H
#define RANS_STATIC_H
#ifdef __cplusplus
extern "C" {
#endif
unsigned int rans_compress_bound(int renorm_size,
unsigned int size, int order);
unsigned char *rans_compress_to(int renorm_size,
unsigned char *in, unsigned int in_size,
unsigned char *out, unsigned int *out_size,
int order);
unsigned char *rans_compress(int renorm_size,
unsigned char *in, unsigned int in_size,
unsigned int *out_size, int order);
unsigned char *rans_uncompress_to(int renorm_size,
unsigned char *in, unsigned int in_size,
unsigned char *out, unsigned int *out_size,
int order);
unsigned char *rans_uncompress(int renorm_size,
unsigned char *in, unsigned int in_size,
unsigned int *out_size, int order);
#ifdef __cplusplus
}
#endif
#endif /* RANS_STATIC_H */