Home
last modified time | relevance | path

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

/external/zstd/lib/compress/
Dzstd_compress_sequences.c330 U32 const mlBits = ML_bits[mlCode]; in ZSTD_encodeSequences_body() local
341 if (MEM_32bits() || (ofBits+mlBits+llBits >= 64-7-(LLFSELog+MLFSELog+OffFSELog))) in ZSTD_encodeSequences_body()
344 if (MEM_32bits() && ((llBits+mlBits)>24)) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
345 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in ZSTD_encodeSequences_body()
346 if (MEM_32bits() || (ofBits+mlBits+llBits > 56)) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
/external/zstd/lib/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()
/external/zstd/tests/
Ddecodecorpus.c964 U32 const mlBits = ML_bits[mlCode]; in writeSequences() local
970 if (MEM_32bits() || (ofBits+mlBits+llBits >= 64-7-(LLFSELog+MLFSELog+OffFSELog))) in writeSequences()
973 if (MEM_32bits() && ((llBits+mlBits)>24)) BIT_flushBits(&blockStream); in writeSequences()
974 BIT_addBits(&blockStream, sequences[n].matchLength, mlBits); in writeSequences()
/external/zstd/lib/legacy/
Dzstd_v06.c3297 U32 const mlBits = ML_bits[mlCode]; in ZSTDv06_decodeSequence() local
3299 U32 const totalBits = llBits+mlBits+ofBits; in ZSTDv06_decodeSequence()
3350 …lCode] + MINMATCH + ((mlCode>31) ? BITv06_readBits(&(seqState->DStream), mlBits) : 0); /* <= 16… in ZSTDv06_decodeSequence()
3351 if (MEM_32bits() && (mlBits+llBits>24)) BITv06_reloadDStream(&(seqState->DStream)); in ZSTDv06_decodeSequence()
Dzstd_v07.c3527 U32 const mlBits = ML_bits[mlCode]; in ZSTDv07_decodeSequence() local
3529 U32 const totalBits = llBits+mlBits+ofBits; in ZSTDv07_decodeSequence()
3575 …seq.matchLength = ML_base[mlCode] + ((mlCode>31) ? BITv07_readBits(&(seqState->DStream), mlBits) :… in ZSTDv07_decodeSequence()
3576 if (MEM_32bits() && (mlBits+llBits>24)) BITv07_reloadDStream(&(seqState->DStream)); in ZSTDv07_decodeSequence()