Searched refs:nbSeq (Results 1 – 6 of 6) sorted by relevance
/linux/lib/zstd/compress/ |
A D | zstd_compress_sequences.c | 63 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 D | zstd_compress_superblock.c | 410 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 D | zstd_compress_sequences.h | 25 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 D | zstd_compress.c | 2072 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 D | zstd_compress_internal.h | 1177 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
|
/linux/lib/zstd/decompress/ |
A D | zstd_decompress_block.c | 583 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 31 milliseconds