Lines Matching defs:threshold
1144 int threshold = get_value();
1146 r += (threshold >> (GGL_DITHER_BITS-8 +5));
1147 g += (threshold >> (GGL_DITHER_BITS-8 +6));
1148 b += (threshold >> (GGL_DITHER_BITS-8 +5));
1201 int threshold = di.get_value() << (8 - GGL_DITHER_BITS);
1210 sR = ((sR << 8) + f*dR + threshold)>>8;
1211 sG = ((sG << 8) + f*dG + threshold)>>8;
1212 sB = ((sB << 8) + f*dB + threshold)>>8;
1320 /* Scale threshold to 0.8 fixed float format */
1321 int threshold = di.get_value() << (8 - GGL_DITHER_BITS);
1327 sR = (sR + f*dR + threshold)>>8;
1328 sG = (sG + f*dG + threshold)>>8;
1329 sB = (sB + f*dB + threshold)>>8;
1376 int threshold = di.get_value() << (8 - GGL_DITHER_BITS);
1382 sR = (sR + f*dR + threshold)>>8;
1383 sG = (sG + f*dG + threshold)>>8;
1384 sB = (sB + f*dB + threshold)>>8;