Lines Matching defs:coeff
374 int coeff, sign, coeff_idx;
392 coeff = get_vlc2(&s->gb, vlc_coeff->table, 9, 3);
393 if (coeff == 0) {
402 } else if (coeff == 11) { /* end of block */
403 if (coeff_idx == 1) /* first AC coeff ? */
407 int coeff2 = vp56_coeff_bias[coeff];
408 if (coeff > 4)
409 coeff2 += get_bits(&s->gb, coeff <= 9 ? coeff - 4 : 11);
434 int coeff, sign, coeff_idx;
452 /* parse a coeff */
456 coeff = vp56_coeff_bias[idx+5];
458 coeff += vp56_rac_get_prob(c, vp56_coeff_parse_table[idx][i]) << i;
461 coeff = 3 + vp56_rac_get_prob(c, model1[5]);
463 coeff = 2;
468 coeff = 1;
471 coeff = (coeff ^ -sign) + sign;
473 coeff *= s->dequant_ac;
475 s->block_coeff[b][permute[idx]] = coeff;