Lines Matching refs:srcSizeHint
738 CCtxParams->srcSizeHint = value; in ZSTD_CCtxParams_setParameter()
739 return CCtxParams->srcSizeHint; in ZSTD_CCtxParams_setParameter()
852 *value = (int)CCtxParams->srcSizeHint; in ZSTD_CCtxParams_getParameter()
1199 …ters ZSTD_getCParams_internal(int compressionLevel, unsigned long long srcSizeHint, size_t dictSiz…
1200 static ZSTD_parameters ZSTD_getParams_internal(int compressionLevel, unsigned long long srcSizeHint…
1216 … const ZSTD_CCtx_params* CCtxParams, U64 srcSizeHint, size_t dictSize, ZSTD_cParamMode_e mode) in ZSTD_getCParamsFromCCtxParams() argument
1219 if (srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN && CCtxParams->srcSizeHint > 0) { in ZSTD_getCParamsFromCCtxParams()
1220 srcSizeHint = CCtxParams->srcSizeHint; in ZSTD_getCParamsFromCCtxParams()
1222 cParams = ZSTD_getCParams_internal(CCtxParams->compressionLevel, srcSizeHint, dictSize, mode); in ZSTD_getCParamsFromCCtxParams()
1227 return ZSTD_adjustCParams_internal(cParams, srcSizeHint, dictSize, mode); in ZSTD_getCParamsFromCCtxParams()
5030 static U64 ZSTD_getCParamRowSize(U64 srcSizeHint, size_t dictSize, ZSTD_cParamMode_e mode) in ZSTD_getCParamRowSize() argument
5044 { int const unknown = srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getCParamRowSize()
5046 return unknown && dictSize == 0 ? ZSTD_CONTENTSIZE_UNKNOWN : srcSizeHint+dictSize+addedSize; in ZSTD_getCParamRowSize()
5055 …ters ZSTD_getCParams_internal(int compressionLevel, unsigned long long srcSizeHint, size_t dictSiz… in ZSTD_getCParams_internal() argument
5057 U64 const rSize = ZSTD_getCParamRowSize(srcSizeHint, dictSize, mode); in ZSTD_getCParams_internal()
5075 return ZSTD_adjustCParams_internal(cp, srcSizeHint, dictSize, mode); in ZSTD_getCParams_internal()
5082 ZSTD_compressionParameters ZSTD_getCParams(int compressionLevel, unsigned long long srcSizeHint, si… in ZSTD_getCParams() argument
5084 if (srcSizeHint == 0) srcSizeHint = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getCParams()
5085 return ZSTD_getCParams_internal(compressionLevel, srcSizeHint, dictSize, ZSTD_cpm_unknown); in ZSTD_getCParams()
5092 static ZSTD_parameters ZSTD_getParams_internal(int compressionLevel, unsigned long long srcSizeHint… in ZSTD_getParams_internal() argument
5094 …nParameters const cParams = ZSTD_getCParams_internal(compressionLevel, srcSizeHint, dictSize, mode… in ZSTD_getParams_internal()
5106 ZSTD_parameters ZSTD_getParams(int compressionLevel, unsigned long long srcSizeHint, size_t dictSiz… in ZSTD_getParams() argument
5107 if (srcSizeHint == 0) srcSizeHint = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getParams()
5108 return ZSTD_getParams_internal(compressionLevel, srcSizeHint, dictSize, ZSTD_cpm_unknown); in ZSTD_getParams()