Home | History | Annotate | Download | only in jpeg-6b

Lines Matching refs:c1

320   int c0,c1,c2;
331 for (c1 = c1min; c1 <= c1max; c1++) {
332 histp = & histogram[c0][c1][c2min];
342 for (c1 = c1min; c1 <= c1max; c1++) {
343 histp = & histogram[c0][c1][c2min];
352 for (c1 = c1min; c1 <= c1max; c1++)
354 histp = & histogram[c0][c1][c2min];
357 boxp->c1min = c1min = c1;
363 for (c1 = c1max; c1 >= c1min; c1--)
365 histp = & histogram[c0][c1][c2min];
368 boxp->c1max = c1max = c1;
377 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS)
388 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS)
412 for (c1 = c1min; c1 <= c1max; c1++) {
413 histp = & histogram[c0][c1][c2min];
429 int c0,c1,c2,cmax;
452 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE;
458 cmax = c1; n = 1;
462 cmax = c1; n = 1;
507 int c0,c1,c2;
520 for (c1 = c1min; c1 <= c1max; c1++) {
521 histp = & histogram[c0][c1][c2min];
526 c1total += ((c1 << C1_SHIFT) + ((1<<C1_SHIFT)>>1)) * count;
813 /* Compute (square of) distance from minc0/c1/c2 to this color */
855 fill_inverse_cmap (j_decompress_ptr cinfo, int c0, int c1, int c2)
857 /* histogram cell c0/c1/c2. (Only that one cell MUST be filled, but */
874 c1 >>= BOX_C1_LOG;
882 minc1 = (c1 << BOX_C1_SHIFT) + ((1 << C1_SHIFT) >> 1);
896 c1 <<= BOX_C1_LOG;
901 cachep = & histogram[c0+ic0][c1+ic1][c2];
923 register int c0, c1, c2;
934 c1 = GETJSAMPLE(*inptr++) >> C1_SHIFT;
936 cachep = & histogram[c0][c1][c2];
940 fill_inverse_cmap(cinfo, c0,c1,c2);