Lines Matching defs:cg
265 int node, cg, ctx, pos;
287 for (cg=0; cg<2; cg++)
289 if (vp56_rac_get_prob_branchy(c, vp6_runv_pct[cg][node]))
290 model->coeff_runv[cg][node] = vp56_rac_gets_nn(c, 7);
294 for (cg=0; cg<6; cg++)
296 if (vp56_rac_get_prob_branchy(c, vp6_ract_pct[ct][pt][cg][node])) {
298 model->coeff_ract[pt][ct][cg][node] = def_prob[node];
300 model->coeff_ract[pt][ct][cg][node] = def_prob[node];
312 for (cg = 0; cg < 6; cg++)
313 if (vp6_build_huff_tree(s, model->coeff_ract[pt][ct][cg],
315 &s->ract_vlc[pt][ct][cg]))
389 int b, cg, idx;
436 cg = FFMIN(vp6_coeff_groups[coeff_idx], 3);
437 vlc_coeff = &s->ract_vlc[pt][ct][cg];
449 int b, i, cg, idx, ctx;
508 cg = vp6_coeff_groups[coeff_idx];
509 model1 = model2 = model->coeff_ract[pt][ct][cg];
662 int pt, ct, cg;
668 for (cg=0; cg<6; cg++)
669 ff_free_vlc(&s->ract_vlc[pt][ct][cg]);