Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c166 const BYTE* llCode, const BYTE* mlCode, const BYTE* ofCode, in ZSTD_compressSubBlock_sequences() argument
215 fseTables->litlengthCTable, llCode, in ZSTD_compressSubBlock_sequences()
267 const BYTE* llCode, const BYTE* mlCode, const BYTE* ofCode, in ZSTD_compressSubBlock() argument
291 llCode, mlCode, ofCode, in ZSTD_compressSubBlock()
502 const BYTE* llCodePtr = seqStorePtr->llCode; in ZSTD_compressSubBlock_multi()
H A Dzstd_compress_sequences.c334 BYTE const llCode = llCodeTable[n]; in ZSTD_encodeSequences_body() local
337 U32 const llBits = LL_bits[llCode]; in ZSTD_encodeSequences_body()
349 FSE_encodeSymbol(&blockStream, &stateLitLength, llCode); /* 16 */ /* 33 */ in ZSTD_encodeSequences_body()
H A Dzstd_opt.c310 { U32 const llCode = ZSTD_LLcode(litLength); in ZSTD_litLengthPrice() local
311 return (LL_bits[llCode] * BITCOST_MULTIPLIER) in ZSTD_litLengthPrice()
313 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
369 { U32 const llCode = ZSTD_LLcode(litLength); in ZSTD_updateStats() local
370 optPtr->litLengthFreq[llCode]++; in ZSTD_updateStats()
H A Dzstd_compress.c2269 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2696 BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_seqToCodes()
2777 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_buildSequencesStatistics()
2906 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_entropyCompressSeqStore_internal()
3960 seqStore->ofCode, seqStore->llCode, seqStore->mlCode, in ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize()
4028 resultSeqStore->llCode += startIdx; in ZSTD_deriveSeqStoreChunk()
H A Dzstd_compress_internal.h103 BYTE* llCode; member
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_superblock.c167 const BYTE* llCode, const BYTE* mlCode, const BYTE* ofCode, in ZSTD_compressSubBlock_sequences() argument
216 fseTables->litlengthCTable, llCode, in ZSTD_compressSubBlock_sequences()
268 const BYTE* llCode, const BYTE* mlCode, const BYTE* ofCode, in ZSTD_compressSubBlock() argument
292 llCode, mlCode, ofCode, in ZSTD_compressSubBlock()
503 const BYTE* llCodePtr = seqStorePtr->llCode; in ZSTD_compressSubBlock_multi()
H A Dzstd_compress_sequences.c335 BYTE const llCode = llCodeTable[n]; in ZSTD_encodeSequences_body() local
338 U32 const llBits = LL_bits[llCode]; in ZSTD_encodeSequences_body()
350 FSE_encodeSymbol(&blockStream, &stateLitLength, llCode); /* 16 */ /* 33 */ in ZSTD_encodeSequences_body()
H A Dzstd_opt.c311 { U32 const llCode = ZSTD_LLcode(litLength); in ZSTD_litLengthPrice() local
312 return (LL_bits[llCode] * BITCOST_MULTIPLIER) in ZSTD_litLengthPrice()
314 - WEIGHT(optPtr->litLengthFreq[llCode], optLevel); in ZSTD_litLengthPrice()
370 { U32 const llCode = ZSTD_LLcode(litLength); in ZSTD_updateStats() local
371 optPtr->litLengthFreq[llCode]++; in ZSTD_updateStats()
H A Dzstd_compress.c2270 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
2697 BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_seqToCodes()
2778 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_buildSequencesStatistics()
2907 const BYTE* const llCodeTable = seqStorePtr->llCode; in ZSTD_entropyCompressSeqStore_internal()
3961 seqStore->ofCode, seqStore->llCode, seqStore->mlCode, in ZSTD_buildEntropyStatisticsAndEstimateSubBlockSize()
4029 resultSeqStore->llCode += startIdx; in ZSTD_deriveSeqStoreChunk()
H A Dzstd_compress_internal.h104 BYTE* llCode; member
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v06.c3232 U32 const llCode = FSEv06_peekSymbol(&(seqState->stateLL)); in ZSTDv06_decodeSequence() local
3236 U32 const llBits = LL_bits[llCode]; in ZSTDv06_decodeSequence()
3268 if (llCode == 0 && offset <= 1) offset = 1-offset; in ZSTDv06_decodeSequence()
3293 …seq->litLength = LL_base[llCode] + ((llCode>15) ? BITv06_readBits(&(seqState->DStream), llBits) : … in ZSTDv06_decodeSequence()
H A Dzstd_v07.c3463 U32 const llCode = FSEv07_peekSymbol(&(seqState->stateLL)); in ZSTDv07_decodeSequence() local
3467 U32 const llBits = LL_bits[llCode]; in ZSTDv07_decodeSequence()
3499 if ((llCode == 0) & (offset <= 1)) offset = 1-offset; in ZSTDv07_decodeSequence()
3519 …seq.litLength = LL_base[llCode] + ((llCode>15) ? BITv07_readBits(&(seqState->DStream), llBits) : 0… in ZSTDv07_decodeSequence()
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dzdict.c605 { const BYTE* codePtr = seqStorePtr->llCode; in ZDICT_countEStats()