Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_sequences.c158 FSE_repeat* repeatMode, unsigned const* count, unsigned const max, in ZSTD_selectEncodingType() argument
167 *repeatMode = FSE_repeat_none; in ZSTD_selectEncodingType()
187 if ( (*repeatMode == FSE_repeat_valid) in ZSTD_selectEncodingType()
201 *repeatMode = FSE_repeat_none; in ZSTD_selectEncodingType()
207 …size_t const repeatCost = *repeatMode != FSE_repeat_none ? ZSTD_fseBitCost(prevCTable, count, max)… in ZSTD_selectEncodingType()
213 assert(!(*repeatMode == FSE_repeat_valid && ZSTD_isError(repeatCost))); in ZSTD_selectEncodingType()
222 *repeatMode = FSE_repeat_none; in ZSTD_selectEncodingType()
233 *repeatMode = FSE_repeat_check; in ZSTD_selectEncodingType()
Dzstd_compress_literals.c97 …{ size_t const minLitSize = (prevHuf->repeatMode == HUF_repeat_valid) ? 6 : COMPRESS_LITERALS_SI… in ZSTD_compressLiterals()
102 { HUF_repeat repeat = prevHuf->repeatMode; in ZSTD_compressLiterals()
132 nextHuf->repeatMode = HUF_repeat_check; in ZSTD_compressLiterals()
Dzstd_compress_sequences.h24 FSE_repeat* repeatMode, unsigned const* count, unsigned const max,
Dzstd_compress.c1593 bs->entropy.huf.repeatMode = HUF_repeat_none; in ZSTD_reset_compressedBlockState()
2979 HUF_repeat repeat = prevHuf->repeatMode; in ZSTD_buildBlockEntropyStats_literals()
2995 …{ size_t const minLitSize = (prevHuf->repeatMode == HUF_repeat_valid) ? 6 : COMPRESS_LITERALS_SI… in ZSTD_buildBlockEntropyStats_literals()
3057 nextHuf->repeatMode = HUF_repeat_check; in ZSTD_buildBlockEntropyStats_literals()
4231 bs->entropy.huf.repeatMode = HUF_repeat_check; in ZSTD_loadCEntropy()
4241 bs->entropy.huf.repeatMode = HUF_repeat_valid; in ZSTD_loadCEntropy()
Dzstd_compress_internal.h61 HUF_repeat repeatMode; member
Dzstd_opt.c139 if (optPtr->symbolCosts->huf.repeatMode == HUF_repeat_valid) { in ZSTD_rescaleFreqs()