Searched refs:crcMask (Results 1 – 6 of 6) 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/libSBRdec/src/ |
D | sbr_crc.cpp | 124 USHORT flag = (hCrcBuf->crcState & hCrcBuf->crcMask) ? 1 : 0; in calcCRC() 144 CrcBuf.crcMask = SBR_CRC_MASK; in getCrc()
|
D | sbr_crc.h | 130 USHORT crcMask; member
|
/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()
|