Lines Matching refs:windowLog

92 	size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << cParams.windowLog);  in ZSTD_CCtxWorkspaceBound()
98 U32 const hashLog3 = (cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, cParams.windowLog); in ZSTD_CCtxWorkspaceBound()
155 CLAMPCHECK(cParams.windowLog, ZSTD_WINDOWLOG_MIN, ZSTD_WINDOWLOG_MAX); in ZSTD_checkCParams()
191 if (cPar.windowLog > srcLog) in ZSTD_adjustCParams()
192 cPar.windowLog = srcLog; in ZSTD_adjustCParams()
195 if (cPar.hashLog > cPar.windowLog) in ZSTD_adjustCParams()
196 cPar.hashLog = cPar.windowLog; in ZSTD_adjustCParams()
199 if (cycleLog > cPar.windowLog) in ZSTD_adjustCParams()
200 cPar.chainLog -= (cycleLog - cPar.windowLog); in ZSTD_adjustCParams()
203 if (cPar.windowLog < ZSTD_WINDOWLOG_ABSOLUTEMIN) in ZSTD_adjustCParams()
204 cPar.windowLog = ZSTD_WINDOWLOG_ABSOLUTEMIN; /* required for frame header */ in ZSTD_adjustCParams()
252 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << params.cParams.windowLog); in ZSTD_resetCCtx_advanced()
258 …ashLog3 = (params.cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, params.cParams.windowLog); in ZSTD_resetCCtx_advanced()
588 const int longOffsets = zc->params.cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_compressSequences_internal()
2362 U32 const maxDist = 1 << cctx->params.cParams.windowLog; in ZSTD_compress_generic()
2380 U32 const newCurr = (curr & cycleMask) + (1 << cctx->params.cParams.windowLog); in ZSTD_compress_generic()
2436 U32 const windowSize = 1U << params.cParams.windowLog; in ZSTD_writeFrameHeader()
2438 BYTE const windowLogByte = (BYTE)((params.cParams.windowLog - ZSTD_WINDOWLOG_ABSOLUTEMIN) << 3); in ZSTD_writeFrameHeader()
2544 …x(ZSTD_CCtx *cctx) { return MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, 1 << cctx->params.cParams.windowLog); } in ZSTD_getBlockSizeMax()
2975 size_t const inBuffSize = (size_t)1 << cParams.windowLog; in ZSTD_CStreamWorkspaceBound()
3059 size_t const neededInBuffSize = (size_t)1 << params.cParams.windowLog; in ZSTD_initCStream_advanced()
3422 if (cp.windowLog > ZSTD_WINDOWLOG_MAX) in ZSTD_getCParams()
3423 cp.windowLog = ZSTD_WINDOWLOG_MAX; in ZSTD_getCParams()