annotate crc.h @ 38:e7df68ba31a2
libavutil
clip_uint8 should return an uint8_t instead of an int (patch by Panagiotis Issaris < takis.issaris _at_ uhasselt.be >)
author |
aurel |
date |
Sun, 30 Apr 2006 17:49:11 +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
|