Searched refs:crcMask (Results 1 – 4 of 4) sorted by relevance
/external/aac/libFDK/src/ |
D | FDK_crc.cpp | 216 static inline INT calcCrc_Bits(USHORT *const pCrc, USHORT crcMask, 239 hCrcInfo->crcMask = (crcLen) ? (1 << (crcLen - 1)) : 0; in FDKcrcInit() 318 return (hCrcInfo->crcValue & (((hCrcInfo->crcMask - 1) << 1) + 1)); in FDKcrcGetCRC() 335 static inline INT calcCrc_Bits(USHORT *const pCrc, USHORT crcMask, in calcCrc_Bits() argument 344 tmp ^= ((crc & crcMask) ? 1 : 0); in calcCrc_Bits() 351 USHORT tmp = (crc & crcMask) ? crcPoly : 0; // process single bit in calcCrc_Bits() 456 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, in crcCalc() 462 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, in crcCalc() 474 calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, NULL, rBits); in crcCalc()
|
/external/aac/libSBRenc/src/ |
D | env_bit.cpp | 128 static void crcAdvance(USHORT crcPoly, USHORT crcMask, USHORT *crc, in crcAdvance() argument 134 flag = ((*crc) & crcMask) ? (1) : (0); in crcAdvance()
|
/external/aac/libFDK/include/ |
D | FDK_crc.h | 132 USHORT crcMask; /*!< CRC mask. */ member
|
/external/lzma/C/ |
D | 7zArcIn.c | 1302 Byte crcMask = 0; in SzReadHeader2() local 1333 p->CRCs.Defs[byteIndex] = crcMask; in SzReadHeader2() 1335 crcMask = 0; in SzReadHeader2() 1403 crcMask |= mask; in SzReadHeader2() 1409 crcMask |= mask; in SzReadHeader2() 1425 crcMask |= mask; in SzReadHeader2() 1434 p->CRCs.Defs[byteIndex] = crcMask; in SzReadHeader2()
|