Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp305 std::array<int32_t, 256> brightnessBuckets = {}; in sampleArea() local
316 ++brightnessBuckets[luma]; in sampleArea()
317 if (brightnessBuckets[luma] > majoritySampleNum) return luma / 255.0f; in sampleArea()
323 for (; bucket < brightnessBuckets.size(); bucket++) { in sampleArea()
324 accumulated += brightnessBuckets[bucket]; in sampleArea()