FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Enumerations | Functions
crc.h File Reference

Public header for CRC hash function implementation. More...

#include <stdint.h>
#include <stddef.h>
#include "attributes.h"
#include "version.h"

Go to the source code of this file.

Typedefs

typedef uint32_t AVCRC
 

Enumerations

enum  AVCRCId {
  AV_CRC_8_ATM, AV_CRC_16_ANSI, AV_CRC_16_CCITT, AV_CRC_32_IEEE,
  AV_CRC_32_IEEE_LE, AV_CRC_16_ANSI_LE, AV_CRC_24_IEEE = 12, AV_CRC_MAX
}
 

Functions

int av_crc_init (AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size)
 Initialize a CRC table. More...
 
const AVCRCav_crc_get_table (AVCRCId crc_id)
 Get an initialized standard CRC table. More...
 
uint32_t av_crc (const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t length) av_pure
 Calculate the CRC of a block. More...
 

Detailed Description

Public header for CRC hash function implementation.

Definition in file crc.h.