#include "config.h"
#include "thread.h"
#include "avassert.h"
#include "bswap.h"
#include "common.h"
#include "crc.h"
Go to the source code of this file.
#define CRC_TABLE_SIZE 1024 |
#define DECLARE_CRC_INIT_TABLE_ONCE |
( |
|
id, |
|
|
|
le, |
|
|
|
bits, |
|
|
|
poly |
|
) |
| |
Value:
static void id ## _init_table_once(void) \
}
#define av_assert0(cond)
assert() equivalent, that is always enabled.
int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size)
Initialize a CRC table.
static AVCRC av_crc_table[AV_CRC_MAX][CRC_TABLE_SIZE]
Definition at line 322 of file crc.c.