NVBIO
|
#include <inttypes.h>
Go to the source code of this file.
Classes | |
struct | cram_huffman_code |
struct | cram_huffman_decoder |
struct | cram_huffman_encoder |
struct | cram_beta_decoder |
struct | cram_gamma_decoder |
struct | cram_subexp_decoder |
struct | cram_external_decoder |
struct | cram_byte_array_len_decoder |
struct | cram_byte_array_stop_decoder |
struct | cram_byte_array_len_encoder |
struct | cram_codec |
Macros | |
#define | MAX_HUFF 128 |
#define | GET_BIT_MSB(b, v) (void)(v<<=1, v|=(b->data[b->byte] >> b->bit)&1, b->byte += (b->bit==0), b->bit+=(b->bit==0)*8-1) |
Typedefs | |
typedef struct cram_codec | cram_codec |
Functions | |
char * | cram_encoding2str (enum cram_encoding t) |
cram_codec * | cram_decoder_init (enum cram_encoding codec, char *data, int size, enum cram_external_type option, int version) |
cram_codec * | cram_encoder_init (enum cram_encoding codec, cram_stats *st, enum cram_external_type option, void *dat, int version) |
#define GET_BIT_MSB | ( | b, | |
v | |||
) | (void)(v<<=1, v|=(b->data[b->byte] >> b->bit)&1, b->byte += (b->bit==0), b->bit+=(b->bit==0)*8-1) |
Definition at line 149 of file cram_codecs.h.
#define MAX_HUFF 128 |
Definition at line 63 of file cram_codecs.h.
typedef struct cram_codec cram_codec |
cram_codec* cram_decoder_init | ( | enum cram_encoding | codec, |
char * | data, | ||
int | size, | ||
enum cram_external_type | option, | ||
int | version | ||
) |
Definition at line 1722 of file cram_codecs.c.
cram_codec* cram_encoder_init | ( | enum cram_encoding | codec, |
cram_stats * | st, | ||
enum cram_external_type | option, | ||
void * | dat, | ||
int | version | ||
) |
Definition at line 1750 of file cram_codecs.c.
char* cram_encoding2str | ( | enum cram_encoding | t) |
Definition at line 1690 of file cram_codecs.c.