Lines Matching refs:cur1
1193 register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ in pass2_fs_dither() local
1233 cur0 = cur1 = cur2 = 0; in pass2_fs_dither()
1265 cur1 = RIGHT_SHIFT (cur1 + errorptr[dir3 + 1] + 8, 4); in pass2_fs_dither()
1271 cur1 = error_limit[cur1]; in pass2_fs_dither()
1278 cur1 += gdTrueColorGetGreen (*inptr); in pass2_fs_dither()
1281 range_limit (cur1); in pass2_fs_dither()
1286 &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; in pass2_fs_dither()
1291 cur1 >> C1_SHIFT, cur2 >> C2_SHIFT); in pass2_fs_dither()
1299 cur1 -= GETJSAMPLE (colormap1[pixcode]); in pass2_fs_dither()
1318 bnexterr = cur1; /* Process component 1 */ in pass2_fs_dither()
1319 delta = cur1 * 2; in pass2_fs_dither()
1320 cur1 += delta; /* form error * 3 */ in pass2_fs_dither()
1321 errorptr[1] = (FSERROR) (bpreverr1 + cur1); in pass2_fs_dither()
1322 cur1 += delta; /* form error * 5 */ in pass2_fs_dither()
1323 bpreverr1 = belowerr1 + cur1; in pass2_fs_dither()
1325 cur1 += delta; /* form error * 7 */ in pass2_fs_dither()