Lines Matching refs:cur2
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()
1266 cur2 = RIGHT_SHIFT (cur2 + errorptr[dir3 + 2] + 8, 4); in pass2_fs_dither()
1272 cur2 = error_limit[cur2]; in pass2_fs_dither()
1279 cur2 += gdTrueColorGetBlue (*inptr); in pass2_fs_dither()
1282 range_limit (cur2); 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()
1300 cur2 -= GETJSAMPLE (colormap2[pixcode]); in pass2_fs_dither()
1326 bnexterr = cur2; /* Process component 2 */ in pass2_fs_dither()
1327 delta = cur2 * 2; in pass2_fs_dither()
1328 cur2 += delta; /* form error * 3 */ in pass2_fs_dither()
1329 errorptr[2] = (FSERROR) (bpreverr2 + cur2); in pass2_fs_dither()
1330 cur2 += delta; /* form error * 5 */ in pass2_fs_dither()
1331 bpreverr2 = belowerr2 + cur2; in pass2_fs_dither()
1333 cur2 += delta; /* form error * 7 */ in pass2_fs_dither()