Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Macros | Typedefs | Functions | Variables
zlib.h File Reference
#include "zconf.h"

Go to the source code of this file.

Classes

struct  z_stream_s
 

Macros

#define ZLIB_VERSION   "1.1.4"
 
#define Z_NO_FLUSH   0
 
#define Z_PARTIAL_FLUSH   1 /* will be removed, use Z_SYNC_FLUSH instead */
 
#define Z_SYNC_FLUSH   2
 
#define Z_FULL_FLUSH   3
 
#define Z_FINISH   4
 
#define Z_OK   0
 
#define Z_STREAM_END   1
 
#define Z_NEED_DICT   2
 
#define Z_ERRNO   (-1)
 
#define Z_STREAM_ERROR   (-2)
 
#define Z_DATA_ERROR   (-3)
 
#define Z_MEM_ERROR   (-4)
 
#define Z_BUF_ERROR   (-5)
 
#define Z_VERSION_ERROR   (-6)
 
#define Z_NO_COMPRESSION   0
 
#define Z_BEST_SPEED   1
 
#define Z_BEST_COMPRESSION   9
 
#define Z_DEFAULT_COMPRESSION   (-1)
 
#define Z_FILTERED   1
 
#define Z_HUFFMAN_ONLY   2
 
#define Z_DEFAULT_STRATEGY   0
 
#define Z_BINARY   0
 
#define Z_ASCII   1
 
#define Z_UNKNOWN   2
 
#define Z_DEFLATED   8
 
#define Z_NULL   0 /* for initializing zalloc, zfree, opaque */
 
#define deflateInit(strm, level)   deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
 
#define inflateInit(strm)   inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
 
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)
 
#define inflateInit2(strm, windowBits)   inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
 

Typedefs

typedef voidpf alloc_func OF((voidpf opaque, uInt items, uInt size))
 Addition for GDAL : START. More...
 
typedef struct z_stream_s z_stream
 
typedef z_stream FARz_streamp
 

Functions

 ZEXTERN (int) inflate OF((z_streamp strm
 
 ZEXTERN (uLong) adler32 OF((uLong adler
 

Variables

int flush
 
const Bytefbuf
 
const Bytef uInt len
 
int windowBits
 
int const char * version
 
int const char int stream_size
 

Macro Definition Documentation

◆ deflateInit

#define deflateInit (   strm,
  level 
)    deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))

Definition at line 815 of file zlib.h.

Referenced by vl::compress(), compress2(), vl::decompress(), def(), and main().

◆ deflateInit2

#define deflateInit2 (   strm,
  level,
  method,
  windowBits,
  memLevel,
  strategy 
)
Value:
deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
int ZEXPORT deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size)
Definition: deflate.c:213
#define ZLIB_VERSION
Definition: zlib.h:40
GLint level
int method
Definition: png.h:1717
int strategy
Definition: png.h:1772
int windowBits
Definition: zlib.h:813

Definition at line 819 of file zlib.h.

Referenced by gz_init(), log_compress(), vl::GZipCodec::open(), and zipOpenNewFileInZip4_64().

◆ inflateInit

#define inflateInit (   strm)    inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))

Definition at line 817 of file zlib.h.

Referenced by cover_support(), vl::decompress(), inf(), main(), and uncompress().

◆ inflateInit2

#define inflateInit2 (   strm,
  windowBits 
)    inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))

◆ Z_ASCII

#define Z_ASCII   1

Definition at line 157 of file zlib.h.

Referenced by zipCloseFileInZipRaw64().

◆ Z_BEST_COMPRESSION

#define Z_BEST_COMPRESSION   9

Definition at line 147 of file zlib.h.

◆ Z_BEST_SPEED

#define Z_BEST_SPEED   1

Definition at line 146 of file zlib.h.

◆ Z_BINARY

#define Z_BINARY   0

Definition at line 156 of file zlib.h.

Referenced by detect_data_type(), TIFFInitPixarLog(), TIFFInitZIP(), and zipOpenNewFileInZip4_64().

◆ Z_BUF_ERROR

#define Z_BUF_ERROR   (-5)

◆ Z_DATA_ERROR

#define Z_DATA_ERROR   (-3)

◆ Z_DEFAULT_COMPRESSION

#define Z_DEFAULT_COMPRESSION   (-1)

Definition at line 148 of file zlib.h.

Referenced by compress(), deflateInit2_(), deflateParams(), gz_open(), log_compress(), main(), and ozstream::open().

◆ Z_DEFAULT_STRATEGY

#define Z_DEFAULT_STRATEGY   0

◆ Z_DEFLATED

#define Z_DEFLATED   8

◆ Z_ERRNO

#define Z_ERRNO   (-1)

◆ Z_FILTERED

#define Z_FILTERED   1

Definition at line 151 of file zlib.h.

Referenced by deflate_slow(), and gz_open().

◆ Z_FINISH

#define Z_FINISH   4

◆ Z_FULL_FLUSH

#define Z_FULL_FLUSH   3

Definition at line 128 of file zlib.h.

Referenced by deflate().

◆ Z_HUFFMAN_ONLY

#define Z_HUFFMAN_ONLY   2

Definition at line 152 of file zlib.h.

Referenced by deflate(), and gz_open().

◆ Z_MEM_ERROR

#define Z_MEM_ERROR   (-4)

◆ Z_NEED_DICT

#define Z_NEED_DICT   2

◆ Z_NO_COMPRESSION

#define Z_NO_COMPRESSION   0

Definition at line 145 of file zlib.h.

Referenced by main().

◆ Z_NO_FLUSH

#define Z_NO_FLUSH   0

◆ Z_NULL

#define Z_NULL   0 /* for initializing zalloc, zfree, opaque */

◆ Z_OK

#define Z_OK   0

◆ Z_PARTIAL_FLUSH

#define Z_PARTIAL_FLUSH   1 /* will be removed, use Z_SYNC_FLUSH instead */

Definition at line 126 of file zlib.h.

Referenced by deflate(), gzsetparams(), and log_compress().

◆ Z_STREAM_END

#define Z_STREAM_END   1

◆ Z_STREAM_ERROR

#define Z_STREAM_ERROR   (-2)

◆ Z_SYNC_FLUSH

#define Z_SYNC_FLUSH   2

Definition at line 127 of file zlib.h.

Referenced by main(), and unzReadCurrentFile().

◆ Z_UNKNOWN

#define Z_UNKNOWN   2

Definition at line 158 of file zlib.h.

Referenced by _tr_flush_block(), and deflateResetKeep().

◆ Z_VERSION_ERROR

#define Z_VERSION_ERROR   (-6)

Definition at line 140 of file zlib.h.

Referenced by cover_back(), cover_support(), deflateInit2_(), inflateInit2_(), zerr(), and ZEXPORT().

◆ ZLIB_VERSION

#define ZLIB_VERSION   "1.1.4"

Typedef Documentation

◆ OF

ZEXTERN uLong ZEXPORT crc32_combine64 OF ( (voidpf opaque, uInt items, uInt size )

Addition for GDAL : START.

Addition for GDAL : END.

Definition at line 63 of file zlib.h.

◆ z_stream

typedef struct z_stream_s z_stream

◆ z_streamp

Definition at line 89 of file zlib.h.

Function Documentation

◆ ZEXTERN() [1/2]

ZEXTERN ( int  )

◆ ZEXTERN() [2/2]

ZEXTERN ( uLong  )

Variable Documentation

◆ buf

Definition at line 775 of file zlib.h.

◆ flush

int flush

◆ len

Definition at line 775 of file zlib.h.

◆ stream_size

int const char int stream_size

Definition at line 813 of file zlib.h.

Referenced by ZEXPORT().

◆ version

int version

◆ windowBits

int windowBits

Definition at line 813 of file zlib.h.

Referenced by deflateInit2_(), inflateReset2(), and zipOpenNewFileInZip4_64().