Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmss3.c47 int num_syms; member
175 for (i = 0; i < m->num_syms; i++) { in model_update()
181 for (i = 0; i < m->num_syms; i++) { in model_update()
197 for (i = 0; i < m->num_syms - 1; i++) in model_reset()
199 m->weights[m->num_syms - 1] = 0; in model_reset()
201 m->upd_val = m->num_syms; in model_reset()
203 model_update(m, m->num_syms - 1); in model_reset()
205 m->upd_val = (m->num_syms + 6) >> 1; in model_reset()
208 static av_cold void model_init(Model *m, int num_syms) in model_init() argument
210 m->num_syms = num_syms; in model_init()
[all …]
Dmss12.c52 thr = 2 * m->weights[m->num_syms] - 1; in model_calc_threshold()
62 for (i = 0; i <= m->num_syms; i++) { in model_reset()
64 m->cum_prob[i] = m->num_syms - i; in model_reset()
67 for (i = 0; i < m->num_syms; i++) in model_reset()
71 static av_cold void model_init(Model *m, int num_syms, int thr_weight) in model_init() argument
73 m->num_syms = num_syms; in model_init()
75 m->threshold = num_syms * thr_weight; in model_init()
87 for (i = m->num_syms; i >= 0; i--) { in model_rescale_weights()
146 ctx->num_syms = cache_size; in pixctx_init()
149 model_init(&ctx->cache_model, ctx->num_syms + 1, THRESH_LOW); in pixctx_init()
[all …]
Dmss12.h44 int num_syms; member
61 int cache_size, num_syms; member
Dcbs_av1_syntax_template.c1126 uint32_t abs_bits, prec_bits, num_syms; in FUNC() local
1142 num_syms = 2 * (1 << abs_bits) + 1; in FUNC()
1143 subexp(gm_params[ref][idx], num_syms, 2, ref, idx); in FUNC()
/third_party/weston/clients/
Dsimple-im.c231 uint32_t num_syms; in input_method_keyboard_key() local
240 num_syms = xkb_state_key_get_syms(keyboard->state, code, &syms); in input_method_keyboard_key()
243 if (num_syms == 1) in input_method_keyboard_key()
Dwindow.c3162 uint32_t code, num_syms; in keyboard_handle_key() local
3181 num_syms = xkb_state_key_get_syms(input->xkb.state, code, &syms); in keyboard_handle_key()
3184 if (num_syms == 1) in keyboard_handle_key()
/third_party/flutter/glfw/src/
Dwl_init.c268 uint32_t code, num_syms; in keyboardHandleKey() local
286 num_syms = xkb_key_get_syms(_glfw.wl.xkb.state, code, &syms); in keyboardHandleKey()
288 if (num_syms == 1) in keyboardHandleKey()
/third_party/selinux/libsepol/src/
Dwrite.c2179 unsigned int i, num_syms; in policydb_write() local
2298 num_syms = info->sym_num; in policydb_write()
2299 for (i = 0; i < num_syms; i++) { in policydb_write()
2358 if (avrule_block_write(p->global, num_syms, p, fp) == -1) { in policydb_write()
2362 for (i = 0; i < num_syms; i++) { in policydb_write()