Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/zstd/compress/
A Dzstd_compress_sequences.c63 return nbSeq >= 2048; in ZSTD_useLowProbCount()
76 …RWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)),… in ZSTD_NCountCost()
166 if (mostFrequent == nbSeq) { in ZSTD_selectEncodingType()
168 if (isDefaultAllowed && nbSeq <= 2) { in ZSTD_selectEncodingType()
269 size_t nbSeq_1 = nbSeq; in ZSTD_buildCTable()
271 if (count[codeTable[nbSeq-1]] > 1) { in ZSTD_buildCTable()
272 count[codeTable[nbSeq-1]]--; in ZSTD_buildCTable()
314 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
316 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
328 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
[all …]
A Dzstd_compress_superblock.c131 const seqDef* const send = sequences + nbSeq; in ZSTD_seqDecompressedSize()
179 if (nbSeq < 0x7F) in ZSTD_compressSubBlock_sequences()
180 *op++ = (BYTE)nbSeq; in ZSTD_compressSubBlock_sequences()
181 else if (nbSeq < LONGNBSEQ) in ZSTD_compressSubBlock_sequences()
182 op[0] = (BYTE)((nbSeq>>8) + 0x80), op[1] = (BYTE)nbSeq, op+=2; in ZSTD_compressSubBlock_sequences()
185 if (nbSeq==0) { in ZSTD_compressSubBlock_sequences()
212 sequences, nbSeq, in ZSTD_compressSubBlock_sequences()
335 const BYTE* const ctEnd = ctStart + nbSeq; in ZSTD_estimateSubBlockSize_symbolType()
363 size_t nbSeq, in ZSTD_estimateSubBlockSize_sequences() argument
371 if (nbSeq == 0) return sequencesSectionHeaderSize; in ZSTD_estimateSubBlockSize_sequences()
[all …]
A Dzstd_compress_sequences.h25 size_t const mostFrequent, size_t nbSeq, unsigned const FSELog,
35 const BYTE* codeTable, size_t nbSeq,
45 seqDef const* sequences, size_t nbSeq, int longOffsets, int bmi2);
A Dzstd_compress.c2306 for (u=0; u<nbSeq; u++) { in ZSTD_seqToCodes()
2537 if (nbSeq < 128) { in ZSTD_entropyCompressSeqStore_internal()
2538 *op++ = (BYTE)nbSeq; in ZSTD_entropyCompressSeqStore_internal()
2539 } else if (nbSeq < LONGNBSEQ) { in ZSTD_entropyCompressSeqStore_internal()
2541 op[1] = (BYTE)nbSeq; in ZSTD_entropyCompressSeqStore_internal()
2549 if (nbSeq==0) { in ZSTD_entropyCompressSeqStore_internal()
3100 stats = nbSeq != 0 ? ZSTD_buildSequencesStatistics(seqStorePtr, nbSeq, in ZSTD_buildBlockEntropyStats_sequences()
3198 return nbSeq * 10; in ZSTD_estimateBlockSize_symbolType()
3377 for (; idx < nbSeq; ++idx) { in ZSTD_seqStore_resolveOffCodes()
3536 if (nbSeq <= 4) { in ZSTD_deriveBlockSplits()
[all …]
A Dzstd_compress_internal.h1388 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
/linux-6.3-rc2/lib/zstd/decompress/
A Dzstd_decompress_block.c659 int nbSeq; in ZSTD_decodeSeqHeaders() local
666 nbSeq = *ip++; in ZSTD_decodeSeqHeaders()
667 if (!nbSeq) { in ZSTD_decodeSeqHeaders()
672 if (nbSeq > 0x7F) { in ZSTD_decodeSeqHeaders()
673 if (nbSeq == 0xFF) { in ZSTD_decodeSeqHeaders()
679 nbSeq = ((nbSeq-0x80)<<8) + *ip++; in ZSTD_decodeSeqHeaders()
682 *nbSeqPtr = nbSeq; in ZSTD_decodeSeqHeaders()
1342 if (nbSeq) {
1559 if (nbSeq) {
1687 if (nbSeq) {
[all …]

Completed in 37 milliseconds