Searched refs:prob (Results 1 – 2 of 2) sorted by relevance
349 int pos_state, uint16_t *prob, in process_bit0() argument352 rc_update_bit_0(rc, prob); in process_bit0()353 prob = (p + LZMA_LITERAL + in process_bit0()367 prob_lit = prob + 0x100 + bit + mi; in process_bit0()378 uint16_t *prob_lit = prob + mi; in process_bit0()393 int pos_state, uint16_t *prob) { in process_bit1() argument399 rc_update_bit_1(rc, prob); in process_bit1()400 prob = p + LZMA_IS_REP + cst->state; in process_bit1()401 if (rc_is_bit_0(rc, prob)) { in process_bit1()402 rc_update_bit_0(rc, prob); in process_bit1()[all …]
514 static __always_inline int rc_bit(struct rc_dec *rc, uint16_t *prob) in rc_bit() argument520 bound = (rc->range >> RC_BIT_MODEL_TOTAL_BITS) * *prob; in rc_bit()523 *prob += (RC_BIT_MODEL_TOTAL - *prob) >> RC_MOVE_BITS; in rc_bit()528 *prob -= *prob >> RC_MOVE_BITS; in rc_bit()