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
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