Lines Matching refs:BitNdx
132 hBitBuf->BitNdx = 0 ;
155 hBitBuf->BitNdx = 0 ;
160 UINT byteOffset = hBitBuf->BitNdx >> 3 ;
161 UINT bitOffset = hBitBuf->BitNdx & 0x07 ;
163 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1) ;
185 UINT BitNdx = hBitBuf->BitNdx + 32;
186 if (BitNdx <= hBitBuf->bufBits)
188 hBitBuf->BitNdx = BitNdx;
192 UINT byteOffset = (BitNdx-1) >> 3;
198 if ( (BitNdx = (BitNdx&7)) != 0 ) {
199 cache = (cache >> (8-BitNdx)) | ((UINT)hBitBuf->Buffer [byteOffset-4] << (24+BitNdx));
206 int nBits = (INT)hBitBuf->bufBits-(INT)hBitBuf->BitNdx;
216 UINT byteOffset = hBitBuf->BitNdx >> 3 ;
217 UINT bitOffset = hBitBuf->BitNdx & 0x07 ;
221 hBitBuf->BitNdx = (hBitBuf->BitNdx - numberOfBits) & (hBitBuf->bufBits - 1) ;
252 UINT byteOffset = hBitBuf->BitNdx >> 3 ;
253 UINT bitOffset = hBitBuf->BitNdx & 0x07 ;
255 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1) ;
278 UINT byteOffset = hBitBuf->BitNdx >> 3 ;
279 UINT bitOffset = 7 - (hBitBuf->BitNdx & 0x07) ;
286 hBitBuf->BitNdx = (hBitBuf->BitNdx - numberOfBits) & (hBitBuf->bufBits - 1) ;
318 hBitBuf->BitNdx = (hBitBuf->BitNdx - numberOfBits) & (hBitBuf->bufBits - 1) ;
325 hBitBuf->BitNdx = (hBitBuf->BitNdx + numberOfBits) & (hBitBuf->bufBits - 1) ;
399 UINT byteOffset = h_BitBufSrc->BitNdx >> 3 ;
410 h_BitBufSrc->BitNdx = (h_BitBufSrc->BitNdx + bToRead) & (h_BitBufSrc->bufBits - 1) ;
432 if (!(h_BitBufSrc->BitNdx & 0x07)) {