Gamgee
You miserable little maggot. I'll stove your head in!
|
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <assert.h>
#include <string.h>
#include <sys/time.h>
#include "cram/rANS_static.h"
#include "cram/rANS_byte.h"
Classes | |
struct | ari_decoder |
Macros | |
#define | TF_SHIFT 12 |
#define | TOTFREQ (1<<TF_SHIFT) |
#define | ABS(a) ((a)>0?(a):-(a)) |
#define | BLK_SIZE 1024*1024 |
#define | BLK_SIZE2 ((int)(1.05*BLK_SIZE)) |
Functions | |
unsigned char * | rans_compress_O0 (unsigned char *in, unsigned int in_size, unsigned int *out_size) |
unsigned char * | rans_uncompress_O0 (unsigned char *in, unsigned int in_size, unsigned int *out_size) |
unsigned char * | rans_compress_O1 (unsigned char *in, unsigned int in_size, unsigned int *out_size) |
unsigned char * | rans_uncompress_O1 (unsigned char *in, unsigned int in_size, unsigned int *out_size) |
unsigned char * | rans_compress (unsigned char *in, unsigned int in_size, unsigned int *out_size, int order) |
unsigned char * | rans_uncompress (unsigned char *in, unsigned int in_size, unsigned int *out_size) |
#define ABS | ( | a | ) | ((a)>0?(a):-(a)) |
#define BLK_SIZE 1024*1024 |
#define BLK_SIZE2 ((int)(1.05*BLK_SIZE)) |
#define TF_SHIFT 12 |
#define TOTFREQ (1<<TF_SHIFT) |
unsigned char* rans_compress | ( | unsigned char * | in, |
unsigned int | in_size, | ||
unsigned int * | out_size, | ||
int | order | ||
) |
unsigned char* rans_compress_O0 | ( | unsigned char * | in, |
unsigned int | in_size, | ||
unsigned int * | out_size | ||
) |
unsigned char* rans_compress_O1 | ( | unsigned char * | in, |
unsigned int | in_size, | ||
unsigned int * | out_size | ||
) |
unsigned char* rans_uncompress | ( | unsigned char * | in, |
unsigned int | in_size, | ||
unsigned int * | out_size | ||
) |
unsigned char* rans_uncompress_O0 | ( | unsigned char * | in, |
unsigned int | in_size, | ||
unsigned int * | out_size | ||
) |
unsigned char* rans_uncompress_O1 | ( | unsigned char * | in, |
unsigned int | in_size, | ||
unsigned int * | out_size | ||
) |