Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching defs:c1

298   int c0,c1,c2;
309 for (c1 = c1min; c1 <= c1max; c1++) {
310 histp = & histogram[c0][c1][c2min];
320 for (c1 = c1min; c1 <= c1max; c1++) {
321 histp = & histogram[c0][c1][c2min];
330 for (c1 = c1min; c1 <= c1max; c1++)
332 histp = & histogram[c0][c1][c2min];
335 boxp->c1min = c1min = c1;
341 for (c1 = c1max; c1 >= c1min; c1--)
343 histp = & histogram[c0][c1][c2min];
346 boxp->c1max = c1max = c1;
355 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS)
366 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS)
390 for (c1 = c1min; c1 <= c1max; c1++) {
391 histp = & histogram[c0][c1][c2min];
407 int c0,c1,c2,cmax;
430 c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE;
436 cmax = c1; n = 1;
441 cmax = c1; n = 1;
486 int c0,c1,c2;
499 for (c1 = c1min; c1 <= c1max; c1++) {
500 histp = & histogram[c0][c1][c2min];
505 c1total += ((c1 << C1_SHIFT) + ((1<<C1_SHIFT)>>1)) * count;
792 /* Compute (square of) distance from minc0/c1/c2 to this color */
834 fill_inverse_cmap (j_decompress_ptr cinfo, int c0, int c1, int c2)
836 /* histogram cell c0/c1/c2. (Only that one cell MUST be filled, but */
853 c1 >>= BOX_C1_LOG;
861 minc1 = (c1 << BOX_C1_SHIFT) + ((1 << C1_SHIFT) >> 1);
875 c1 <<= BOX_C1_LOG;
880 cachep = & histogram[c0+ic0][c1+ic1][c2];
902 register int c0, c1, c2;
913 c1 = GETJSAMPLE(*inptr++) >> C1_SHIFT;
915 cachep = & histogram[c0][c1][c2];
919 fill_inverse_cmap(cinfo, c0,c1,c2);