mightymandel v16

GPU-based Mandelbrot set explorer

crc.h File Reference

(v16)

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned long crc (const unsigned char *buf, int len)
 Compute CRC (cyclic redundancy code) as specified by PNG.

Function Documentation

unsigned long crc ( const unsigned char *  buf,
int  len 
)

Compute CRC (cyclic redundancy code) as specified by PNG.

Parameters
bufThe data to checksum.
lenThe length of the data.
Returns
The CRC value.

Definition at line 69 of file crc.c.

References update_crc().

Referenced by parse_png(), png_iTXt(), and update_crc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: