Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp306 const int32_t majoritySampleNum = area.getWidth() * area.getHeight() / 2; in sampleArea() local
317 if (brightnessBuckets[luma] > majoritySampleNum) return luma / 255.0f; in sampleArea()
325 if (accumulated > majoritySampleNum) break; in sampleArea()