Lines Matching refs:cur2
956 register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ in pass2_fs_dither() local
994 cur0 = cur1 = cur2 = 0; in pass2_fs_dither()
1010 cur2 = RIGHT_SHIFT(cur2 + errorptr[dir3+2] + 8, 4); in pass2_fs_dither()
1016 cur2 = error_limit[cur2]; in pass2_fs_dither()
1023 cur2 += GETJSAMPLE(inptr[2]); in pass2_fs_dither()
1026 cur2 = GETJSAMPLE(range_limit[cur2]); in pass2_fs_dither()
1028 cachep = & histogram[cur0>>C0_SHIFT][cur1>>C1_SHIFT][cur2>>C2_SHIFT]; in pass2_fs_dither()
1032 fill_inverse_cmap(cinfo, cur0>>C0_SHIFT,cur1>>C1_SHIFT,cur2>>C2_SHIFT); in pass2_fs_dither()
1039 cur2 -= GETJSAMPLE(colormap2[pixcode]); in pass2_fs_dither()
1063 bnexterr = cur2; /* Process component 2 */ in pass2_fs_dither()
1064 delta = cur2 * 2; in pass2_fs_dither()
1065 cur2 += delta; /* form error * 3 */ in pass2_fs_dither()
1066 errorptr[2] = (FSERROR) (bpreverr2 + cur2); in pass2_fs_dither()
1067 cur2 += delta; /* form error * 5 */ in pass2_fs_dither()
1068 bpreverr2 = belowerr2 + cur2; in pass2_fs_dither()
1070 cur2 += delta; /* form error * 7 */ in pass2_fs_dither()