Lines Matching refs:hBs
182 HANDLE_FDK_BITSTREAM hBs,
189 HANDLE_FDK_BITSTREAM hBs,
195 HANDLE_FDK_BITSTREAM hBs,
256 const HANDLE_FDK_BITSTREAM hBs, in FDKcrcStartReg() argument
265 hCrcInfo->crcRegData[reg].validBits = FDKgetValidBits(hBs) ; in FDKcrcStartReg()
275 const HANDLE_FDK_BITSTREAM hBs, in FDKcrcEndReg() argument
281 if (hBs->ConfigCache==BS_WRITER) { in FDKcrcEndReg()
282 …hCrcInfo->crcRegData[reg].bitBufCntBits = FDKgetValidBits(hBs) - hCrcInfo->crcRegData[reg].validBi… in FDKcrcEndReg()
285 …rcInfo->crcRegData[reg].bitBufCntBits = hCrcInfo->crcRegData[reg].validBits - FDKgetValidBits(hBs); in FDKcrcEndReg()
292 crcCalc( hCrcInfo, hBs, reg); in FDKcrcEndReg()
324 HANDLE_FDK_BITSTREAM hBs, in calcCrc_Bits() argument
331 if (hBs!=NULL) { in calcCrc_Bits()
333 USHORT tmp = FDKreadBits(hBs,1); // process single bit in calcCrc_Bits()
369 HANDLE_FDK_BITSTREAM hBs, in calcCrc_Bytes() argument
376 if (hBs!=NULL) { in calcCrc_Bytes()
378 crc = (crc<<8)^pCrcLookup[((crc>>8)^((UCHAR)FDKreadBits(hBs,8)))&0xFF]; in calcCrc_Bytes()
405 HANDLE_FDK_BITSTREAM hBs, in crcCalc() argument
413 if (hBs->ConfigCache==BS_READER) { in crcCalc()
414 bsReader = *hBs; in crcCalc()
418 …FDKinitBitStream(&bsReader, hBs->hBitBuf.Buffer, hBs->hBitBuf.bufSize, hBs->hBitBuf.ValidBits, BS_… in crcCalc()