Searched refs:proba (Results 1 – 3 of 3) sorted by relevance
465 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local466 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()
2253 const i16 proba = (i16)val - 1; in FSE_decode_header() local2259 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()
7941 short proba = (short)((count[s]*step) >> scale); in FSE_normalizeCount() local7942 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()