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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
1 #ifndef CRC_H
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
2 #define CRC_H
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
3
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
4 typedef uint32_t AVCRC;
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
5
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
6 extern AVCRC *av_crcEDB88320;
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
7 extern AVCRC *av_crc04C11DB7;
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
8 extern AVCRC *av_crc8005 ;
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
9 extern AVCRC *av_crc07 ;
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
10
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
11 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
12 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length);
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
13
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
14 #endif /* CRC_H */
664e2d2b92b9 generic crc calculation code
michael
parents:
diff changeset
15