const AVCRC * av_crc_get_table(AVCRCId crc_id)
Get an initialized standard CRC table.
Macro definitions for various function/variable attributes.
uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure
Calculate the CRC of a block.
int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size)
Initialize a CRC table.