Lines Matching defs:threshold
1128 int threshold = get_value();
1130 r += (threshold >> (GGL_DITHER_BITS-8 +5));
1131 g += (threshold >> (GGL_DITHER_BITS-8 +6));
1132 b += (threshold >> (GGL_DITHER_BITS-8 +5));
1185 int threshold = di.get_value() << (8 - GGL_DITHER_BITS);
1194 sR = ((sR << 8) + f*dR + threshold)>>8;
1195 sG = ((sG << 8) + f*dG + threshold)>>8;
1196 sB = ((sB << 8) + f*dB + threshold)>>8;
1304 /* Scale threshold to 0.8 fixed float format */
1305 int threshold = di.get_value() << (8 - GGL_DITHER_BITS);
1311 sR = (sR + f*dR + threshold)>>8;
1312 sG = (sG + f*dG + threshold)>>8;
1313 sB = (sB + f*dB + threshold)>>8;
1360 int threshold = di.get_value() << (8 - GGL_DITHER_BITS);
1366 sR = (sR + f*dR + threshold)>>8;
1367 sG = (sG + f*dG + threshold)>>8;
1368 sB = (sB + f*dB + threshold)>>8;