Searched refs:threshold (Results 1 – 1 of 1) sorted by relevance
1128 int threshold = get_value(); in rgb888ToRgb565() local1130 r += (threshold >> (GGL_DITHER_BITS-8 +5)); in rgb888ToRgb565()1131 g += (threshold >> (GGL_DITHER_BITS-8 +6)); in rgb888ToRgb565()1132 b += (threshold >> (GGL_DITHER_BITS-8 +5)); in rgb888ToRgb565()1185 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local1194 sR = ((sR << 8) + f*dR + threshold)>>8; in write()1195 sG = ((sG << 8) + f*dG + threshold)>>8; in write()1196 sB = ((sB << 8) + f*dB + threshold)>>8; in write()1305 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local1311 sR = (sR + f*dR + threshold)>>8; in write()[all …]