Home
last modified time | relevance | path

Searched refs:bitsConsumed (Results 1 – 3 of 3) sorted by relevance

/linux/lib/zstd/common/
A Dbitstream.h84 unsigned bitsConsumed; member
297 bitD->bitsConsumed = lastByte ? 8 - BIT_highbit32(lastByte) : 0; in BIT_initDStream()
300 bitD->bitsConsumed += (U32)(sizeof(bitD->bitContainer) - srcSize)*8; in BIT_initDStream()
351 … return (bitD->bitContainer << (bitD->bitsConsumed & regMask)) >> (((regMask+1)-nbBits) & regMask); in BIT_lookBitsFast()
356 bitD->bitsConsumed += nbBits; in BIT_skipBits()
390 assert(bitD->bitsConsumed <= sizeof(bitD->bitContainer)*8); in BIT_reloadDStreamFast()
391 bitD->ptr -= bitD->bitsConsumed >> 3; in BIT_reloadDStreamFast()
392 bitD->bitsConsumed &= 7; in BIT_reloadDStreamFast()
411 if (bitD->bitsConsumed < sizeof(bitD->bitContainer)*8) return BIT_DStream_endOfBuffer; in BIT_reloadDStream()
415 { U32 nbBytes = bitD->bitsConsumed >> 3; in BIT_reloadDStream()
[all …]
/linux/lib/zstd/decompress/
A Dhuf_decompress.c729 if (DStream->bitsConsumed < (sizeof(DStream->bitContainer)*8)) { in HUF_decodeLastSymbolX2()
731 if (DStream->bitsConsumed > (sizeof(DStream->bitContainer)*8)) in HUF_decodeLastSymbolX2()
733 DStream->bitsConsumed = (sizeof(DStream->bitContainer)*8); in HUF_decodeLastSymbolX2()
A Dzstd_decompress_block.c963 U32 const extraBits = ofBits - MIN(ofBits, 32 - seqState->DStream.bitsConsumed); in ZSTD_decodeSequence()

Completed in 12 milliseconds