• Home
  • Raw
  • Download

Lines Matching refs:entropy

82 	ZSTD_entropyTables_t entropy;  member
114 …dctx->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endian … in ZSTD_decompressBegin()
117 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
118 memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin()
119 dctx->LLTptr = dctx->entropy.LLTable; in ZSTD_decompressBegin()
120 dctx->MLTptr = dctx->entropy.MLTable; in ZSTD_decompressBegin()
121 dctx->OFTptr = dctx->entropy.OFTable; in ZSTD_decompressBegin()
122 dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decompressBegin()
487 …? HUF_decompress1X2_DCtx_wksp(dctx->entropy.hufTable, dctx->litBuffer, litSize, istart + lhSize, l… in ZSTD_decodeLiteralsBlock()
488 dctx->entropy.workspace, sizeof(dctx->entropy.workspace)) in ZSTD_decodeLiteralsBlock()
489 …: HUF_decompress4X_hufOnly_wksp(dctx->entropy.hufTable, dctx->litBuffer, litSize, istart + lhSize,… in ZSTD_decodeLiteralsBlock()
490 dctx->entropy.workspace, sizeof(dctx->entropy.workspace))))) in ZSTD_decodeLiteralsBlock()
497 dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decodeLiteralsBlock()
836 …size_t const llhSize = ZSTD_buildSeqTable(dctx->entropy.LLTable, &dctx->LLTptr, LLtype, MaxLL, LLF… in ZSTD_decodeSeqHeaders()
837 … LL_defaultDTable, dctx->fseEntropy, dctx->entropy.workspace, sizeof(dctx->entropy.workspace)); in ZSTD_decodeSeqHeaders()
843 …size_t const ofhSize = ZSTD_buildSeqTable(dctx->entropy.OFTable, &dctx->OFTptr, OFtype, MaxOff, Of… in ZSTD_decodeSeqHeaders()
844 … OF_defaultDTable, dctx->fseEntropy, dctx->entropy.workspace, sizeof(dctx->entropy.workspace)); in ZSTD_decodeSeqHeaders()
850 …size_t const mlhSize = ZSTD_buildSeqTable(dctx->entropy.MLTable, &dctx->MLTptr, MLtype, MaxML, MLF… in ZSTD_decodeSeqHeaders()
851 … ML_defaultDTable, dctx->fseEntropy, dctx->entropy.workspace, sizeof(dctx->entropy.workspace)); in ZSTD_decodeSeqHeaders()
1122 seqState.prevOffset[i] = dctx->entropy.rep[i]; in ZSTD_decompressSequences()
1147 dctx->entropy.rep[i] = (U32)(seqState.prevOffset[i]); in ZSTD_decompressSequences()
1376 seq_t *sequences = (seq_t *)dctx->entropy.workspace; in ZSTD_decompressSequencesLong()
1380 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.workspace) >= sizeof(seq_t) * STORED_SEQS); in ZSTD_decompressSequencesLong()
1385 seqState.prevOffset[i] = dctx->entropy.rep[i]; in ZSTD_decompressSequencesLong()
1429 dctx->entropy.rep[i] = (U32)(seqState.prevOffset[i]); in ZSTD_decompressSequencesLong()
1874 static size_t ZSTD_loadEntropy(ZSTD_entropyTables_t *entropy, const void *const dict, size_t const … in ZSTD_loadEntropy() argument
1884 …const hSize = HUF_readDTableX4_wksp(entropy->hufTable, dictPtr, dictEnd - dictPtr, entropy->worksp… in ZSTD_loadEntropy()
1898 …HECK_E(FSE_buildDTable_wksp(entropy->OFTable, offcodeNCount, offcodeMaxValue, offcodeLog, entropy-… in ZSTD_loadEntropy()
1910 …(FSE_buildDTable_wksp(entropy->MLTable, matchlengthNCount, matchlengthMaxValue, matchlengthLog, en… in ZSTD_loadEntropy()
1922 …K_E(FSE_buildDTable_wksp(entropy->LLTable, litlengthNCount, litlengthMaxValue, litlengthLog, entro… in ZSTD_loadEntropy()
1936 entropy->rep[i] = rep; in ZSTD_loadEntropy()
1957 size_t const eSize = ZSTD_loadEntropy(&dctx->entropy, dict, dictSize); in ZSTD_decompress_insertDictionary()
1983 ZSTD_entropyTables_t entropy; member
2007 dstDCtx->LLTptr = ddict->entropy.LLTable; in ZSTD_refDDict()
2008 dstDCtx->MLTptr = ddict->entropy.MLTable; in ZSTD_refDDict()
2009 dstDCtx->OFTptr = ddict->entropy.OFTable; in ZSTD_refDDict()
2010 dstDCtx->HUFptr = ddict->entropy.hufTable; in ZSTD_refDDict()
2011 dstDCtx->entropy.rep[0] = ddict->entropy.rep[0]; in ZSTD_refDDict()
2012 dstDCtx->entropy.rep[1] = ddict->entropy.rep[1]; in ZSTD_refDDict()
2013 dstDCtx->entropy.rep[2] = ddict->entropy.rep[2]; in ZSTD_refDDict()
2035 …CHECK_E(ZSTD_loadEntropy(&ddict->entropy, ddict->dictContent, ddict->dictSize), dictionary_corrupt… in ZSTD_loadEntropy_inDDict()
2065 …ddict->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endian… in ZSTD_createDDict_advanced()