Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_sequences.c156 FSE_repeat* repeatMode, unsigned const* count, unsigned const max, in ZSTD_selectEncodingType() argument
165 *repeatMode = FSE_repeat_none; in ZSTD_selectEncodingType()
185 if ( (*repeatMode == FSE_repeat_valid) in ZSTD_selectEncodingType()
199 *repeatMode = FSE_repeat_none; in ZSTD_selectEncodingType()
205 …size_t const repeatCost = *repeatMode != FSE_repeat_none ? ZSTD_fseBitCost(prevCTable, count, max)… in ZSTD_selectEncodingType()
211 assert(!(*repeatMode == FSE_repeat_valid && ZSTD_isError(repeatCost))); in ZSTD_selectEncodingType()
220 *repeatMode = FSE_repeat_none; in ZSTD_selectEncodingType()
231 *repeatMode = FSE_repeat_check; in ZSTD_selectEncodingType()
Dzstd_compress_literals.c96 …{ size_t const minLitSize = (prevHuf->repeatMode == HUF_repeat_valid) ? 6 : COMPRESS_LITERALS_SI… in ZSTD_compressLiterals()
101 { HUF_repeat repeat = prevHuf->repeatMode; in ZSTD_compressLiterals()
131 nextHuf->repeatMode = HUF_repeat_check; in ZSTD_compressLiterals()
Dzstd_compress_sequences.h24 FSE_repeat* repeatMode, unsigned const* count, unsigned const max,
Dzstd_compress_superblock.c77 HUF_repeat repeat = prevHuf->repeatMode; in ZSTD_buildSuperBlockEntropy_literal()
92 …{ size_t const minLitSize = (prevHuf->repeatMode == HUF_repeat_valid) ? 6 : COMPRESS_LITERALS_SI… in ZSTD_buildSuperBlockEntropy_literal()
154 nextHuf->repeatMode = HUF_repeat_check; in ZSTD_buildSuperBlockEntropy_literal()
Dzstd_compress_internal.h61 HUF_repeat repeatMode; member
Dzstd_compress.c1436 bs->entropy.huf.repeatMode = HUF_repeat_none; in ZSTD_reset_compressedBlockState()
3148 bs->entropy.huf.repeatMode = HUF_repeat_check; in ZSTD_loadCEntropy()
3158 bs->entropy.huf.repeatMode = HUF_repeat_valid; in ZSTD_loadCEntropy()
Dzstd_opt.c131 if (optPtr->symbolCosts->huf.repeatMode == HUF_repeat_valid) { in ZSTD_rescaleFreqs()