Home
last modified time | relevance | path

Searched refs:cPar (Results 1 – 3 of 3) sorted by relevance

/external/zstd/lib/compress/
Dzstd_compress.c1182 ZSTD_adjustCParams_internal(ZSTD_compressionParameters cPar, in ZSTD_adjustCParams_internal() argument
1189 assert(ZSTD_checkCParams(cPar)==0); in ZSTD_adjustCParams_internal()
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()
1217 U32 const cycleLog = ZSTD_cycleLog(cPar.chainLog, cPar.strategy); in ZSTD_adjustCParams_internal()
1218 if (cPar.hashLog > dictAndWindowLog+1) cPar.hashLog = dictAndWindowLog+1; in ZSTD_adjustCParams_internal()
1220 cPar.chainLog -= (cycleLog - dictAndWindowLog); in ZSTD_adjustCParams_internal()
1223 if (cPar.windowLog < ZSTD_WINDOWLOG_ABSOLUTEMIN) in ZSTD_adjustCParams_internal()
1224cPar.windowLog = ZSTD_WINDOWLOG_ABSOLUTEMIN; /* minimum wlog required for valid frame header */ in ZSTD_adjustCParams_internal()
1226 return cPar; in ZSTD_adjustCParams_internal()
[all …]
/external/zstd/lib/
Dzstd.h1570 ZSTDLIB_API ZSTD_compressionParameters ZSTD_adjustCParams(ZSTD_compressionParameters cPar, unsigned…
/external/zstd/tests/
Dfuzzer.c3527 …ZSTD_compressionParameters const cPar = ZSTD_getCParams(cLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in fuzzerTests() local
3531 ZSTD_parameters const p = FUZ_makeParams(cPar, fPar); in fuzzerTests()