Searched refs:prob (Results 1 – 2 of 2) sorted by relevance
274 uint16_t *prob = p + LZMA_IS_MATCH + (state << LZMA_NUM_POS_BITS_MAX) + pos_state; in IF_DESKTOP() local276 if (!rc_is_bit_1(rc, prob)) { in IF_DESKTOP()281 prob = (p + LZMA_LITERAL in IF_DESKTOP()304 bit ^= (rc_get_bit(rc, prob + 0x100 + bit + mi, &mi) << 8); /* 0x100 or 0 */ in IF_DESKTOP()310 rc_get_bit(rc, prob + mi, &mi); in IF_DESKTOP()
499 static __always_inline int XZ_FUNC rc_bit(struct rc_dec *rc, uint16_t *prob) in rc_bit() argument505 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit()508 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; in rc_bit()513 *prob -= *prob >> RC_MOVE_BITS; in rc_bit()