Lines Matching refs:ci
196 int ci;
204 for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
205 compptr = cinfo->cur_comp_info[ci];
209 entropy->last_dc_val[ci] = 0;
210 entropy->dc_context[ci] = 0;
249 int blkn, ci, tbl, sign;
265 ci = cinfo->MCU_membership[blkn];
266 tbl = cinfo->cur_comp_info[ci]->dc_tbl_no;
271 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
275 entropy->dc_context[ci] = 0;
295 entropy->dc_context[ci] = 0; /* zero diff category */
297 entropy->dc_context[ci] = 12 + (sign * 4); /* large diff category */
299 entropy->dc_context[ci] = 4 + (sign * 4); /* small diff category */
306 entropy->last_dc_val[ci] += v;
310 (*block)[0] = (JCOEF) LEFT_SHIFT(entropy->last_dc_val[ci], cinfo->Al);
505 int blkn, ci, tbl, sign, k;
521 ci = cinfo->MCU_membership[blkn];
522 compptr = cinfo->cur_comp_info[ci];
529 st = entropy->dc_stats[tbl] + entropy->dc_context[ci];
533 entropy->dc_context[ci] = 0;
553 entropy->dc_context[ci] = 0; /* zero diff category */
555 entropy->dc_context[ci] = 12 + (sign * 4); /* large diff category */
557 entropy->dc_context[ci] = 4 + (sign * 4); /* small diff category */
564 entropy->last_dc_val[ci] += v;
568 (*block)[0] = (JCOEF) entropy->last_dc_val[ci];
629 int ci, tbl;
659 for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
660 int coefi, cindex = cinfo->cur_comp_info[ci]->component_index;
695 for (ci = 0; ci < cinfo->comps_in_scan; ci++) {
696 compptr = cinfo->cur_comp_info[ci];
706 entropy->last_dc_val[ci] = 0;
707 entropy->dc_context[ci] = 0;
757 int *coef_bit_ptr, ci;
762 for (ci = 0; ci < cinfo->num_components; ci++)