Lines Matching refs:bufBits
135 hBitBuf->bufBits = (bufSize << 3); in FDK_InitBitBuffer()
137 FDK_ASSERT(hBitBuf->ValidBits <= hBitBuf->bufBits); in FDK_InitBitBuffer()
161 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1); in FDK_get()
183 hBitBuf->BitNdx = BitNdx & (hBitBuf->bufBits - 1); in FDK_get32()
187 if (BitNdx <= hBitBuf->bufBits) { in FDK_get32()
221 hBitBuf->BitNdx = (hBitBuf->BitNdx - numberOfBits) & (hBitBuf->bufBits - 1); in FDK_getBwd()
253 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1); in FDK_put()
303 hBitBuf->BitNdx = (hBitBuf->BitNdx - numberOfBits) & (hBitBuf->bufBits - 1); in FDK_putBwd()
344 (hBitBuf->bufBits - 1); in FDK_pushBack()
354 (UINT)((INT)hBitBuf->BitNdx + (INT)numberOfBits) & (hBitBuf->bufBits - 1); in FDK_pushForward()
362 return (hBitBuf->bufBits - hBitBuf->ValidBits); in FDK_getFreeBits()
371 UINT bToRead = (hBitBuf->bufBits - hBitBuf->ValidBits) >> 3; in FDK_Feed()
412 (h_BitBufSrc->BitNdx + bToRead) & (h_BitBufSrc->bufBits - 1); in CopyAlignedBlock()