Lines Matching refs:windowLog
210 return cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27; in ZSTD_CParams_shouldEnableLdm()
615 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
616 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
816 *value = (int)CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_getParameter()
1100 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog); in ZSTD_checkCParams()
1122 CLAMP(ZSTD_c_windowLog, cParams.windowLog); in ZSTD_clampCParams()
1148 static U32 ZSTD_dictAndWindowLog(U32 windowLog, U64 srcSize, U64 dictSize) in ZSTD_dictAndWindowLog() argument
1153 return windowLog; in ZSTD_dictAndWindowLog()
1155 assert(windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_dictAndWindowLog()
1158 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog()
1165 return windowLog; /* Window size large enough already */ in ZSTD_dictAndWindowLog()
1214 if (cPar.windowLog > srcLog) cPar.windowLog = srcLog; in ZSTD_adjustCParams_internal()
1216 …{ U32 const dictAndWindowLog = ZSTD_dictAndWindowLog(cPar.windowLog, (U64)srcSize, (U64)dictSize… in ZSTD_adjustCParams_internal()
1223 if (cPar.windowLog < ZSTD_WINDOWLOG_ABSOLUTEMIN) in ZSTD_adjustCParams_internal()
1224 … cPar.windowLog = ZSTD_WINDOWLOG_ABSOLUTEMIN; /* minimum wlog required for valid frame header */ in ZSTD_adjustCParams_internal()
1246 if (overrides->windowLog) cParams->windowLog = overrides->windowLog; in ZSTD_overrideCParams()
1263 if (CCtxParams->ldmParams.enableLdm) cParams.windowLog = ZSTD_LDM_DEFAULT_WINDOW_LOG; in ZSTD_getCParamsFromCCtxParams()
1276 …onst hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_sizeof_matchState()
1306 size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << cParams->windowLog), pledgedSrcSize)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1383 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, (size_t)1 << cParams.windowLog); in ZSTD_estimateCStreamSize_usingCCtxParams()
1385 ? ((size_t)1 << cParams.windowLog) + blockSize in ZSTD_estimateCStreamSize_usingCCtxParams()
1464 assert(cParams1.windowLog == cParams2.windowLog); in ZSTD_assertEqualCParams()
1535 …= ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_reset_matchState()
1608 (U32)pledgedSrcSize, params.cParams.windowLog); in ZSTD_resetCCtx_internal()
1621 …{ size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params.cParams.windowLog), pledgedSrcS… in ZSTD_resetCCtx_internal()
1815 unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byAttachingCDict() local
1816 assert(windowLog != 0); in ZSTD_resetCCtx_byAttachingCDict()
1827 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byAttachingCDict()
1874 { unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byCopyingCDict() local
1875 assert(windowLog != 0); in ZSTD_resetCCtx_byCopyingCDict()
1878 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byCopyingCDict()
1971 … assert(dstCCtx->appliedParams.cParams.windowLog == srcCCtx->appliedParams.cParams.windowLog); in ZSTD_copyCCtx_internal()
2158 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_entropyCompressSequences_internal()
2814 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded()
2848 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk()
2850 assert(cctx->appliedParams.cParams.windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_compress_frameChunk()
2919 U32 const windowSize = (U32)1 << params->cParams.windowLog; in ZSTD_writeFrameHeader()
2921 … BYTE const windowLogByte = (BYTE)((params->cParams.windowLog - ZSTD_WINDOWLOG_ABSOLUTEMIN) << 3); in ZSTD_writeFrameHeader()
3061 return MIN (ZSTD_BLOCKSIZE_MAX, (U32)1 << cParams.windowLog); in ZSTD_getBlockSize()
3351 DEBUGLOG(4, "ZSTD_compressBegin_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_internal()
3392 DEBUGLOG(4, "ZSTD_compressBegin_advanced_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_advanced_internal()
3903 params.cParams.windowLog = MAX(params.cParams.windowLog, limitedSrcLog); in ZSTD_compressBegin_usingCDict_advanced()
4543 size_t posInSrc, U32 windowLog, size_t dictSize, U32 minMatch) { in ZSTD_validateSequence() argument
4545 U32 windowSize = 1 << windowLog; in ZSTD_validateSequence()
4613 cctx->appliedParams.cParams.windowLog, dictSize, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4738 cctx->appliedParams.cParams.windowLog, dictSize, in ZSTD_copySequencesToSeqStoreNoBlockDelim()