Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_sequences.c336 U32 const mlBits = ML_bits[mlCode]; in ZSTD_encodeSequences_body() local
347 if (MEM_32bits() || (ofBits+mlBits+llBits >= 64-7-(LLFSELog+MLFSELog+OffFSELog))) in ZSTD_encodeSequences_body()
350 if (MEM_32bits() && ((llBits+mlBits)>24)) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
351 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in ZSTD_encodeSequences_body()
352 if (MEM_32bits() || (ofBits+mlBits+llBits > 56)) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress_block.c952 BYTE const mlBits = mlDInfo.nbAdditionalBits; in ZSTD_decodeSequence() local
954 BYTE const totalBits = llBits+mlBits+ofBits; in ZSTD_decodeSequence()
997 if (mlBits > 0) in ZSTD_decodeSequence()
998 seq.matchLength += BIT_readBitsFast(&seqState->DStream, mlBits/*>0*/); in ZSTD_decodeSequence()
1000 if (MEM_32bits() && (mlBits+llBits >= STREAM_ACCUMULATOR_MIN_32-LONG_OFFSETS_MAX_EXTRA_BITS_32)) in ZSTD_decodeSequence()