Lines Matching refs:pCrcLookup
220 static inline INT calcCrc_Bytes(USHORT *const pCrc, const USHORT *pCrcLookup,
243 hCrcInfo->pCrcLookup = in FDKcrcInit()
249 hCrcInfo->pCrcLookup = crcLookup_16_15_5_0; in FDKcrcInit()
252 hCrcInfo->pCrcLookup = crcLookup_16_15_2_0; in FDKcrcInit()
255 hCrcInfo->pCrcLookup = crcLookup_16_12_5_0; in FDKcrcInit()
376 static inline INT calcCrc_Bytes(USHORT *const pCrc, const USHORT *pCrcLookup, in calcCrc_Bytes() argument
387 (crc << 8) ^ pCrcLookup[((crc >> 8) ^ ((USHORT)(data >> 24))) & 0xFF]; in calcCrc_Bytes()
389 (crc << 8) ^ pCrcLookup[((crc >> 8) ^ ((USHORT)(data >> 16))) & 0xFF]; in calcCrc_Bytes()
391 (crc << 8) ^ pCrcLookup[((crc >> 8) ^ ((USHORT)(data >> 8))) & 0xFF]; in calcCrc_Bytes()
393 (crc << 8) ^ pCrcLookup[((crc >> 8) ^ ((USHORT)(data >> 0))) & 0xFF]; in calcCrc_Bytes()
400 pCrcLookup[((crc >> 8) ^ (USHORT)(data >> bits)) & 0xFF]; in calcCrc_Bytes()
404 crc = (crc << 8) ^ pCrcLookup[(crc >> 8) & 0xFF]; in calcCrc_Bytes()
453 if (hCrcInfo->pCrcLookup) { in crcCalc()
454 rBits -= (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, &bsReader, words) << 3); in crcCalc()
468 if ((hCrcInfo->pCrcLookup) && (rBits > 8)) { in crcCalc()
470 (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, NULL, rBits >> 3) << 3); in crcCalc()