Searched refs:rscaled (Results 1 – 1 of 1) sorted by relevance
80 uint32_t rscaled, cnd = !!b; in opus_rc_enc_update() local82 rscaled = rc->range >> ff_log2(p_tot); in opus_rc_enc_update()84 rscaled = rc->range/p_tot; in opus_rc_enc_update()85 rc->value += cnd*(rc->range - rscaled*(p_tot - b)); in opus_rc_enc_update()86 rc->range = (!cnd)*(rc->range - rscaled*(p_tot - p)) + cnd*rscaled*(p - b); in opus_rc_enc_update()