mightymandel v16

GPU-based Mandelbrot set explorer

crc.h File Reference


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

Go to the source code of this file.


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.

bufThe data to checksum.
lenThe length of the data.
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: