Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_compress_sequences.c298 BIT_CStream_t blockStream; in ZSTD_encodeSequences_body() local
304 ERR_isError(BIT_initCStream(&blockStream, dst, dstCapacity)), in ZSTD_encodeSequences_body()
307 (int)(blockStream.endPtr - blockStream.startPtr), in ZSTD_encodeSequences_body()
314 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
315 if (MEM_32bits()) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
316 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
317 if (MEM_32bits()) BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
322 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, extraBits); in ZSTD_encodeSequences_body()
323 BIT_flushBits(&blockStream); in ZSTD_encodeSequences_body()
325 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase >> extraBits, in ZSTD_encodeSequences_body()
[all …]