Defines | Functions
infback.c File Reference
#include "pcl/surface/3rdparty/opennurbs/zutil.h"
#include "pcl/surface/3rdparty/opennurbs/inftrees.h"
#include "pcl/surface/3rdparty/opennurbs/inflate.h"
#include "pcl/surface/3rdparty/opennurbs/inffast.h"
#include "pcl/surface/3rdparty/opennurbs/inffixed.h"
Include dependency graph for infback.c:

Go to the source code of this file.

Defines

#define BITS(n)   ((unsigned)hold & ((1U << (n)) - 1))
#define BYTEBITS()
#define DROPBITS(n)
#define INITBITS()
#define LOAD()
#define NEEDBITS(n)
#define PULL()
#define PULLBYTE()
#define RESTORE()
#define ROOM()

Functions

local void fixedtables (struct inflate_state FAR *state)
int ZEXPORT inflateBack (z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc)
int ZEXPORT inflateBackEnd (z_streamp strm)
int ZEXPORT inflateBackInit_ (z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size)
local void fixedtables OF ((struct inflate_state FAR *state))

Define Documentation

#define BITS (   n)    ((unsigned)hold & ((1U << (n)) - 1))

Definition at line 181 of file infback.c.

#define BYTEBITS ( )
Value:
do { \
        hold >>= bits & 7; \
        bits -= bits & 7; \
    } while (0)

Definition at line 192 of file infback.c.

#define DROPBITS (   n)
Value:
do { \
        hold >>= (n); \
        bits -= (unsigned)(n); \
    } while (0)

Definition at line 185 of file infback.c.

#define INITBITS ( )
Value:
do { \
        hold = 0; \
        bits = 0; \
    } while (0)

Definition at line 141 of file infback.c.

#define LOAD ( )
Value:
do { \
        put = strm->next_out; \
        left = strm->avail_out; \
        next = strm->next_in; \
        have = strm->avail_in; \
        hold = state->hold; \
        bits = state->bits; \
    } while (0)

Definition at line 119 of file infback.c.

#define NEEDBITS (   n)
Value:
do { \
        while (bits < (unsigned)(n)) \
            PULLBYTE(); \
    } while (0)

Definition at line 174 of file infback.c.

#define PULL ( )
Value:
do { \
        if (have == 0) { \
            have = in(in_desc, &next); \
            if (have == 0) { \
                next = Z_NULL; \
                ret = Z_BUF_ERROR; \
                goto inf_leave; \
            } \
        } \
    } while (0)

Definition at line 149 of file infback.c.

#define PULLBYTE ( )
Value:
do { \
        PULL(); \
        have--; \
        hold += (unsigned int)(*next++) << bits; \
        bits += 8; \
    } while (0)

Definition at line 163 of file infback.c.

#define RESTORE ( )
Value:
do { \
        strm->next_out = put; \
        strm->avail_out = left; \
        strm->next_in = next; \
        strm->avail_in = have; \
        state->hold = hold; \
        state->bits = bits; \
    } while (0)

Definition at line 130 of file infback.c.

#define ROOM ( )
Value:
do { \
        if (left == 0) { \
            put = state->window; \
            left = state->wsize; \
            state->whave = left; \
            if (out(out_desc, put, left)) { \
                ret = Z_BUF_ERROR; \
                goto inf_leave; \
            } \
        } \
    } while (0)

Definition at line 201 of file infback.c.


Function Documentation

local void fixedtables ( struct inflate_state FAR *  state)

Definition at line 73 of file infback.c.

int ZEXPORT inflateBack ( z_streamp  strm,
in_func  in,
void FAR *  in_desc,
out_func  out,
void FAR *  out_desc 
)

Definition at line 241 of file infback.c.

int ZEXPORT inflateBackEnd ( z_streamp  strm)

Definition at line 614 of file infback.c.

int ZEXPORT inflateBackInit_ ( z_streamp  strm,
int  windowBits,
unsigned char FAR *  window,
const char *  version,
int  stream_size 
)

Definition at line 28 of file infback.c.

local void fixedtables OF ( (struct inflate_state FAR *state)  )


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:45