#include <time.h>
Go to the source code of this file.
|
enum | {
MZ_DEFAULT_STRATEGY = 0
, MZ_FILTERED = 1
, MZ_HUFFMAN_ONLY = 2
, MZ_RLE = 3
,
MZ_FIXED = 4
} |
|
enum | {
MZ_NO_FLUSH = 0
, MZ_PARTIAL_FLUSH = 1
, MZ_SYNC_FLUSH = 2
, MZ_FULL_FLUSH = 3
,
MZ_FINISH = 4
, MZ_BLOCK = 5
} |
|
enum | {
MZ_OK = 0
, MZ_STREAM_END = 1
, MZ_NEED_DICT = 2
, MZ_ERRNO = -1
,
MZ_STREAM_ERROR = -2
, MZ_DATA_ERROR = -3
, MZ_MEM_ERROR = -4
, MZ_BUF_ERROR = -5
,
MZ_VERSION_ERROR = -6
, MZ_PARAM_ERROR = -10000
} |
|
enum | {
MZ_NO_COMPRESSION = 0
, MZ_BEST_SPEED = 1
, MZ_BEST_COMPRESSION = 9
, MZ_UBER_COMPRESSION = 10
,
MZ_DEFAULT_LEVEL = 6
, MZ_DEFAULT_COMPRESSION = -1
} |
|
|
void | mz_free (void *p) |
|
mz_ulong | mz_adler32 (mz_ulong adler, const unsigned char *ptr, size_t buf_len) |
|
mz_ulong | mz_crc32 (mz_ulong crc, const unsigned char *ptr, size_t buf_len) |
|
const char * | mz_version (void) |
|
int | mz_deflateInit (mz_streamp pStream, int level) |
|
int | mz_deflateInit2 (mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy) |
|
int | mz_deflateReset (mz_streamp pStream) |
|
int | mz_deflate (mz_streamp pStream, int flush) |
|
int | mz_deflateEnd (mz_streamp pStream) |
|
mz_ulong | mz_deflateBound (mz_streamp pStream, mz_ulong source_len) |
|
int | mz_compress (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) |
|
int | mz_compress2 (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) |
|
mz_ulong | mz_compressBound (mz_ulong source_len) |
|
int | mz_inflateInit (mz_streamp pStream) |
|
int | mz_inflateInit2 (mz_streamp pStream, int window_bits) |
|
int | mz_inflate (mz_streamp pStream, int flush) |
|
int | mz_inflateEnd (mz_streamp pStream) |
|
int | mz_uncompress (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) |
|
const char * | mz_error (int err) |
|
◆ adler32
◆ alloc_func
◆ compress
◆ compress2
◆ compressBound
◆ crc32
◆ deflate
◆ deflateBound
◆ deflateEnd
◆ deflateInit
◆ deflateInit2
◆ deflateReset
◆ free_func
◆ inflate
◆ inflateEnd
◆ inflateInit
◆ inflateInit2
◆ internal_state
#define internal_state mz_internal_state |
◆ MAX_MEM_LEVEL
◆ MAX_WBITS
◆ MINIZ_LITTLE_ENDIAN
#define MINIZ_LITTLE_ENDIAN 1 |
◆ MZ_ADLER32_INIT
#define MZ_ADLER32_INIT (1) |
◆ MZ_CRC32_INIT
#define MZ_CRC32_INIT (0) |
◆ MZ_DEFAULT_WINDOW_BITS
#define MZ_DEFAULT_WINDOW_BITS 15 |
◆ MZ_DEFLATED
◆ MZ_VER_MAJOR
◆ MZ_VER_MINOR
◆ MZ_VER_REVISION
#define MZ_VER_REVISION 15 |
◆ MZ_VER_SUBREVISION
#define MZ_VER_SUBREVISION 0 |
◆ MZ_VERNUM
◆ MZ_VERSION
#define MZ_VERSION "9.1.15" |
◆ uncompress
◆ Z_BEST_COMPRESSION
◆ Z_BEST_SPEED
◆ Z_BLOCK
◆ Z_BUF_ERROR
◆ Z_DATA_ERROR
◆ Z_DEFAULT_COMPRESSION
◆ Z_DEFAULT_STRATEGY
◆ Z_DEFAULT_WINDOW_BITS
◆ Z_DEFLATED
◆ Z_ERRNO
◆ Z_FILTERED
◆ Z_FINISH
◆ Z_FIXED
◆ Z_FULL_FLUSH
◆ Z_HUFFMAN_ONLY
◆ Z_MEM_ERROR
◆ Z_NEED_DICT
◆ Z_NO_COMPRESSION
◆ Z_NO_FLUSH
◆ Z_NULL
◆ Z_OK
◆ Z_PARAM_ERROR
◆ Z_PARTIAL_FLUSH
◆ Z_RLE
◆ z_stream
◆ Z_STREAM_END
◆ Z_STREAM_ERROR
◆ Z_SYNC_FLUSH
◆ Z_VERSION_ERROR
◆ zError
◆ ZLIB_VER_MAJOR
◆ ZLIB_VER_MINOR
◆ ZLIB_VER_REVISION
◆ ZLIB_VER_SUBREVISION
◆ ZLIB_VERNUM
◆ ZLIB_VERSION
◆ zlib_version
◆ zlibVersion
◆ Byte
typedef unsigned char Byte |
◆ Bytef
◆ charf
◆ intf
◆ mz_alloc_func
typedef void *(* mz_alloc_func) (void *opaque, size_t items, size_t size) |
◆ mz_free_func
typedef void(* mz_free_func) (void *opaque, void *address) |
◆ mz_realloc_func
typedef void *(* mz_realloc_func) (void *opaque, void *address, size_t items, size_t size) |
◆ mz_stream
◆ mz_streamp
◆ mz_ulong
◆ uInt
typedef unsigned int uInt |
◆ uIntf
◆ uLong
◆ uLongf
◆ voidp
◆ voidpc
◆ voidpf
◆ anonymous enum
Enumerator |
---|
MZ_NO_COMPRESSION | |
MZ_BEST_SPEED | |
MZ_BEST_COMPRESSION | |
MZ_UBER_COMPRESSION | |
MZ_DEFAULT_LEVEL | |
MZ_DEFAULT_COMPRESSION | |
Definition at line 319 of file miniz.h.
◆ anonymous enum
Enumerator |
---|
MZ_NO_FLUSH | |
MZ_PARTIAL_FLUSH | |
MZ_SYNC_FLUSH | |
MZ_FULL_FLUSH | |
MZ_FINISH | |
MZ_BLOCK | |
Definition at line 293 of file miniz.h.
◆ anonymous enum
Enumerator |
---|
MZ_OK | |
MZ_STREAM_END | |
MZ_NEED_DICT | |
MZ_ERRNO | |
MZ_STREAM_ERROR | |
MZ_DATA_ERROR | |
MZ_MEM_ERROR | |
MZ_BUF_ERROR | |
MZ_VERSION_ERROR | |
MZ_PARAM_ERROR | |
Definition at line 304 of file miniz.h.
◆ anonymous enum
Enumerator |
---|
MZ_DEFAULT_STRATEGY | |
MZ_FILTERED | |
MZ_HUFFMAN_ONLY | |
MZ_RLE | |
MZ_FIXED | |
Definition at line 264 of file miniz.h.
◆ mz_adler32()
mz_ulong mz_adler32 |
( |
mz_ulong | adler, |
|
|
const unsigned char * | ptr, |
|
|
size_t | buf_len ) |
◆ mz_compress()
int mz_compress |
( |
unsigned char * | pDest, |
|
|
mz_ulong * | pDest_len, |
|
|
const unsigned char * | pSource, |
|
|
mz_ulong | source_len ) |
◆ mz_compress2()
int mz_compress2 |
( |
unsigned char * | pDest, |
|
|
mz_ulong * | pDest_len, |
|
|
const unsigned char * | pSource, |
|
|
mz_ulong | source_len, |
|
|
int | level ) |
◆ mz_compressBound()
◆ mz_crc32()
◆ mz_deflate()
◆ mz_deflateBound()
◆ mz_deflateEnd()
◆ mz_deflateInit()
int mz_deflateInit |
( |
mz_streamp | pStream, |
|
|
int | level ) |
◆ mz_deflateInit2()
int mz_deflateInit2 |
( |
mz_streamp | pStream, |
|
|
int | level, |
|
|
int | method, |
|
|
int | window_bits, |
|
|
int | mem_level, |
|
|
int | strategy ) |
◆ mz_deflateReset()
◆ mz_error()
const char * mz_error |
( |
int | err | ) |
|
◆ mz_free()
◆ mz_inflate()
◆ mz_inflateEnd()
◆ mz_inflateInit()
◆ mz_inflateInit2()
int mz_inflateInit2 |
( |
mz_streamp | pStream, |
|
|
int | window_bits ) |
◆ mz_uncompress()
int mz_uncompress |
( |
unsigned char * | pDest, |
|
|
mz_ulong * | pDest_len, |
|
|
const unsigned char * | pSource, |
|
|
mz_ulong | source_len ) |
◆ mz_version()
const char * mz_version |
( |
void | | ) |
|