Lines Matching refs:cur
158 int row_index; /* cur row's vertical index in dither matrix */
616 register LOCFSERROR cur; /* current error or pixel value */
617 LOCFSERROR belowerr; /* error for pixel below cur */
659 cur = 0;
664 /* cur holds the error propagated from the previous pixel on the
672 cur = RIGHT_SHIFT(cur + errorptr[dir] + 8, 4);
677 cur += GETJSAMPLE(*input_ptr);
678 cur = GETJSAMPLE(range_limit[cur]);
680 pixcode = GETJSAMPLE(colorindex_ci[cur]);
685 cur -= GETJSAMPLE(colormap_ci[pixcode]);
690 bnexterr = cur;
691 delta = cur * 2;
692 cur += delta; /* form error * 3 */
693 errorptr[0] = (FSERROR) (bpreverr + cur);
694 cur += delta; /* form error * 5 */
695 bpreverr = belowerr + cur;
697 cur += delta; /* form error * 7 */
698 /* At this point cur contains the 7/16 error value to be propagated