#include "pcl/surface/3rdparty/opennurbs/deflate.h"
Go to the source code of this file.
Classes | |
struct | config_s |
struct | static_tree_desc_s |
Defines | |
#define | check_match(s, start, match, length) |
#define | CLEAR_HASH(s) |
#define | EQUAL 0 |
#define | FLUSH_BLOCK(s, eof) |
#define | FLUSH_BLOCK_ONLY(s, eof) |
#define | INSERT_STRING(s, str, match_head) |
#define | MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) |
#define | NIL 0 |
#define | TOO_FAR 4096 |
#define | UPDATE_HASH(s, h, c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
Typedefs | |
typedef struct config_s | config |
typedef block_state compress_func | OF ((deflate_state *s, int flush)) |
Enumerations | |
enum | block_state { need_more, block_done, finish_started, finish_done } |
Functions | |
int ZEXPORT | deflate (z_streamp strm, int flush) |
local block_state | deflate_fast (deflate_state *s, int flush) |
local block_state | deflate_slow (deflate_state *s, int flush) |
local block_state | deflate_stored (deflate_state *s, int flush) |
uLong ZEXPORT | deflateBound (z_streamp strm, uLong sourceLen) |
int ZEXPORT | deflateCopy (z_streamp dest, z_streamp source) |
int ZEXPORT | deflateEnd (z_streamp strm) |
int ZEXPORT | deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) |
int ZEXPORT | deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) |
int ZEXPORT | deflateParams (z_streamp strm, int level, int strategy) |
int ZEXPORT | deflatePrime (z_streamp strm, int bits, int value) |
int ZEXPORT | deflateReset (z_streamp strm) |
int ZEXPORT | deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) |
int ZEXPORT | deflateSetHeader (z_streamp strm, gz_headerp head) |
int ZEXPORT | deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) |
local void | fill_window (deflate_state *s) |
local void | flush_pending (z_streamp strm) |
local void | lm_init (deflate_state *s) |
local uInt | longest_match (deflate_state *s, IPos cur_match) |
local uInt | longest_match_fast (deflate_state *s, IPos cur_match) |
local void fill_window | OF ((deflate_state *s)) |
local block_state deflate_stored | OF ((deflate_state *s, int flush)) |
local void putShortMSB | OF ((deflate_state *s, uInt b)) |
local void flush_pending | OF ((z_streamp strm)) |
local int read_buf | OF ((z_streamp strm, Bytef *buf, unsigned size)) |
local uInt longest_match | OF ((deflate_state *s, IPos cur_match)) |
local void | putShortMSB (deflate_state *s, uInt b) |
local int | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
Variables | |
local const config | configuration_table [10] |
const char | deflate_copyright [] = " deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly " |
#define check_match | ( | s, | |
start, | |||
match, | |||
length | |||
) |
#define CLEAR_HASH | ( | s | ) |
#define FLUSH_BLOCK | ( | s, | |
eof | |||
) |
#define FLUSH_BLOCK_ONLY | ( | s, | |
eof | |||
) |
#define INSERT_STRING | ( | s, | |
str, | |||
match_head | |||
) |
#define MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) |
#define UPDATE_HASH | ( | s, | |
h, | |||
c | |||
) | (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
typedef block_state compress_func OF((deflate_state *s, int flush)) |
enum block_state |
local block_state deflate_fast | ( | deflate_state * | s, |
int | flush | ||
) |
local block_state deflate_slow | ( | deflate_state * | s, |
int | flush | ||
) |
local block_state deflate_stored | ( | deflate_state * | s, |
int | flush | ||
) |
uLong ZEXPORT deflateBound | ( | z_streamp | strm, |
uLong | sourceLen | ||
) |
int ZEXPORT deflateCopy | ( | z_streamp | dest, |
z_streamp | source | ||
) |
int ZEXPORT deflateEnd | ( | z_streamp | strm | ) |
int ZEXPORT deflateInit2_ | ( | z_streamp | strm, |
int | level, | ||
int | method, | ||
int | windowBits, | ||
int | memLevel, | ||
int | strategy, | ||
const char * | version, | ||
int | stream_size | ||
) |
int ZEXPORT deflateInit_ | ( | z_streamp | strm, |
int | level, | ||
const char * | version, | ||
int | stream_size | ||
) |
int ZEXPORT deflateParams | ( | z_streamp | strm, |
int | level, | ||
int | strategy | ||
) |
int ZEXPORT deflatePrime | ( | z_streamp | strm, |
int | bits, | ||
int | value | ||
) |
int ZEXPORT deflateReset | ( | z_streamp | strm | ) |
int ZEXPORT deflateSetDictionary | ( | z_streamp | strm, |
const Bytef * | dictionary, | ||
uInt | dictLength | ||
) |
int ZEXPORT deflateSetHeader | ( | z_streamp | strm, |
gz_headerp | head | ||
) |
int ZEXPORT deflateTune | ( | z_streamp | strm, |
int | good_length, | ||
int | max_lazy, | ||
int | nice_length, | ||
int | max_chain | ||
) |
local void fill_window | ( | deflate_state * | s | ) |
local void flush_pending | ( | z_streamp | strm | ) |
local void lm_init | ( | deflate_state * | s | ) |
local uInt longest_match | ( | deflate_state * | s, |
IPos | cur_match | ||
) |
local uInt longest_match_fast | ( | deflate_state * | s, |
IPos | cur_match | ||
) |
local void fill_window OF | ( | (deflate_state *s) | ) |
local block_state deflate_stored OF | ( | (deflate_state *s, int flush) | ) |
local void putShortMSB OF | ( | (deflate_state *s, uInt b) | ) |
local void flush_pending OF | ( | (z_streamp strm) | ) |
local uInt longest_match OF | ( | (deflate_state *s, IPos cur_match) | ) |
local void putShortMSB | ( | deflate_state * | s, |
uInt | b | ||
) |
local const config configuration_table[10] |
{ {0, 0, 0, 0, deflate_stored}, {4, 4, 8, 4, deflate_fast}, {4, 5, 16, 8, deflate_fast}, {4, 6, 32, 32, deflate_fast}, {4, 4, 16, 16, deflate_slow}, {8, 16, 32, 32, deflate_slow}, {8, 16, 128, 128, deflate_slow}, {8, 32, 128, 256, deflate_slow}, {32, 128, 258, 1024, deflate_slow}, {32, 258, 258, 4096, deflate_slow}}
const char deflate_copyright[] = " deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly " |