Home
last modified time | relevance | path

Searched refs:p_tot (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dopus_rc.c78 uint32_t p_tot, const int ptwo) in opus_rc_enc_update() argument
82 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()