Searched refs:threshold (Results 1 – 3 of 3) sorted by relevance
437 size_t threshold = log_buffer_size(id) / 8; in prune() local438 if ((worst_sizes > threshold) in prune()444 if (second_worst_sizes < threshold) { in prune()445 second_worst_sizes = threshold; in prune()
1144 int threshold = get_value(); in rgb888ToRgb565() local1146 r += (threshold >> (GGL_DITHER_BITS-8 +5)); in rgb888ToRgb565()1147 g += (threshold >> (GGL_DITHER_BITS-8 +6)); in rgb888ToRgb565()1148 b += (threshold >> (GGL_DITHER_BITS-8 +5)); in rgb888ToRgb565()1201 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local1210 sR = ((sR << 8) + f*dR + threshold)>>8; in write()1211 sG = ((sG << 8) + f*dG + threshold)>>8; in write()1212 sB = ((sB << 8) + f*dB + threshold)>>8; in write()1321 int threshold = di.get_value() << (8 - GGL_DITHER_BITS); in write() local1327 sR = (sR + f*dR + threshold)>>8; in write()[all …]
236 float threshold = options_.sample_mapping_percentage_threshold; in ProcessEvents() local237 if (sample_mapping_percentage < threshold) { in ProcessEvents()240 << static_cast<int>(threshold) << "%"; in ProcessEvents()