Searched refs:threshold (Results 1 – 2 of 2) sorted by relevance
66 int threshold; in FSE_readNCount() local82 threshold = 1 << nbBits; in FSE_readNCount()118 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount()121 if ((bitStream & (threshold - 1)) < (U32)max) { in FSE_readNCount()122 count = bitStream & (threshold - 1); in FSE_readNCount()125 count = bitStream & (2 * threshold - 1); in FSE_readNCount()126 if (count >= threshold) in FSE_readNCount()135 while (remaining < threshold) { in FSE_readNCount()137 threshold >>= 1; in FSE_readNCount()
212 int threshold; in FSE_writeNCount_generic() local226 threshold = tableSize; in FSE_writeNCount_generic()263 int const max = (2 * threshold - 1) - remaining; in FSE_writeNCount_generic()266 if (count >= threshold) in FSE_writeNCount_generic()274 while (remaining < threshold) in FSE_writeNCount_generic()275 nbBits--, threshold >>= 1; in FSE_writeNCount_generic()