Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dopus_rc.c26 #define OPUS_RC_SYM 8 macro
27 #define OPUS_RC_CEIL ((1 << OPUS_RC_SYM) - 1)
29 #define OPUS_RC_BOT (OPUS_RC_TOP >> OPUS_RC_SYM)
30 #define OPUS_RC_SHIFT (OPUS_RC_BITS - OPUS_RC_SYM - 1)
34 const int cb = cbuf >> OPUS_RC_SYM, mb = (OPUS_RC_CEIL + cb) & OPUS_RC_CEIL; in opus_rc_enc_carryout()
50 …rc->value = ((rc->value << OPUS_RC_SYM) | (get_bits(&rc->gb, OPUS_RC_SYM) ^ OPUS_RC_CEIL)) & (OPUS… in opus_rc_dec_normalize()
51 rc->range <<= OPUS_RC_SYM; in opus_rc_dec_normalize()
52 rc->total_bits += OPUS_RC_SYM; in opus_rc_dec_normalize()
60 rc->value = (rc->value << OPUS_RC_SYM) & (OPUS_RC_TOP - 1); in opus_rc_enc_normalize()
61 rc->range <<= OPUS_RC_SYM; in opus_rc_enc_normalize()
[all …]