Lines Matching refs:windowLog
245 if (cParams->windowLog > 14) mode = ZSTD_ps_enable; in ZSTD_resolveRowMatchFinderMode()
247 if (cParams->windowLog > 17) mode = ZSTD_ps_enable; in ZSTD_resolveRowMatchFinderMode()
256 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode()
277 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm()
725 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
726 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
941 *value = (int)CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_getParameter()
1234 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog); in ZSTD_checkCParams()
1256 CLAMP(ZSTD_c_windowLog, cParams.windowLog); in ZSTD_clampCParams()
1282 static U32 ZSTD_dictAndWindowLog(U32 windowLog, U64 srcSize, U64 dictSize) in ZSTD_dictAndWindowLog() argument
1287 return windowLog; in ZSTD_dictAndWindowLog()
1289 assert(windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_dictAndWindowLog()
1292 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog()
1299 return windowLog; /* Window size large enough already */ in ZSTD_dictAndWindowLog()
1359 if (cPar.windowLog > srcLog) cPar.windowLog = srcLog; in ZSTD_adjustCParams_internal()
1362 … U32 const dictAndWindowLog = ZSTD_dictAndWindowLog(cPar.windowLog, (U64)srcSize, (U64)dictSize); in ZSTD_adjustCParams_internal()
1369 if (cPar.windowLog < ZSTD_WINDOWLOG_ABSOLUTEMIN) in ZSTD_adjustCParams_internal()
1370 … cPar.windowLog = ZSTD_WINDOWLOG_ABSOLUTEMIN; /* minimum wlog required for valid frame header */ in ZSTD_adjustCParams_internal()
1392 if (overrides->windowLog) cParams->windowLog = overrides->windowLog; in ZSTD_overrideCParams()
1409 …if (CCtxParams->ldmParams.enableLdm == ZSTD_ps_enable) cParams.windowLog = ZSTD_LDM_DEFAULT_WINDOW… in ZSTD_getCParamsFromCCtxParams()
1427 …onst hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_sizeof_matchState()
1467 size_t const windowSize = (size_t) BOUNDED(1ULL, 1ULL << cParams->windowLog, pledgedSrcSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1565 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, (size_t)1 << cParams.windowLog); in ZSTD_estimateCStreamSize_usingCCtxParams()
1567 ? ((size_t)1 << cParams.windowLog) + blockSize in ZSTD_estimateCStreamSize_usingCCtxParams()
1658 assert(cParams1.windowLog == cParams2.windowLog); in ZSTD_assertEqualCParams()
1735 …= ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_reset_matchState()
1836 …(U32)pledgedSrcSize, params->cParams.windowLog, (int)params->useRowMatchFinder, (int)params->useBl… in ZSTD_resetCCtx_internal()
1857 …{ size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params->cParams.windowLog), pledgedSrc… in ZSTD_resetCCtx_internal()
2051 unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byAttachingCDict() local
2052 assert(windowLog != 0); in ZSTD_resetCCtx_byAttachingCDict()
2063 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byAttachingCDict()
2113 { unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byCopyingCDict() local
2114 assert(windowLog != 0); in ZSTD_resetCCtx_byCopyingCDict()
2117 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byCopyingCDict()
2232 … assert(dstCCtx->appliedParams.cParams.windowLog == srcCCtx->appliedParams.cParams.windowLog); in ZSTD_copyCCtx_internal()
2582 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_entropyCompressSeqStore_internal()
3908 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded()
3942 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk()
3944 assert(cctx->appliedParams.cParams.windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_compress_frameChunk()
4018 U32 const windowSize = (U32)1 << params->cParams.windowLog; in ZSTD_writeFrameHeader()
4020 … BYTE const windowLogByte = (BYTE)((params->cParams.windowLog - ZSTD_WINDOWLOG_ABSOLUTEMIN) << 3); in ZSTD_writeFrameHeader()
4185 return MIN (ZSTD_BLOCKSIZE_MAX, (U32)1 << cParams.windowLog); in ZSTD_getBlockSize()
4501 DEBUGLOG(4, "ZSTD_compressBegin_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_internal()
4544 DEBUGLOG(4, "ZSTD_compressBegin_advanced_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_advanced_internal()
5085 cctxParams.cParams.windowLog = MAX(cctxParams.cParams.windowLog, limitedSrcLog); in ZSTD_compressBegin_usingCDict_internal()
5764 size_t posInSrc, U32 windowLog, size_t dictSize) in ZSTD_validateSequence() argument
5766 U32 const windowSize = 1 << windowLog; in ZSTD_validateSequence()
5829 cctx->appliedParams.cParams.windowLog, dictSize), in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
5952 cctx->appliedParams.cParams.windowLog, dictSize), in ZSTD_copySequencesToSeqStoreNoBlockDelim()