openshot-audio  0.1.6
Macros | Typedefs | Functions | Variables
zutil.h File Reference
#include "zlib.h"
#include <errno.h>

Go to the source code of this file.

Macros

#define ZUTIL_H
 
#define ZLIB_INTERNAL
 
#define local   static
 
#define ERR_MSG(err)   z_errmsg[Z_NEED_DICT-(err)]
 
#define ERR_RETURN(strm, err)   return (strm->msg = (char*)ERR_MSG(err), (err))
 
#define DEF_WBITS   MAX_WBITS
 
#define DEF_MEM_LEVEL   8
 
#define STORED_BLOCK   0
 
#define STATIC_TREES   1
 
#define DYN_TREES   2
 
#define MIN_MATCH   3
 
#define MAX_MATCH   258
 
#define PRESET_DICT   0x20 /* preset dictionary flag in zlib header */
 
#define OS_CODE   0x03 /* assume Unix */
 
#define F_OPEN(name, mode)   fopen((name), (mode))
 
#define Assert(cond, msg)
 
#define Trace(x)
 
#define Tracev(x)
 
#define Tracevv(x)
 
#define Tracec(c, x)
 
#define Tracecv(c, x)
 
#define z_error(x)
 
#define z_verbose   0
 
#define ZALLOC(strm, items, size)   (*((strm)->zalloc))((strm)->opaque, (items), (size))
 
#define ZFREE(strm, addr)   (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
 
#define TRY_FREE(s, p)   {if (p) ZFREE(s, p);}
 
#define ZLIB_INTERNAL
 
#define local   static
 
#define ERR_MSG(err)   z_errmsg[Z_NEED_DICT-(err)]
 
#define ERR_RETURN(strm, err)   return (strm->msg = (char*)ERR_MSG(err), (err))
 
#define DEF_WBITS   MAX_WBITS
 
#define DEF_MEM_LEVEL   8
 
#define STORED_BLOCK   0
 
#define STATIC_TREES   1
 
#define DYN_TREES   2
 
#define MIN_MATCH   3
 
#define MAX_MATCH   258
 
#define PRESET_DICT   0x20 /* preset dictionary flag in zlib header */
 
#define OS_CODE   0x03 /* assume Unix */
 
#define F_OPEN(name, mode)   fopen((name), (mode))
 
#define Assert(cond, msg)
 
#define Trace(x)
 
#define Tracev(x)
 
#define Tracevv(x)
 
#define Tracec(c, x)
 
#define Tracecv(c, x)
 
#define z_error(x)
 
#define z_verbose   0
 
#define ZALLOC(strm, items, size)   (*((strm)->zalloc))((strm)->opaque, (items), (size))
 
#define ZFREE(strm, addr)   (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
 
#define TRY_FREE(s, p)   {if (p) ZFREE(s, p);}
 

Typedefs

typedef unsigned char uch
 
typedef uch FAR uchf
 
typedef unsigned short ush
 
typedef ush FAR ushf
 
typedef unsigned long ulg
 

Functions

void zmemcpy OF ((Bytef *dest, const Bytef *source, uInt len))
 
int zmemcmp OF ((const Bytef *s1, const Bytef *s2, uInt len))
 
void zmemzero OF ((Bytef *dest, uInt len))
 
voidpf zcalloc OF ((voidpf opaque, unsigned items, unsigned size))
 
void zcfree OF ((voidpf opaque, voidpf ptr))
 

Variables

const char *const z_errmsg [10]
 

Macro Definition Documentation

◆ Assert [1/2]

#define Assert (   cond,
  msg 
)

◆ Assert [2/2]

#define Assert (   cond,
  msg 
)

◆ DEF_MEM_LEVEL [1/2]

#define DEF_MEM_LEVEL   8

◆ DEF_MEM_LEVEL [2/2]

#define DEF_MEM_LEVEL   8

◆ DEF_WBITS [1/2]

#define DEF_WBITS   MAX_WBITS

◆ DEF_WBITS [2/2]

#define DEF_WBITS   MAX_WBITS

◆ DYN_TREES [1/2]

#define DYN_TREES   2

◆ DYN_TREES [2/2]

#define DYN_TREES   2

◆ ERR_MSG [1/2]

#define ERR_MSG (   err)    z_errmsg[Z_NEED_DICT-(err)]

◆ ERR_MSG [2/2]

#define ERR_MSG (   err)    z_errmsg[Z_NEED_DICT-(err)]

◆ ERR_RETURN [1/2]

#define ERR_RETURN (   strm,
  err 
)    return (strm->msg = (char*)ERR_MSG(err), (err))

◆ ERR_RETURN [2/2]

#define ERR_RETURN (   strm,
  err 
)    return (strm->msg = (char*)ERR_MSG(err), (err))

◆ F_OPEN [1/2]

#define F_OPEN (   name,
  mode 
)    fopen((name), (mode))

◆ F_OPEN [2/2]

#define F_OPEN (   name,
  mode 
)    fopen((name), (mode))

◆ local [1/2]

#define local   static

◆ local [2/2]

#define local   static

◆ MAX_MATCH [1/2]

#define MAX_MATCH   258

◆ MAX_MATCH [2/2]

#define MAX_MATCH   258

◆ MIN_MATCH [1/2]

#define MIN_MATCH   3

◆ MIN_MATCH [2/2]

#define MIN_MATCH   3

◆ OS_CODE [1/2]

#define OS_CODE   0x03 /* assume Unix */

◆ OS_CODE [2/2]

#define OS_CODE   0x03 /* assume Unix */

◆ PRESET_DICT [1/2]

#define PRESET_DICT   0x20 /* preset dictionary flag in zlib header */

◆ PRESET_DICT [2/2]

#define PRESET_DICT   0x20 /* preset dictionary flag in zlib header */

◆ STATIC_TREES [1/2]

#define STATIC_TREES   1

◆ STATIC_TREES [2/2]

#define STATIC_TREES   1

◆ STORED_BLOCK [1/2]

#define STORED_BLOCK   0

◆ STORED_BLOCK [2/2]

#define STORED_BLOCK   0

◆ Trace [1/2]

#define Trace (   x)

◆ Trace [2/2]

#define Trace (   x)

◆ Tracec [1/2]

#define Tracec (   c,
 
)

◆ Tracec [2/2]

#define Tracec (   c,
 
)

◆ Tracecv [1/2]

#define Tracecv (   c,
 
)

◆ Tracecv [2/2]

#define Tracecv (   c,
 
)

◆ Tracev [1/2]

#define Tracev (   x)

◆ Tracev [2/2]

#define Tracev (   x)

◆ Tracevv [1/2]

#define Tracevv (   x)

◆ Tracevv [2/2]

#define Tracevv (   x)

◆ TRY_FREE [1/2]

#define TRY_FREE (   s,
 
)    {if (p) ZFREE(s, p);}

◆ TRY_FREE [2/2]

#define TRY_FREE (   s,
 
)    {if (p) ZFREE(s, p);}

◆ z_error [1/2]

#define z_error (   x)

◆ z_error [2/2]

#define z_error (   x)

◆ z_verbose [1/2]

#define z_verbose   0

◆ z_verbose [2/2]

#define z_verbose   0

◆ ZALLOC [1/2]

#define ZALLOC (   strm,
  items,
  size 
)    (*((strm)->zalloc))((strm)->opaque, (items), (size))

◆ ZALLOC [2/2]

#define ZALLOC (   strm,
  items,
  size 
)    (*((strm)->zalloc))((strm)->opaque, (items), (size))

◆ ZFREE [1/2]

#define ZFREE (   strm,
  addr 
)    (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))

◆ ZFREE [2/2]

#define ZFREE (   strm,
  addr 
)    (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))

◆ ZLIB_INTERNAL [1/2]

#define ZLIB_INTERNAL

◆ ZLIB_INTERNAL [2/2]

#define ZLIB_INTERNAL

◆ ZUTIL_H

#define ZUTIL_H

Typedef Documentation

◆ uch

typedef unsigned char uch

◆ uchf

typedef uch FAR uchf

◆ ulg

typedef unsigned long ulg

◆ ush

typedef unsigned short ush

◆ ushf

typedef ush FAR ushf

Function Documentation

◆ OF() [1/5]

void zmemcpy OF ( (Bytef *dest, const Bytef *source, uInt len)  )

◆ OF() [2/5]

int zmemcmp OF ( (const Bytef *s1, const Bytef *s2, uInt len)  )

◆ OF() [3/5]

void zmemzero OF ( (Bytef *dest, uInt len)  )

◆ OF() [4/5]

voidpf zcalloc OF ( (voidpf opaque, unsigned items, unsigned size)  )

◆ OF() [5/5]

void zcfree OF ( (voidpf opaque, voidpf ptr)  )

Variable Documentation

◆ z_errmsg

const char* const z_errmsg[10]