Home
last modified time | relevance | path

Searched refs:extraBits (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/lib/zstd/
Ddecompress.c1194 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN); in ZSTD_decodeSequenceLong_generic() local
1195 …offset = OF_base[ofCode] + (BIT_readBitsFast(&seqState->DStream, ofBits - extraBits) << extraBits); in ZSTD_decodeSequenceLong_generic()
1196 if (ZSTD_32bits() || extraBits) in ZSTD_decodeSequenceLong_generic()
1198 if (extraBits) in ZSTD_decodeSequenceLong_generic()
1199 offset += BIT_readBitsFast(&seqState->DStream, extraBits); in ZSTD_decodeSequenceLong_generic()
Dcompress.c770 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal() local
771 if (extraBits) { in ZSTD_compressSequences_internal()
772 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset, extraBits); in ZSTD_compressSequences_internal()
775 BIT_addBits(&blockStream, sequences[nbSeq - 1].offset >> extraBits, ofBits - extraBits); in ZSTD_compressSequences_internal()
805 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal() local
806 if (extraBits) { in ZSTD_compressSequences_internal()
807 BIT_addBits(&blockStream, sequences[n].offset, extraBits); in ZSTD_compressSequences_internal()
810 BIT_addBits(&blockStream, sequences[n].offset >> extraBits, ofBits - extraBits); /* 31 */ in ZSTD_compressSequences_internal()