Lines Matching defs:cg
240 int node, cg, ctx, pos;
262 for (cg=0; cg<2; cg++)
264 if (vp56_rac_get_prob(c, vp6_runv_pct[cg][node]))
265 model->coeff_runv[cg][node] = vp56_rac_gets_nn(c, 7);
269 for (cg=0; cg<6; cg++)
271 if (vp56_rac_get_prob(c, vp6_ract_pct[ct][pt][cg][node])) {
273 model->coeff_ract[pt][ct][cg][node] = def_prob[node];
275 model->coeff_ract[pt][ct][cg][node] = def_prob[node];
285 for (cg = 0; cg < 6; cg++)
286 vp6_build_huff_tree(s, model->coeff_ract[pt][ct][cg],
288 &s->ract_vlc[pt][ct][cg]);
360 int b, cg, idx;
403 cg = FFMIN(vp6_coeff_groups[coeff_idx], 3);
404 vlc_coeff = &s->ract_vlc[pt][ct][cg];
416 int b, i, cg, idx, ctx;
472 cg = vp6_coeff_groups[coeff_idx+=run];
473 model1 = model2 = model->coeff_ract[pt][ct][cg];