annotate crc.h @ 96:7d343463873b
libavutil
revert aligned realloc() changesm this should be identical to r5784
author |
michael |
date |
Thu, 17 Aug 2006 08:18:48 +0000 |
parents |
664e2d2b92b9 |
children |
11be8e0d1344 |
rev |
line source |
30
|
1 #ifndef CRC_H
|
|
2 #define CRC_H
|
|
3
|
|
4 typedef uint32_t AVCRC;
|
|
5
|
|
6 extern AVCRC *av_crcEDB88320;
|
|
7 extern AVCRC *av_crc04C11DB7;
|
|
8 extern AVCRC *av_crc8005 ;
|
|
9 extern AVCRC *av_crc07 ;
|
|
10
|
|
11 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
|
|
12 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length);
|
|
13
|
|
14 #endif /* CRC_H */
|
|
15
|