Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dfse_compress.c465 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local
466 if (proba<8) { in FSE_normalizeCount()
467 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
468 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
470 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
471 normalizedCounter[s] = proba; in FSE_normalizeCount()
472 stillToDistribute -= proba; in FSE_normalizeCount()
/f-stack/freebsd/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c2253 const i16 proba = (i16)val - 1; in FSE_decode_header() local
2259 remaining -= proba < 0 ? -proba : proba; in FSE_decode_header()
2261 frequencies[symb] = proba; in FSE_decode_header()
2268 if (proba == 0) { in FSE_decode_header()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c7941 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local
7942 if (proba<8) { in FSE_normalizeCount()
7943 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount()
7944 proba += (count[s]*step) - ((U64)proba<<scale) > restToBeat; in FSE_normalizeCount()
7946 if (proba > largestP) { largestP=proba; largest=s; } in FSE_normalizeCount()
7947 normalizedCounter[s] = proba; in FSE_normalizeCount()
7948 stillToDistribute -= proba; in FSE_normalizeCount()