FFmpeg
4.0
|
Adler-32 hash function implementation. More...
Files | |
file | adler32.c |
Computes the Adler-32 checksum of a data stream. | |
file | adler32.h |
Public header for Adler-32 hash function implementation. | |
Functions | |
unsigned long | av_adler32_update (unsigned long adler, const uint8_t *buf, unsigned int len) av_pure |
Calculate the Adler32 checksum of a buffer. More... | |
Adler-32 hash function implementation.
Calculate the Adler32 checksum of a buffer.
Passing the return value to a subsequent av_adler32_update() call allows the checksum of multiple buffers to be calculated as though they were concatenated.
adler | initial checksum value |
buf | pointer to input buffer |
len | size of input buffer |
Definition at line 44 of file adler32.c.
Referenced by av_hash_update(), compute_crc_of_packets(), crc_write_packet(), filter_frame(), framecrc_write_header(), framecrc_write_packet(), main(), video_decode(), video_decode_example(), and video_frame_cksum().