Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_sequences.c158 FSE_repeat* repeatMode, unsigned const* count, unsigned const max, in ZSTD_selectEncodingType()
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) : ERROR(GENERIC); 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()
157 ZSTD_selectEncodingType( FSE_repeat* repeatMode, unsigned const* count, unsigned const max, size_t const mostFrequent, size_t nbSeq, unsigned const FSELog, FSE_CTable const* prevCTable, short const* defaultNorm, U32 defaultNormLog, ZSTD_defaultPolicy_e const isDefaultAllowed, ZSTD_strategy const strategy) ZSTD_selectEncodingType() argument
H A Dzstd_compress_literals.c97 { size_t const minLitSize = (prevHuf->repeatMode == HUF_repeat_valid) ? 6 : COMPRESS_LITERALS_SIZE_MIN; in ZSTD_compressLiterals()
102 { HUF_repeat repeat = prevHuf->repeatMode; in ZSTD_compressLiterals()
132 nextHuf->repeatMode = HUF_repeat_check; in ZSTD_compressLiterals()
H A Dzstd_compress_sequences.h24 FSE_repeat* repeatMode, unsigned const* count, unsigned const max,
H A 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_SIZE_MIN; in ZSTD_buildBlockEntropyStats_literals()
3057 nextHuf->repeatMode = HUF_repeat_check; in ZSTD_buildBlockEntropyStats_literals()
3066 * and updates nextEntropy to the appropriate repeatMode.
4231 bs->entropy.huf.repeatMode = HUF_repeat_check; in ZSTD_loadCEntropy()
4241 bs->entropy.huf.repeatMode = HUF_repeat_valid; in ZSTD_loadCEntropy()
H A Dzstd_compress_internal.h61 HUF_repeat repeatMode; member
H A Dzstd_opt.c139 if (optPtr->symbolCosts->huf.repeatMode == HUF_repeat_valid) { in ZSTD_rescaleFreqs()

Completed in 21 milliseconds