Lines Matching refs:threshold
1146 int threshold = get_value(); in rgb888ToRgb565() local
1148 r += (threshold >> (GGL_DITHER_BITS-8 +5)); in rgb888ToRgb565()
1149 g += (threshold >> (GGL_DITHER_BITS-8 +6)); in rgb888ToRgb565()
1150 b += (threshold >> (GGL_DITHER_BITS-8 +5)); in rgb888ToRgb565()
1203 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local
1212 sR = ((sR << 8) + f*dR + threshold)>>8; in write()
1213 sG = ((sG << 8) + f*dG + threshold)>>8; in write()
1214 sB = ((sB << 8) + f*dB + threshold)>>8; in write()
1323 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local
1329 sR = (sR + f*dR + threshold)>>8; in write()
1330 sG = (sG + f*dG + threshold)>>8; in write()
1331 sB = (sB + f*dB + threshold)>>8; in write()
1378 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local
1384 sR = (sR + f*dR + threshold)>>8; in write()
1385 sG = (sG + f*dG + threshold)>>8; in write()
1386 sB = (sB + f*dB + threshold)>>8; in write()