Lines Matching refs:cPar
1247 ZSTD_adjustCParams_internal(ZSTD_compressionParameters cPar, in ZSTD_adjustCParams_internal() argument
1254 assert(ZSTD_checkCParams(cPar)==0); in ZSTD_adjustCParams_internal()
1290 if (cPar.windowLog > srcLog) cPar.windowLog = srcLog; in ZSTD_adjustCParams_internal()
1293 … U32 const dictAndWindowLog = ZSTD_dictAndWindowLog(cPar.windowLog, (U64)srcSize, (U64)dictSize); in ZSTD_adjustCParams_internal()
1294 U32 const cycleLog = ZSTD_cycleLog(cPar.chainLog, cPar.strategy); in ZSTD_adjustCParams_internal()
1295 if (cPar.hashLog > dictAndWindowLog+1) cPar.hashLog = dictAndWindowLog+1; in ZSTD_adjustCParams_internal()
1297 cPar.chainLog -= (cycleLog - dictAndWindowLog); in ZSTD_adjustCParams_internal()
1300 if (cPar.windowLog < ZSTD_WINDOWLOG_ABSOLUTEMIN) in ZSTD_adjustCParams_internal()
1301 … cPar.windowLog = ZSTD_WINDOWLOG_ABSOLUTEMIN; /* minimum wlog required for valid frame header */ in ZSTD_adjustCParams_internal()
1303 return cPar; in ZSTD_adjustCParams_internal()
1307 ZSTD_adjustCParams(ZSTD_compressionParameters cPar, in ZSTD_adjustCParams() argument
1311 …cPar = ZSTD_clampCParams(cPar); /* resulting cPar is necessarily valid (all parameters within ra… in ZSTD_adjustCParams()
1313 return ZSTD_adjustCParams_internal(cPar, srcSize, dictSize, ZSTD_cpm_unknown); in ZSTD_adjustCParams()