28 static const unsigned p[7][3] = {
39 for (
i = 0;
i <
sizeof(buf);
i++)
42 for (
i = 0;
i < 7;
i++) {
44 printf(
"crc %08X = %X\n", p[
i][1],
av_crc(
ctx, 0, buf,
sizeof(buf)));
Public header for CRC hash function implementation.
const AVCRC * av_crc_get_table(AVCRCId crc_id)
Get an initialized standard CRC table.
uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t length)
Calculate the CRC of a block.