Searched refs:nbSeq (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/lib/zstd/compress/ |
| H A D | zstd_compress_sequences.c | 64 return nbSeq >= 2048; in ZSTD_useLowProbCount() 77 …RWARD_IF_ERROR(FSE_normalizeCount(norm, tableLog, count, nbSeq, max, ZSTD_useLowProbCount(nbSeq)),… in ZSTD_NCountCost() 167 if (mostFrequent == nbSeq) { in ZSTD_selectEncodingType() 169 if (isDefaultAllowed && nbSeq <= 2) { in ZSTD_selectEncodingType() 270 size_t nbSeq_1 = nbSeq; in ZSTD_buildCTable() 272 if (count[codeTable[nbSeq-1]] > 1) { in ZSTD_buildCTable() 273 count[codeTable[nbSeq-1]]--; in ZSTD_buildCTable() 315 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body() 317 BIT_addBits(&blockStream, sequences[nbSeq-1].mlBase, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body() 329 BIT_addBits(&blockStream, sequences[nbSeq-1].offBase, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body() [all …]
|
| H A D | zstd_compress_superblock.c | 184 if (nbSeq < 128) in ZSTD_compressSubBlock_sequences() 185 *op++ = (BYTE)nbSeq; in ZSTD_compressSubBlock_sequences() 186 else if (nbSeq < LONGNBSEQ) in ZSTD_compressSubBlock_sequences() 187 op[0] = (BYTE)((nbSeq>>8) + 0x80), op[1] = (BYTE)nbSeq, op+=2; in ZSTD_compressSubBlock_sequences() 190 if (nbSeq==0) { in ZSTD_compressSubBlock_sequences() 217 sequences, nbSeq, in ZSTD_compressSubBlock_sequences() 333 size_t nbSeq, const FSE_CTable* fseCTable, in ZSTD_estimateSubBlockSize_symbolType() argument 341 const BYTE* const ctEnd = ctStart + nbSeq; in ZSTD_estimateSubBlockSize_symbolType() 369 size_t nbSeq, in ZSTD_estimateSubBlockSize_sequences() argument 377 if (nbSeq == 0) return sequencesSectionHeaderSize; in ZSTD_estimateSubBlockSize_sequences() [all …]
|
| H A D | zstd_compress_sequences.h | 27 size_t const mostFrequent, size_t nbSeq, unsigned const FSELog, 37 const BYTE* codeTable, size_t nbSeq, 47 SeqDef const* sequences, size_t nbSeq, int longOffsets, int bmi2);
|
| H A D | zstd_compress.c | 2617 for (u=0; u<nbSeq; u++) { in ZSTD_seqToCodes() 2856 if (nbSeq < 128) { in ZSTD_entropyCompressSeqStore_internal() 2857 *op++ = (BYTE)nbSeq; in ZSTD_entropyCompressSeqStore_internal() 2858 } else if (nbSeq < LONGNBSEQ) { in ZSTD_entropyCompressSeqStore_internal() 2860 op[1] = (BYTE)nbSeq; in ZSTD_entropyCompressSeqStore_internal() 2868 if (nbSeq==0) { in ZSTD_entropyCompressSeqStore_internal() 3692 stats = nbSeq != 0 ? ZSTD_buildSequencesStatistics(seqStorePtr, nbSeq, in ZSTD_buildBlockEntropyStats_sequences() 3797 return nbSeq * 10; in ZSTD_estimateBlockSize_symbolType() 3989 for (; idx < nbSeq; ++idx) { in ZSTD_seqStore_resolveOffCodes() 4158 if (nbSeq <= 4) { in ZSTD_deriveBlockSplits() [all …]
|
| H A D | zstd_compress_internal.h | 1593 void ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
|
| /linux-6.15/lib/zstd/decompress/ |
| H A D | zstd_decompress_block.c | 702 int nbSeq; in ZSTD_decodeSeqHeaders() local 709 nbSeq = *ip++; in ZSTD_decodeSeqHeaders() 717 nbSeq = ((nbSeq-0x80)<<8) + *ip++; in ZSTD_decodeSeqHeaders() 722 if (nbSeq == 0) { in ZSTD_decodeSeqHeaders() 1422 if (nbSeq) { in ZSTD_decompressSequences_bodySplitLitBuffer() 1502 for ( ; nbSeq; nbSeq--) { in ZSTD_decompressSequences_bodySplitLitBuffer() 1564 for ( ; nbSeq ; nbSeq--) { in ZSTD_decompressSequences_bodySplitLitBuffer() 1634 if (nbSeq) { in ZSTD_decompressSequences_body() 1660 for ( ; nbSeq ; nbSeq--) { in ZSTD_decompressSequences_body() 1752 if (nbSeq) { in ZSTD_decompressSequencesLong_body() [all …]
|