Home
last modified time | relevance | path

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

/linux/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()
164 if (mostFrequent == nbSeq) { in ZSTD_selectEncodingType()
166 if (isDefaultAllowed && nbSeq <= 2) { in ZSTD_selectEncodingType()
267 size_t nbSeq_1 = nbSeq; in ZSTD_buildCTable()
269 if (count[codeTable[nbSeq-1]] > 1) { in ZSTD_buildCTable()
270 count[codeTable[nbSeq-1]]--; in ZSTD_buildCTable()
311 BIT_addBits(&blockStream, sequences[nbSeq-1].litLength, LL_bits[llCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
313 BIT_addBits(&blockStream, sequences[nbSeq-1].matchLength, ML_bits[mlCodeTable[nbSeq-1]]); in ZSTD_encodeSequences_body()
325 BIT_addBits(&blockStream, sequences[nbSeq-1].offset, ofCodeTable[nbSeq-1]); in ZSTD_encodeSequences_body()
[all …]
A Dzstd_compress_superblock.c410 const seqDef* const send = sequences + nbSeq; in ZSTD_seqDecompressedSize()
459 if (nbSeq < 0x7F) in ZSTD_compressSubBlock_sequences()
460 *op++ = (BYTE)nbSeq; in ZSTD_compressSubBlock_sequences()
461 else if (nbSeq < LONGNBSEQ) in ZSTD_compressSubBlock_sequences()
462 op[0] = (BYTE)((nbSeq>>8) + 0x80), op[1] = (BYTE)nbSeq, op+=2; in ZSTD_compressSubBlock_sequences()
465 if (nbSeq==0) { in ZSTD_compressSubBlock_sequences()
492 sequences, nbSeq, in ZSTD_compressSubBlock_sequences()
607 size_t nbSeq, const FSE_CTable* fseCTable, in ZSTD_estimateSubBlockSize_symbolType() argument
615 const BYTE* const ctEnd = ctStart + nbSeq; in ZSTD_estimateSubBlockSize_symbolType()
643 size_t nbSeq, in ZSTD_estimateSubBlockSize_sequences() argument
[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.c2072 assert(nbSeq <= seqStorePtr->maxNbSeq); in ZSTD_seqToCodes()
2073 for (u=0; u<nbSeq; u++) { in ZSTD_seqToCodes()
2151 if (nbSeq < 128) { in ZSTD_entropyCompressSequences_internal()
2152 *op++ = (BYTE)nbSeq; in ZSTD_entropyCompressSequences_internal()
2153 } else if (nbSeq < LONGNBSEQ) { in ZSTD_entropyCompressSequences_internal()
2154 op[0] = (BYTE)((nbSeq>>8) + 0x80); in ZSTD_entropyCompressSequences_internal()
2155 op[1] = (BYTE)nbSeq; in ZSTD_entropyCompressSequences_internal()
2163 if (nbSeq==0) { in ZSTD_entropyCompressSequences_internal()
2190 count, max, llCodeTable, nbSeq, in ZSTD_entropyCompressSequences_internal()
2953 cctx->externSeqStore.size = nbSeq; in ZSTD_referenceExternalSequences()
[all …]
A Dzstd_compress_internal.h1177 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
/linux/lib/zstd/decompress/
A Dzstd_decompress_block.c583 int nbSeq; in ZSTD_decodeSeqHeaders() local
590 nbSeq = *ip++; in ZSTD_decodeSeqHeaders()
591 if (!nbSeq) { in ZSTD_decodeSeqHeaders()
596 if (nbSeq > 0x7F) { in ZSTD_decodeSeqHeaders()
597 if (nbSeq == 0xFF) { in ZSTD_decodeSeqHeaders()
603 nbSeq = ((nbSeq-0x80)<<8) + *ip++; in ZSTD_decodeSeqHeaders()
606 *nbSeqPtr = nbSeq; in ZSTD_decodeSeqHeaders()
1123 if (nbSeq) { in ZSTD_decompressSequences_body()
1256 if (nbSeq) { in ZSTD_decompressSequencesLong_body()
1302 for ( ; seqNb<nbSeq ; seqNb++) { in ZSTD_decompressSequencesLong_body()
[all …]

Completed in 30 milliseconds