Home
last modified time | relevance | path

Searched refs:windowLog (Results 1 – 12 of 12) sorted by relevance

/linux/lib/zstd/compress/
A Dzstd_compress.c1101 return windowLog; in ZSTD_dictAndWindowLog()
1173 if (cPar.windowLog > srcLog) cPar.windowLog = srcLog; in ZSTD_adjustCParams_internal()
1206 if (overrides->windowLog) cParams->windowLog = overrides->windowLog; in ZSTD_overrideCParams()
1422 assert(cParams1.windowLog == cParams2.windowLog); in ZSTD_assertEqualCParams()
1773 unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byAttachingCDict() local
1774 assert(windowLog != 0); in ZSTD_resetCCtx_byAttachingCDict()
1785 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byAttachingCDict()
1833 { unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byCopyingCDict() local
1834 assert(windowLog != 0); in ZSTD_resetCCtx_byCopyingCDict()
1837 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byCopyingCDict()
[all …]
A Dzstd_ldm.c111 params->windowLog = cParams->windowLog; in ZSTD_ldm_adjustParameters()
117 params->hashLog = MAX(ZSTD_HASHLOG_MIN, params->windowLog - LDM_HASH_RLOG); in ZSTD_ldm_adjustParameters()
121 params->hashRateLog = params->windowLog < params->hashLog in ZSTD_ldm_adjustParameters()
123 : params->windowLog - params->hashLog; in ZSTD_ldm_adjustParameters()
474 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences()
A Dzstd_lazy.c87 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1()
245 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_DUBT_findBestMatch()
614 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic()
926 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, ms->cParams.windowLog); in ZSTD_compressBlock_lazy_generic()
1222 const U32 windowLog = ms->cParams.windowLog; in ZSTD_compressBlock_lazy_extDict_generic() local
1250 { const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr+1, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
1281 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
1312 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, curr, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
1358 const U32 windowLow = ZSTD_getLowestMatchIndex(ms, repCurrent, windowLog); in ZSTD_compressBlock_lazy_extDict_generic()
A Dzstd_compress_internal.h204 U32 windowLog; /* Window log for the LDM */ member
1031 MEM_STATIC U32 ZSTD_getLowestMatchIndex(const ZSTD_matchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestMatchIndex() argument
1033 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex()
1048 MEM_STATIC U32 ZSTD_getLowestPrefixIndex(const ZSTD_matchState_t* ms, U32 curr, unsigned windowLog) in ZSTD_getLowestPrefixIndex() argument
1050 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex()
A Dzstd_fast.c64 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_generic()
76 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_fast_generic()
240 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic()
390 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_extDict_generic()
A Dzstd_double_fast.c67 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_generic()
105 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_generic()
112 U32 const windowLow = ZSTD_getLowestPrefixIndex(ms, curr, cParams->windowLog); in ZSTD_compressBlock_doubleFast_generic()
374 const U32 lowLimit = ZSTD_getLowestMatchIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_extDict_generic()
A Dzstd_compress_superblock.c447 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSubBlock_sequences()
A Dzstd_opt.c549 U32 const windowLow = ZSTD_getLowestMatchIndex(ms, curr, cParams->windowLog); in ZSTD_insertBtAndGetAllMatches()
/linux/lib/zstd/
A Dzstd_compress_module.c35 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init()
/linux/fs/btrfs/
A Dzstd.c36 if (params.cParams.windowLog > ZSTD_BTRFS_MAX_WINDOWLOG) in zstd_get_btrfs_parameters()
37 params.cParams.windowLog = ZSTD_BTRFS_MAX_WINDOWLOG; in zstd_get_btrfs_parameters()
/linux/lib/zstd/decompress/
A Dzstd_decompress.c452 U32 const windowLog = (wlByte >> 3) + ZSTD_WINDOWLOG_ABSOLUTEMIN; in ZSTD_getFrameHeader_advanced() local
453 RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, ""); in ZSTD_getFrameHeader_advanced()
454 windowSize = (1ULL << windowLog); in ZSTD_getFrameHeader_advanced()
/linux/include/linux/
A Dzstd_lib.h1160 …unsigned windowLog; /*< largest match distance : larger == more compression, more memory nee… member

Completed in 46 milliseconds