Lines Matching refs:probs
522 struct rc_dec *rc, uint16_t *probs, uint32_t limit) in rc_bittree() argument
527 if (rc_bit(rc, &probs[symbol])) in rc_bittree()
538 uint16_t *probs, uint32_t *dest, uint32_t limit) in rc_bittree_reverse() argument
544 if (rc_bit(rc, &probs[symbol])) { in rc_bittree_reverse()
585 uint16_t *probs; in lzma_literal() local
592 probs = lzma_literal_probs(s); in lzma_literal()
595 symbol = rc_bittree(&s->rc, probs, 0x100); in lzma_literal()
606 if (rc_bit(&s->rc, &probs[i])) { in lzma_literal()
624 uint16_t *probs; in lzma_len() local
628 probs = l->low[pos_state]; in lzma_len()
633 probs = l->mid[pos_state]; in lzma_len()
637 probs = l->high; in lzma_len()
644 s->lzma.len += rc_bittree(&s->rc, probs, limit) - limit; in lzma_len()
650 uint16_t *probs; in lzma_match() local
662 probs = s->lzma.dist_slot[lzma_get_dist_state(s->lzma.len)]; in lzma_match()
663 dist_slot = rc_bittree(&s->rc, probs, DIST_SLOTS) - DIST_SLOTS; in lzma_match()
673 probs = s->lzma.dist_special + s->lzma.rep0 in lzma_match()
675 rc_bittree_reverse(&s->rc, probs, in lzma_match()
771 uint16_t *probs; in lzma_reset() local
789 probs = s->lzma.is_match[0]; in lzma_reset()
791 probs[i] = RC_BIT_MODEL_TOTAL / 2; in lzma_reset()