Lines Matching full:entropy

1220  * @return : size of entropy tables read */
1222 ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy, in ZSTD_loadDEntropy() argument
1232 …entropyDTables_t, OFTable) == offsetof(ZSTD_entropyDTables_t, LLTable) + sizeof(entropy->LLTable)); in ZSTD_loadDEntropy()
1233 …entropyDTables_t, MLTable) == offsetof(ZSTD_entropyDTables_t, OFTable) + sizeof(entropy->OFTable)); in ZSTD_loadDEntropy()
1234 …ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) … in ZSTD_loadDEntropy()
1235 …{ void* const workspace = &entropy->LLTable; /* use fse tables as temporary workspace; implies… in ZSTD_loadDEntropy()
1236 …size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy-… in ZSTD_loadDEntropy()
1239 size_t const hSize = HUF_readDTableX1_wksp(entropy->hufTable, in ZSTD_loadDEntropy()
1243 size_t const hSize = HUF_readDTableX2_wksp(entropy->hufTable, in ZSTD_loadDEntropy()
1257 ZSTD_buildFSETable( entropy->OFTable, in ZSTD_loadDEntropy()
1261 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy()
1272 ZSTD_buildFSETable( entropy->MLTable, in ZSTD_loadDEntropy()
1276 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy()
1287 ZSTD_buildFSETable( entropy->LLTable, in ZSTD_loadDEntropy()
1291 entropy->workspace, sizeof(entropy->workspace), in ZSTD_loadDEntropy()
1303 entropy->rep[i] = rep; in ZSTD_loadDEntropy()
1318 /* load entropy tables */ in ZSTD_decompress_insertDictionary()
1319 { size_t const eSize = ZSTD_loadDEntropy(&dctx->entropy, dict, dictSize); in ZSTD_decompress_insertDictionary()
1341 …dctx->entropy.hufTable[0] = (HUF_DTable)((HufLog)*0x1000001); /* cover both little and big endian… in ZSTD_decompressBegin()
1345 ZSTD_STATIC_ASSERT(sizeof(dctx->entropy.rep) == sizeof(repStartValue)); in ZSTD_decompressBegin()
1346 ZSTD_memcpy(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ in ZSTD_decompressBegin()
1347 dctx->LLTptr = dctx->entropy.LLTable; in ZSTD_decompressBegin()
1348 dctx->MLTptr = dctx->entropy.MLTable; in ZSTD_decompressBegin()
1349 dctx->OFTptr = dctx->entropy.OFTable; in ZSTD_decompressBegin()
1350 dctx->HUFptr = dctx->entropy.hufTable; in ZSTD_decompressBegin()