typedefenum {
AV_CRC_8_ATM,
AV_CRC_16_ANSI,
AV_CRC_16_CCITT,
AV_CRC_32_IEEE,
AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */
AV_CRC_16_ANSI_LE, /*< reversed bitorder version of AV_CRC_16_ANSI */
AV_CRC_24_IEEE,
AV_CRC_8_EBU,
AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil. */
}AVCRCId;
/** *InitializeaCRCtable. *@paramctxmustbeanarrayofsizesizeof(AVCRC)*257orsizeof(AVCRC)*1024 *@paramleIf1,thelowestbitrepresentsthecoefficientforthehighest *exponentofthecorrespondingpolynomial(bothforpolyand *actualCRC). *If0,youmustswaptheCRCparameterandtheresultofav_crc *ifyouneedthestandardrepresentation(canbesimplifiedin *mostcasestoe.g.bswap16): *av_bswap32(crc<<(32-bits)) *@parambitsnumberofbitsfortheCRC *@parampolygeneratorpolynomialwithoutthex**bitscoefficient,inthe *representationasspecifiedbyle *@paramctx_sizesizeofctxinbytes *@return<0onfailure
*/ int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.