Searched refs:bitsConsumed (Results 1 – 3 of 3) sorted by relevance
84 unsigned bitsConsumed; member269 …bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; /* ensures bitsConsumed is alway… in BIT_initDStream()297 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()300 bitD->bitsConsumed += (U32)(sizeof(bitD->bitContainer) - srcSize)*8; in BIT_initDStream()346 …MiddleBits(bitD->bitContainer, (sizeof(bitD->bitContainer)*8) - bitD->bitsConsumed - nbBits, nbBit… in BIT_lookBits()350 …return ((bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> 1) >> ((regMask-nbBits) & regMas… in BIT_lookBits()360 … return (bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> (((regMask+1)-nbBits) & regMask); in BIT_lookBitsFast()365 bitD->bitsConsumed += nbBits; in BIT_skipBits()399 assert(bitD->bitsConsumed <= sizeof(bitD->bitContainer)*8); in BIT_reloadDStreamFast()400 bitD->ptr -= bitD->bitsConsumed >> 3; in BIT_reloadDStreamFast()[all …]
141 size_t const bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in HUF_initDStream() local143 assert(bitsConsumed <= 8); in HUF_initDStream()144 return value << bitsConsumed; in HUF_initDStream()262 bit->bitsConsumed = ZSTD_countTrailingZeros((size_t)args->bits[stream]); in HUF_initRemainingDStream()1151 if (DStream->bitsConsumed < (sizeof(DStream->bitContainer)*8)) { in HUF_decodeLastSymbolX2()1153 if (DStream->bitsConsumed > (sizeof(DStream->bitContainer)*8)) in HUF_decodeLastSymbolX2()1155 DStream->bitsConsumed = (sizeof(DStream->bitContainer)*8); in HUF_decodeLastSymbolX2()
1206 U32 const extraBits = ofBits - MIN(ofBits, 32 - seqState->DStream.bitsConsumed);