Lines Matching defs:coeff_i
1193 int coeff_i = 0;
1209 coeff_i =
1213 coeff_i =
1222 while (coeff_i < num_coeffs && get_bits_left(gb) > 0) {
1233 if (eob_run > num_coeffs - coeff_i) {
1234 dct_tokens[j++] = TOKEN_EOB(num_coeffs - coeff_i);
1235 blocks_ended += num_coeffs - coeff_i;
1236 eob_run -= num_coeffs - coeff_i;
1237 coeff_i = num_coeffs;
1241 coeff_i += eob_run;
1255 all_fragments[coded_fragment_list[coeff_i]].dc = coeff;
1271 coeff_i++;
1415 int coeff_i = 0;
1418 while (!eob_tracker[coeff_i]) {
1422 token = get_vlc2(gb, vlc_tables[coeff_i]->table, 11, 3);
1427 *s->dct_tokens[plane][coeff_i]++ = TOKEN_EOB(0);
1428 eob_tracker[coeff_i] = eob_run - 1;
1434 if (coeff_i + zero_run > 64) {
1437 zero_run, 64 - coeff_i);
1438 zero_run = 64 - coeff_i;
1440 *s->dct_tokens[plane][coeff_i]++ = TOKEN_ZERO_RUN(coeff, zero_run);
1441 coeff_i += zero_run;
1443 if (!coeff_i)
1446 *s->dct_tokens[plane][coeff_i]++ = TOKEN_COEFF(coeff);
1448 coeff_i++;
1449 if (coeff_i >= 64) /* > 64 occurs when there is a zero_run overflow */
1456 *s->dct_tokens[plane][coeff_i]++ = TOKEN_EOB(0);
1457 eob_tracker[coeff_i]--;