Searched refs:od_ec_window (Results 1 – 5 of 5) sorted by relevance
80 od_ec_window dif; in od_ec_dec_refill()94 dif ^= (od_ec_window)bptr[0] << s; in od_ec_dec_refill()125 static int od_ec_dec_normalize(od_ec_dec *dec, od_ec_window dif, unsigned rng, in od_ec_dec_normalize()149 dec->dif = ((od_ec_window)1 << (OD_EC_WINDOW_SIZE - 1)) - 1; in od_ec_dec_init()159 od_ec_window dif; in od_ec_decode_bool_q15()160 od_ec_window vw; in od_ec_decode_bool_q15()173 vw = (od_ec_window)v << (OD_EC_WINDOW_SIZE - 16); in od_ec_decode_bool_q15()194 od_ec_window dif; in od_ec_decode_cdf_q15()221 dif -= (od_ec_window)v << (OD_EC_WINDOW_SIZE - 16); in od_ec_decode_cdf_q15()
56 static void od_ec_enc_normalize(od_ec_enc *enc, od_ec_window low, in od_ec_enc_normalize()158 od_ec_window l; in od_ec_encode_q15()194 od_ec_window l; in od_ec_encode_bool_q15()258 enc->low = (enc->low & ~((od_ec_window)mask << (16 + enc->cnt))) | in od_ec_enc_patch_initial_bits()259 (od_ec_window)val << (16 + enc->cnt + shift); in od_ec_enc_patch_initial_bits()281 od_ec_window m; in od_ec_enc_done()282 od_ec_window e; in od_ec_enc_done()283 od_ec_window l; in od_ec_enc_done()
25 typedef uint32_t od_ec_window; typedef28 #define OD_EC_WINDOW_SIZE ((int)sizeof(od_ec_window) * CHAR_BIT)
51 od_ec_window dif;
40 od_ec_window low;