comparison crc.h @ 567:bd4052d9050c libavutil

Globally rename the header inclusion guard names. Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_".
author stefano
date Sun, 31 Aug 2008 07:39:47 +0000
parents b4ff998c79e3
children 8c48a1b999a3
comparison
equal deleted inserted replaced
566:34198f8250cf 567:bd4052d9050c
16 * You should have received a copy of the GNU Lesser General Public 16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software 17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */ 19 */
20 20
21 #ifndef FFMPEG_CRC_H 21 #ifndef AVUTIL_CRC_H
22 #define FFMPEG_CRC_H 22 #define AVUTIL_CRC_H
23 23
24 #include <stdint.h> 24 #include <stdint.h>
25 #include <stddef.h> 25 #include <stddef.h>
26 #include "common.h" 26 #include "common.h"
27 27
38 38
39 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); 39 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
40 const AVCRC *av_crc_get_table(AVCRCId crc_id); 40 const AVCRC *av_crc_get_table(AVCRCId crc_id);
41 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure; 41 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure;
42 42
43 #endif /* FFMPEG_CRC_H */ 43 #endif /* AVUTIL_CRC_H */
44 44