Searched refs:mod_val (Results 1 – 3 of 3) sorted by relevance
81 static int arith_get_number(ArithCoder *c, int mod_val) in arith_get_number() argument84 int val = ((c->value - c->low + 1) * mod_val - 1) / range; in arith_get_number()87 c->high = (prob + range) / mod_val + c->low - 1; in arith_get_number()88 c->low += prob / mod_val; in arith_get_number()
57 int ff_rtmp_calc_digest_pos(const uint8_t *buf, int off, int mod_val, in ff_rtmp_calc_digest_pos() argument64 digest_pos = digest_pos % mod_val + add_val; in ff_rtmp_calc_digest_pos()
65 int ff_rtmp_calc_digest_pos(const uint8_t *buf, int off, int mod_val,