Lines Matching refs:CacheWord
118 UINT CacheWord; member
145 hBitStream->CacheWord = hBitStream->BitsInCache = 0;
170 hBitStream->CacheWord = hBitStream->BitsInCache = 0;
186 hBitStream->CacheWord = hBitStream->BitsInCache = 0;
217 if (missingBits != 32) bits = hBitStream->CacheWord << missingBits; in FDKreadBits()
218 hBitStream->CacheWord = FDK_get32(&hBitStream->hBitBuf); in FDKreadBits()
224 return (bits | (hBitStream->CacheWord >> hBitStream->BitsInCache)) & in FDKreadBits()
230 hBitStream->CacheWord = FDK_get32(&hBitStream->hBitBuf); in FDKreadBit()
232 return hBitStream->CacheWord >> 31; in FDKreadBit()
236 return (hBitStream->CacheWord >> hBitStream->BitsInCache) & 1; in FDKreadBit()
256 bits = hBitStream->CacheWord << missingBits; in FDKread2Bits()
257 hBitStream->CacheWord = FDK_get32(&hBitStream->hBitBuf); in FDKread2Bits()
263 return (bits | (hBitStream->CacheWord >> hBitStream->BitsInCache)) & 0x3; in FDKread2Bits()
281 hBitStream->CacheWord = (hBitStream->CacheWord << freeBits) | in FDKreadBitsBwd()
288 return (hBitStream->CacheWord >> hBitStream->BitsInCache) & validMask; in FDKreadBitsBwd()
352 hBitStream->CacheWord = in FDKwriteBits()
353 (hBitStream->CacheWord << numberOfBits) | (value & validMask); in FDKwriteBits()
366 UINT CacheWord = in FDKwriteBits() local
367 (missing_bits == 32) ? 0 : (hBitStream->CacheWord << missing_bits); in FDKwriteBits()
368 CacheWord |= (value >> (remaining_bits)); in FDKwriteBits()
369 FDK_put(&hBitStream->hBitBuf, CacheWord, 32); in FDKwriteBits()
371 hBitStream->CacheWord = value; in FDKwriteBits()
393 hBitStream->CacheWord = in FDKwriteBitsBwd()
394 (hBitStream->CacheWord << numberOfBits) | (value & validMask); in FDKwriteBitsBwd()
396 FDK_putBwd(&hBitStream->hBitBuf, hBitStream->CacheWord, in FDKwriteBitsBwd()
399 hBitStream->CacheWord = (value & validMask); in FDKwriteBitsBwd()
457 FDK_put(&hBitStream->hBitBuf, hBitStream->CacheWord, in FDKsyncCache()
461 hBitStream->CacheWord = 0; in FDKsyncCache()
475 FDK_putBwd(&hBitStream->hBitBuf, hBitStream->CacheWord, in FDKsyncCacheBwd()
480 hBitStream->CacheWord = 0; in FDKsyncCacheBwd()