Home | History | Annotate | Download | only in libjpeg

Lines Matching refs:cur

160   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 */
660 cur = 0;
665 /* cur holds the error propagated from the previous pixel on the
673 cur = RIGHT_SHIFT(cur + errorptr[dir] + 8, 4);
678 cur += GETJSAMPLE(*input_ptr);
679 cur = GETJSAMPLE(range_limit[cur]);
681 pixcode = GETJSAMPLE(colorindex_ci[cur]);
686 cur -= GETJSAMPLE(colormap_ci[pixcode]);
691 bnexterr = cur;
692 delta = cur * 2;
693 cur += delta; /* form error * 3 */
694 errorptr[0] = (FSERROR) (bpreverr + cur);
695 cur += delta; /* form error * 5 */
696 bpreverr = belowerr + cur;
698 cur += delta; /* form error * 7 */
699 /* At this point cur contains the 7/16 error value to be propagated