Revision e669590a

View differences:

libavutil/crc.c
43 43
/**
44 44
 * Initialize a CRC table.
45 45
 * @param ctx must be an array of size sizeof(AVCRC)*257 or sizeof(AVCRC)*1024
46
 * @param cts_size size of ctx in bytes
47 46
 * @param le If 1, the lowest bit represents the coefficient for the highest
48 47
 *           exponent of the corresponding polynomial (both for poly and
49 48
 *           actual CRC).
......
54 53
 * @param bits number of bits for the CRC
55 54
 * @param poly generator polynomial without the x**bits coefficient, in the
56 55
 *             representation as specified by le
56
 * @param ctx_size size of ctx in bytes
57 57
 * @return <0 on failure
58 58
 */
59 59
int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size){

Also available in: Unified diff