Lines Matching defs:cg
251 int node, cg, ctx, pos;
273 for (cg=0; cg<2; cg++)
275 if (vp56_rac_get_prob(c, vp6_runv_pct[cg][node]))
276 model->coeff_runv[cg][node] = vp56_rac_gets_nn(c, 7);
280 for (cg=0; cg<6; cg++)
282 if (vp56_rac_get_prob(c, vp6_ract_pct[ct][pt][cg][node])) {
284 model->coeff_ract[pt][ct][cg][node] = def_prob[node];
286 model->coeff_ract[pt][ct][cg][node] = def_prob[node];
298 for (cg = 0; cg < 6; cg++)
299 if (vp6_build_huff_tree(s, model->coeff_ract[pt][ct][cg],
301 &s->ract_vlc[pt][ct][cg]))
375 int b, cg, idx;
422 cg = FFMIN(vp6_coeff_groups[coeff_idx], 3);
423 vlc_coeff = &s->ract_vlc[pt][ct][cg];
435 int b, i, cg, idx, ctx;
494 cg = vp6_coeff_groups[coeff_idx];
495 model1 = model2 = model->coeff_ract[pt][ct][cg];
613 int pt, ct, cg;
621 for (cg=0; cg<6; cg++)
622 ff_free_vlc(&s->ract_vlc[pt][ct][cg]);