OLD | NEW |
1 /* | 1 /* |
2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> | 2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> |
3 * | 3 * |
4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
5 * | 5 * |
6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 24 matching lines...) Expand all Loading... |
35 AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */ | 35 AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */ |
36 AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil
. */ | 36 AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil
. */ |
37 }AVCRCId; | 37 }AVCRCId; |
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, siz
e_t length) av_pure; | 41 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, siz
e_t length) av_pure; |
42 | 42 |
43 #endif /* AVUTIL_CRC_H */ | 43 #endif /* AVUTIL_CRC_H */ |
44 | 44 |
OLD | NEW |