Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 3 of 3) sorted by relevance

/system/core/logd/
DLogBuffer.cpp437 size_t threshold = log_buffer_size(id) / 8; in prune() local
438 if ((worst_sizes > threshold) in prune()
444 if (second_worst_sizes < threshold) { in prune()
445 second_worst_sizes = threshold; in prune()
/system/core/libpixelflinger/
Dscanline.cpp1144 int threshold = get_value(); in rgb888ToRgb565() local
1146 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() local
1210 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() local
1327 sR = (sR + f*dR + threshold)>>8; in write()
[all …]
/system/extras/perfprofd/quipper/
Dperf_parser.cc236 float threshold = options_.sample_mapping_percentage_threshold; in ProcessEvents() local
237 if (sample_mapping_percentage < threshold) { in ProcessEvents()
240 << static_cast<int>(threshold) << "%"; in ProcessEvents()