Defines | Functions
crc32.c File Reference
#include "pcl/surface/3rdparty/opennurbs/zutil.h"
#include "pcl/surface/3rdparty/opennurbs/crc32.h"
Include dependency graph for crc32.c:

Go to the source code of this file.

Defines

#define DO1   crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
#define DO8   DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1
#define GF2_DIM   32 /* dimension of GF(2) vectors (length of CRC) */
#define local   static
#define TBLS   1

Functions

unsigned int ZEXPORT crc32 (unsigned int crc, const unsigned char FAR *buf, unsigned len)
uLong ZEXPORT crc32_combine (uLong crc1, uLong crc2, z_off_t len2)
const unsigned int FAR *ZEXPORT get_crc_table ()
local void gf2_matrix_square (unsigned int *square, unsigned int *mat)
local unsigned int gf2_matrix_times (unsigned int *mat, unsigned int vec)
local unsigned int gf2_matrix_times OF ((unsigned int *mat, unsigned int vec))
local void gf2_matrix_square OF ((unsigned int *square, unsigned int *mat))

Define Documentation

#define DO1   crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)

Definition at line 215 of file crc32.c.

#define DO8   DO1; DO1; DO1; DO1; DO1; DO1; DO1; DO1

Definition at line 216 of file crc32.c.

#define GF2_DIM   32 /* dimension of GF(2) vectors (length of CRC) */

Definition at line 339 of file crc32.c.

#define local   static

Definition at line 31 of file crc32.c.

#define TBLS   1

Definition at line 64 of file crc32.c.


Function Documentation

unsigned int ZEXPORT crc32 ( unsigned int  crc,
const unsigned char FAR *  buf,
unsigned  len 
)

Definition at line 219 of file crc32.c.

uLong ZEXPORT crc32_combine ( uLong  crc1,
uLong  crc2,
z_off_t  len2 
)

Definition at line 370 of file crc32.c.

const unsigned int FAR* ZEXPORT get_crc_table ( )

Definition at line 205 of file crc32.c.

local void gf2_matrix_square ( unsigned int *  square,
unsigned int *  mat 
)

Definition at line 359 of file crc32.c.

local unsigned int gf2_matrix_times ( unsigned int *  mat,
unsigned int  vec 
)

Definition at line 342 of file crc32.c.

local unsigned int gf2_matrix_times OF ( (unsigned int *mat, unsigned int vec)  )
local void gf2_matrix_square OF ( (unsigned int *square, unsigned int *mat)  )


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