Lines Matching refs:hBs
217 USHORT crcPoly, HANDLE_FDK_BITSTREAM hBs,
221 HANDLE_FDK_BITSTREAM hBs, INT nBytes);
223 static void crcCalc(HANDLE_FDK_CRCINFO hCrcInfo, HANDLE_FDK_BITSTREAM hBs,
277 INT FDKcrcStartReg(HANDLE_FDK_CRCINFO hCrcInfo, const HANDLE_FDK_BITSTREAM hBs, in FDKcrcStartReg() argument
284 hCrcInfo->crcRegData[reg].validBits = (INT)FDKgetValidBits(hBs); in FDKcrcStartReg()
292 INT FDKcrcEndReg(HANDLE_FDK_CRCINFO hCrcInfo, const HANDLE_FDK_BITSTREAM hBs, in FDKcrcEndReg() argument
297 if (hBs->ConfigCache == BS_WRITER) { in FDKcrcEndReg()
299 (INT)FDKgetValidBits(hBs) - hCrcInfo->crcRegData[reg].validBits; in FDKcrcEndReg()
302 hCrcInfo->crcRegData[reg].validBits - (INT)FDKgetValidBits(hBs); in FDKcrcEndReg()
309 crcCalc(hCrcInfo, hBs, reg); in FDKcrcEndReg()
336 USHORT crcPoly, HANDLE_FDK_BITSTREAM hBs, in calcCrc_Bits() argument
341 if (hBs != NULL) { in calcCrc_Bits()
343 USHORT tmp = FDKreadBit(hBs); // process single bit in calcCrc_Bits()
377 HANDLE_FDK_BITSTREAM hBs, INT nBytes) { in calcCrc_Bytes() argument
381 if (hBs != NULL) { in calcCrc_Bytes()
385 data = (ULONG)FDKreadBits(hBs, 32); in calcCrc_Bytes()
397 data = (ULONG)FDKreadBits(hBs, bits); in calcCrc_Bytes()
426 static void crcCalc(HANDLE_FDK_CRCINFO hCrcInfo, HANDLE_FDK_BITSTREAM hBs, in crcCalc() argument
432 if (hBs->ConfigCache == BS_READER) { in crcCalc()
433 bsReader = *hBs; in crcCalc()
437 FDKinitBitStream(&bsReader, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, in crcCalc()
438 hBs->hBitBuf.ValidBits, BS_READER); in crcCalc()