Lines Matching refs:cParams
199 static U32 ZSTD_CParams_shouldEnableLdm(const ZSTD_compressionParameters* const cParams) { in ZSTD_CParams_shouldEnableLdm() argument
200 return cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27; in ZSTD_CParams_shouldEnableLdm()
204 ZSTD_compressionParameters cParams) in ZSTD_makeCCtxParamsFromCParams() argument
209 cctxParams.cParams = cParams; in ZSTD_makeCCtxParamsFromCParams()
211 if (ZSTD_CParams_shouldEnableLdm(&cParams)) { in ZSTD_makeCCtxParamsFromCParams()
215 ZSTD_ldm_adjustParameters(&cctxParams.ldmParams, &cParams); in ZSTD_makeCCtxParamsFromCParams()
220 assert(!ZSTD_checkCParams(cParams)); in ZSTD_makeCCtxParamsFromCParams()
270 assert(!ZSTD_checkCParams(params->cParams)); in ZSTD_CCtxParams_init_internal()
272 cctxParams->cParams = params->cParams; in ZSTD_CCtxParams_init_internal()
283 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_CCtxParams_init_advanced()
295 assert(!ZSTD_checkCParams(params->cParams)); in ZSTD_CCtxParams_setZstdParams()
296 cctxParams->cParams = params->cParams; in ZSTD_CCtxParams_setZstdParams()
609 CCtxParams->cParams.windowLog = (U32)value; in ZSTD_CCtxParams_setParameter()
610 return CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_setParameter()
615 CCtxParams->cParams.hashLog = (U32)value; in ZSTD_CCtxParams_setParameter()
616 return CCtxParams->cParams.hashLog; in ZSTD_CCtxParams_setParameter()
621 CCtxParams->cParams.chainLog = (U32)value; in ZSTD_CCtxParams_setParameter()
622 return CCtxParams->cParams.chainLog; in ZSTD_CCtxParams_setParameter()
627 CCtxParams->cParams.searchLog = (U32)value; in ZSTD_CCtxParams_setParameter()
633 CCtxParams->cParams.minMatch = value; in ZSTD_CCtxParams_setParameter()
634 return CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_setParameter()
638 CCtxParams->cParams.targetLength = value; in ZSTD_CCtxParams_setParameter()
639 return CCtxParams->cParams.targetLength; in ZSTD_CCtxParams_setParameter()
644 CCtxParams->cParams.strategy = (ZSTD_strategy)value; in ZSTD_CCtxParams_setParameter()
645 return (size_t)CCtxParams->cParams.strategy; in ZSTD_CCtxParams_setParameter()
782 *value = (int)CCtxParams->cParams.windowLog; in ZSTD_CCtxParams_getParameter()
785 *value = (int)CCtxParams->cParams.hashLog; in ZSTD_CCtxParams_getParameter()
788 *value = (int)CCtxParams->cParams.chainLog; in ZSTD_CCtxParams_getParameter()
791 *value = CCtxParams->cParams.searchLog; in ZSTD_CCtxParams_getParameter()
794 *value = CCtxParams->cParams.minMatch; in ZSTD_CCtxParams_getParameter()
797 *value = CCtxParams->cParams.targetLength; in ZSTD_CCtxParams_getParameter()
800 *value = (unsigned)CCtxParams->cParams.strategy; in ZSTD_CCtxParams_getParameter()
905 const ZSTD_compressionParameters* cParams);
907 ZSTD_compressionParameters* cParams);
1046 size_t ZSTD_checkCParams(ZSTD_compressionParameters cParams) in ZSTD_checkCParams() argument
1048 BOUNDCHECK(ZSTD_c_windowLog, (int)cParams.windowLog); in ZSTD_checkCParams()
1049 BOUNDCHECK(ZSTD_c_chainLog, (int)cParams.chainLog); in ZSTD_checkCParams()
1050 BOUNDCHECK(ZSTD_c_hashLog, (int)cParams.hashLog); in ZSTD_checkCParams()
1051 BOUNDCHECK(ZSTD_c_searchLog, (int)cParams.searchLog); in ZSTD_checkCParams()
1052 BOUNDCHECK(ZSTD_c_minMatch, (int)cParams.minMatch); in ZSTD_checkCParams()
1053 BOUNDCHECK(ZSTD_c_targetLength,(int)cParams.targetLength); in ZSTD_checkCParams()
1054 BOUNDCHECK(ZSTD_c_strategy, cParams.strategy); in ZSTD_checkCParams()
1062 ZSTD_clampCParams(ZSTD_compressionParameters cParams) in ZSTD_clampCParams() argument
1070 CLAMP(ZSTD_c_windowLog, cParams.windowLog); in ZSTD_clampCParams()
1071 CLAMP(ZSTD_c_chainLog, cParams.chainLog); in ZSTD_clampCParams()
1072 CLAMP(ZSTD_c_hashLog, cParams.hashLog); in ZSTD_clampCParams()
1073 CLAMP(ZSTD_c_searchLog, cParams.searchLog); in ZSTD_clampCParams()
1074 CLAMP(ZSTD_c_minMatch, cParams.minMatch); in ZSTD_clampCParams()
1075 CLAMP(ZSTD_c_targetLength,cParams.targetLength); in ZSTD_clampCParams()
1076 CLAMP_TYPE(ZSTD_c_strategy,cParams.strategy, ZSTD_strategy); in ZSTD_clampCParams()
1077 return cParams; in ZSTD_clampCParams()
1203 ZSTD_compressionParameters* cParams, in ZSTD_overrideCParams() argument
1206 if (overrides->windowLog) cParams->windowLog = overrides->windowLog; in ZSTD_overrideCParams()
1207 if (overrides->hashLog) cParams->hashLog = overrides->hashLog; in ZSTD_overrideCParams()
1208 if (overrides->chainLog) cParams->chainLog = overrides->chainLog; in ZSTD_overrideCParams()
1209 if (overrides->searchLog) cParams->searchLog = overrides->searchLog; in ZSTD_overrideCParams()
1210 if (overrides->minMatch) cParams->minMatch = overrides->minMatch; in ZSTD_overrideCParams()
1211 if (overrides->targetLength) cParams->targetLength = overrides->targetLength; in ZSTD_overrideCParams()
1212 if (overrides->strategy) cParams->strategy = overrides->strategy; in ZSTD_overrideCParams()
1218 ZSTD_compressionParameters cParams; in ZSTD_getCParamsFromCCtxParams() local
1222 cParams = ZSTD_getCParams_internal(CCtxParams->compressionLevel, srcSizeHint, dictSize, mode); in ZSTD_getCParamsFromCCtxParams()
1223 if (CCtxParams->ldmParams.enableLdm) cParams.windowLog = ZSTD_LDM_DEFAULT_WINDOW_LOG; in ZSTD_getCParamsFromCCtxParams()
1224 ZSTD_overrideCParams(&cParams, &CCtxParams->cParams); in ZSTD_getCParamsFromCCtxParams()
1225 assert(!ZSTD_checkCParams(cParams)); in ZSTD_getCParamsFromCCtxParams()
1227 return ZSTD_adjustCParams_internal(cParams, srcSizeHint, dictSize, mode); in ZSTD_getCParamsFromCCtxParams()
1231 ZSTD_sizeof_matchState(const ZSTD_compressionParameters* const cParams, in ZSTD_sizeof_matchState() argument
1234 … size_t const chainSize = (cParams->strategy == ZSTD_fast) ? 0 : ((size_t)1 << cParams->chainLog); in ZSTD_sizeof_matchState()
1235 size_t const hSize = ((size_t)1) << cParams->hashLog; in ZSTD_sizeof_matchState()
1236 …U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->window… in ZSTD_sizeof_matchState()
1250 size_t const optSpace = (forCCtx && (cParams->strategy >= ZSTD_btopt)) in ZSTD_sizeof_matchState()
1259 const ZSTD_compressionParameters* cParams, in ZSTD_estimateCCtxSize_usingCCtxParams_internal() argument
1266 size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << cParams->windowLog), pledgedSrcSize)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1268 U32 const divider = (cParams->minMatch==3) ? 3 : 4; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1275 size_t const matchStateSize = ZSTD_sizeof_matchState(cParams, /* forCCtx */ 1); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1304 ZSTD_compressionParameters const cParams = in ZSTD_estimateCCtxSize_usingCCtxParams() local
1312 &cParams, ¶ms->ldmParams, 1, 0, 0, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateCCtxSize_usingCCtxParams()
1315 size_t ZSTD_estimateCCtxSize_usingCParams(ZSTD_compressionParameters cParams) in ZSTD_estimateCCtxSize_usingCParams() argument
1317 ZSTD_CCtx_params const params = ZSTD_makeCCtxParamsFromCParams(cParams); in ZSTD_estimateCCtxSize_usingCParams()
1328 …ZSTD_compressionParameters const cParams = ZSTD_getCParams_internal(compressionLevel, srcSizeTiers… in ZSTD_estimateCCtxSize_internal() local
1329 largestSize = MAX(ZSTD_estimateCCtxSize_usingCParams(cParams), largestSize); in ZSTD_estimateCCtxSize_internal()
1349 { ZSTD_compressionParameters const cParams = in ZSTD_estimateCStreamSize_usingCCtxParams() local
1351 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, (size_t)1 << cParams.windowLog); in ZSTD_estimateCStreamSize_usingCCtxParams()
1353 ? ((size_t)1 << cParams.windowLog) + blockSize in ZSTD_estimateCStreamSize_usingCCtxParams()
1360 &cParams, ¶ms->ldmParams, 1, inBuffSize, outBuffSize, in ZSTD_estimateCStreamSize_usingCCtxParams()
1365 size_t ZSTD_estimateCStreamSize_usingCParams(ZSTD_compressionParameters cParams) in ZSTD_estimateCStreamSize_usingCParams() argument
1367 ZSTD_CCtx_params const params = ZSTD_makeCCtxParamsFromCParams(cParams); in ZSTD_estimateCStreamSize_usingCParams()
1373 …ZSTD_compressionParameters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENT… in ZSTD_estimateCStreamSize_internal() local
1374 return ZSTD_estimateCStreamSize_usingCParams(cParams); in ZSTD_estimateCStreamSize_internal()
1486 const ZSTD_compressionParameters* cParams, in ZSTD_reset_matchState() argument
1491 … size_t const chainSize = (cParams->strategy == ZSTD_fast) ? 0 : ((size_t)1 << cParams->chainLog); in ZSTD_reset_matchState()
1492 size_t const hSize = ((size_t)1) << cParams->hashLog; in ZSTD_reset_matchState()
1493 …hashLog3 = ((forWho == ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cP… in ZSTD_reset_matchState()
1525 if ((forWho == ZSTD_resetTarget_CCtx) && (cParams->strategy >= ZSTD_btopt)) { in ZSTD_reset_matchState()
1535 ms->cParams = *cParams; in ZSTD_reset_matchState()
1566 (U32)pledgedSrcSize, params.cParams.windowLog); in ZSTD_resetCCtx_internal()
1567 assert(!ZSTD_isError(ZSTD_checkCParams(params.cParams))); in ZSTD_resetCCtx_internal()
1573 ZSTD_ldm_adjustParameters(¶ms.ldmParams, ¶ms.cParams); in ZSTD_resetCCtx_internal()
1578 …{ size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << params.cParams.windowLog), pledgedSrcS… in ZSTD_resetCCtx_internal()
1580 U32 const divider = (params.cParams.minMatch==3) ? 3 : 4; in ZSTD_resetCCtx_internal()
1596 ¶ms.cParams, ¶ms.ldmParams, zc->staticSize != 0, in ZSTD_resetCCtx_internal()
1639 zc->blockState.matchState.cParams = params.cParams; in ZSTD_resetCCtx_internal()
1690 ¶ms.cParams, in ZSTD_resetCCtx_internal()
1753 size_t cutoff = attachDictSizeCutoffs[cdict->matchState.cParams.strategy]; in ZSTD_shouldAttachDict()
1772 ZSTD_compressionParameters adjusted_cdict_cParams = cdict->matchState.cParams; in ZSTD_resetCCtx_byAttachingCDict()
1773 unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byAttachingCDict()
1783 params.cParams = ZSTD_adjustCParams_internal(adjusted_cdict_cParams, pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict()
1785 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byAttachingCDict()
1788 assert(cctx->appliedParams.cParams.strategy == adjusted_cdict_cParams.strategy); in ZSTD_resetCCtx_byAttachingCDict()
1827 const ZSTD_compressionParameters *cdict_cParams = &cdict->matchState.cParams; in ZSTD_resetCCtx_byCopyingCDict()
1833 { unsigned const windowLog = params.cParams.windowLog; in ZSTD_resetCCtx_byCopyingCDict()
1836 params.cParams = *cdict_cParams; in ZSTD_resetCCtx_byCopyingCDict()
1837 params.cParams.windowLog = windowLog; in ZSTD_resetCCtx_byCopyingCDict()
1840 assert(cctx->appliedParams.cParams.strategy == cdict_cParams->strategy); in ZSTD_resetCCtx_byCopyingCDict()
1841 assert(cctx->appliedParams.cParams.hashLog == cdict_cParams->hashLog); in ZSTD_resetCCtx_byCopyingCDict()
1842 assert(cctx->appliedParams.cParams.chainLog == cdict_cParams->chainLog); in ZSTD_resetCCtx_byCopyingCDict()
1927 params.cParams = srcCCtx->appliedParams.cParams; in ZSTD_copyCCtx_internal()
1931 … assert(dstCCtx->appliedParams.cParams.windowLog == srcCCtx->appliedParams.cParams.windowLog); in ZSTD_copyCCtx_internal()
1932 assert(dstCCtx->appliedParams.cParams.strategy == srcCCtx->appliedParams.cParams.strategy); in ZSTD_copyCCtx_internal()
1933 assert(dstCCtx->appliedParams.cParams.hashLog == srcCCtx->appliedParams.cParams.hashLog); in ZSTD_copyCCtx_internal()
1934 assert(dstCCtx->appliedParams.cParams.chainLog == srcCCtx->appliedParams.cParams.chainLog); in ZSTD_copyCCtx_internal()
1941 …chainSize = (srcCCtx->appliedParams.cParams.strategy == ZSTD_fast) ? 0 : ((size_t)1 << srcCCtx->ap… in ZSTD_copyCCtx_internal()
1942 size_t const hSize = (size_t)1 << srcCCtx->appliedParams.cParams.hashLog; in ZSTD_copyCCtx_internal()
2039 { U32 const hSize = (U32)1 << params->cParams.hashLog; in ZSTD_reduceIndex()
2043 if (params->cParams.strategy != ZSTD_fast) { in ZSTD_reduceIndex()
2044 U32 const chainSize = (U32)1 << params->cParams.chainLog; in ZSTD_reduceIndex()
2045 if (params->cParams.strategy == ZSTD_btlazy2) in ZSTD_reduceIndex()
2107 const int longOffsets = cctxParams->cParams.windowLog > STREAM_ACCUMULATOR_MIN; in ZSTD_entropyCompressSequences_internal()
2108 ZSTD_strategy const strategy = cctxParams->cParams.strategy; in ZSTD_entropyCompressSequences_internal()
2137 cctxParams->cParams.strategy, in ZSTD_entropyCompressSequences_internal()
2312 { size_t const maxCSize = srcSize - ZSTD_minGain(srcSize, cctxParams->cParams.strategy); in ZSTD_entropyCompressSequences()
2397 ZSTD_assertEqualCParams(zc->appliedParams.cParams, ms->cParams); in ZSTD_buildSeqStore()
2399 if (zc->appliedParams.cParams.strategy >= ZSTD_btopt) { in ZSTD_buildSeqStore()
2402 … ZSTD_ldm_skipSequences(&zc->externSeqStore, srcSize, zc->appliedParams.cParams.minMatch); in ZSTD_buildSeqStore()
2458 …sor const blockCompressor = ZSTD_selectBlockCompressor(zc->appliedParams.cParams.strategy, dictMod… in ZSTD_buildSeqStore()
2719 … size_t const maxCSize = srcSize - ZSTD_minGain(srcSize, zc->appliedParams.cParams.strategy); in ZSTD_compressBlock_targetCBlockSize_body()
2763 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded()
2764 U32 const cycleLog = ZSTD_cycleLog(params->cParams.chainLog, params->cParams.strategy); in ZSTD_overflowCorrectIfNeeded()
2797 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk()
2799 assert(cctx->appliedParams.cParams.windowLog <= ZSTD_WINDOWLOG_MAX); in ZSTD_compress_frameChunk()
2868 U32 const windowSize = (U32)1 << params->cParams.windowLog; in ZSTD_writeFrameHeader()
2870 … BYTE const windowLogByte = (BYTE)((params->cParams.windowLog - ZSTD_WINDOWLOG_ABSOLUTEMIN) << 3); in ZSTD_writeFrameHeader()
3032 ZSTD_compressionParameters const cParams = cctx->appliedParams.cParams; in ZSTD_getBlockSize() local
3033 assert(!ZSTD_checkCParams(cParams)); in ZSTD_getBlockSize()
3034 return MIN (ZSTD_BLOCKSIZE_MAX, (U32)1 << cParams.windowLog); in ZSTD_getBlockSize()
3068 ZSTD_assertEqualCParams(params->cParams, ms->cParams); in ZSTD_loadDictionaryContent()
3082 switch(params->cParams.strategy) in ZSTD_loadDictionaryContent()
3324 DEBUGLOG(4, "ZSTD_compressBegin_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_internal()
3326 assert(!ZSTD_isError(ZSTD_checkCParams(params->cParams))); in ZSTD_compressBegin_internal()
3366 DEBUGLOG(4, "ZSTD_compressBegin_advanced_internal: wlog=%u", params->cParams.windowLog); in ZSTD_compressBegin_advanced_internal()
3368 FORWARD_IF_ERROR( ZSTD_checkCParams(params->cParams) , ""); in ZSTD_compressBegin_advanced_internal()
3490 FORWARD_IF_ERROR(ZSTD_checkCParams(params.cParams), ""); in ZSTD_compress_advanced()
3558 size_t dictSize, ZSTD_compressionParameters cParams, in ZSTD_estimateCDictSize_advanced() argument
3564 + ZSTD_sizeof_matchState(&cParams, /* forCCtx */ 0) in ZSTD_estimateCDictSize_advanced()
3571 …ZSTD_compressionParameters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENT… in ZSTD_estimateCDictSize() local
3572 return ZSTD_estimateCDictSize_advanced(dictSize, cParams, ZSTD_dlm_byCopy); in ZSTD_estimateCDictSize()
3592 assert(!ZSTD_checkCParams(params.cParams)); in ZSTD_initCDict_internal()
3593 cdict->matchState.cParams = params.cParams; in ZSTD_initCDict_internal()
3617 ¶ms.cParams, in ZSTD_initCDict_internal()
3641 ZSTD_compressionParameters cParams, ZSTD_customMem customMem) in ZSTD_createCDict_advanced_internal() argument
3648 ZSTD_sizeof_matchState(&cParams, /* forCCtx */ 0) + in ZSTD_createCDict_advanced_internal()
3675 ZSTD_compressionParameters cParams, in ZSTD_createCDict_advanced() argument
3681 cctxParams.cParams = cParams; in ZSTD_createCDict_advanced()
3697 ZSTD_compressionParameters cParams; in ZSTD_createCDict_advanced2() local
3704 cParams = ZSTD_dedicatedDictSearch_getCParams( in ZSTD_createCDict_advanced2()
3706 ZSTD_overrideCParams(&cParams, &cctxParams.cParams); in ZSTD_createCDict_advanced2()
3708 cParams = ZSTD_getCParamsFromCCtxParams( in ZSTD_createCDict_advanced2()
3712 if (!ZSTD_dedicatedDictSearch_isSupported(&cParams)) { in ZSTD_createCDict_advanced2()
3715 cParams = ZSTD_getCParamsFromCCtxParams( in ZSTD_createCDict_advanced2()
3719 cctxParams.cParams = cParams; in ZSTD_createCDict_advanced2()
3722 dictLoadMethod, cctxParams.cParams, in ZSTD_createCDict_advanced2()
3738 …ZSTD_compressionParameters cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_U… in ZSTD_createCDict() local
3741 cParams, ZSTD_defaultCMem); in ZSTD_createCDict()
3749 …ZSTD_compressionParameters cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_U… in ZSTD_createCDict_byReference() local
3752 cParams, ZSTD_defaultCMem); in ZSTD_createCDict_byReference()
3789 ZSTD_compressionParameters cParams) in ZSTD_initStaticCDict() argument
3791 size_t const matchStateSize = ZSTD_sizeof_matchState(&cParams, /* forCCtx */ 0); in ZSTD_initStaticCDict()
3815 params.cParams = cParams; in ZSTD_initStaticCDict()
3829 return cdict->matchState.cParams; in ZSTD_getCParamsFromCDict()
3856 params.cParams = ( pledgedSrcSize < ZSTD_USE_CDICT_PARAMS_SRCSIZE_CUTOFF in ZSTD_compressBegin_usingCDict_advanced()
3873 cctxParams.cParams.windowLog = MAX(cctxParams.cParams.windowLog, limitedSrcLog); in ZSTD_compressBegin_usingCDict_advanced()
3988 assert(!ZSTD_isError(ZSTD_checkCParams(params->cParams))); in ZSTD_initCStream_internal()
4041 FORWARD_IF_ERROR( ZSTD_checkCParams(params.cParams) , ""); in ZSTD_initCStream_advanced()
4325 params.cParams = ZSTD_getCParamsFromCCtxParams( in ZSTD_CCtx_init_compressStream2()
4330 if (ZSTD_CParams_shouldEnableLdm(¶ms.cParams)) { in ZSTD_CCtx_init_compressStream2()
4337 assert(!ZSTD_isError(ZSTD_checkCParams(params.cParams))); in ZSTD_CCtx_init_compressStream2()
4511 cctx->appliedParams.cParams.windowLog, dictSize, in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4512 cctx->appliedParams.cParams.minMatch), in ZSTD_copySequencesToSeqStoreExplicitBlockDelim()
4599 … if (matchLength > blockSize && firstHalfMatchLength >= cctx->appliedParams.cParams.minMatch) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4602 if (secondHalfMatchLength < cctx->appliedParams.cParams.minMatch) { in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4604 … endPosInSequence -= cctx->appliedParams.cParams.minMatch - secondHalfMatchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4605 … bytesAdjustment = cctx->appliedParams.cParams.minMatch - secondHalfMatchLength; in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4636 cctx->appliedParams.cParams.windowLog, dictSize, in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4637 cctx->appliedParams.cParams.minMatch), in ZSTD_copySequencesToSeqStoreNoBlockDelim()
4978 …ZSTD_compressionParameters cParams = ZSTD_getCParams_internal(compressionLevel, 0, dictSize, ZSTD_… in ZSTD_dedicatedDictSearch_getCParams() local
4979 switch (cParams.strategy) { in ZSTD_dedicatedDictSearch_getCParams()
4986 cParams.hashLog += ZSTD_LAZY_DDSS_BUCKET_LOG; in ZSTD_dedicatedDictSearch_getCParams()
4994 return cParams; in ZSTD_dedicatedDictSearch_getCParams()
4998 ZSTD_compressionParameters const* cParams) in ZSTD_dedicatedDictSearch_isSupported() argument
5000 return (cParams->strategy >= ZSTD_greedy) in ZSTD_dedicatedDictSearch_isSupported()
5001 && (cParams->strategy <= ZSTD_lazy2) in ZSTD_dedicatedDictSearch_isSupported()
5002 && (cParams->hashLog >= cParams->chainLog) in ZSTD_dedicatedDictSearch_isSupported()
5003 && (cParams->chainLog <= 24); in ZSTD_dedicatedDictSearch_isSupported()
5012 ZSTD_compressionParameters* cParams) { in ZSTD_dedicatedDictSearch_revertCParams() argument
5013 switch (cParams->strategy) { in ZSTD_dedicatedDictSearch_revertCParams()
5020 cParams->hashLog -= ZSTD_LAZY_DDSS_BUCKET_LOG; in ZSTD_dedicatedDictSearch_revertCParams()
5094 …ZSTD_compressionParameters const cParams = ZSTD_getCParams_internal(compressionLevel, srcSizeHint,… in ZSTD_getParams_internal() local
5097 params.cParams = cParams; in ZSTD_getParams_internal()