Searched refs:brightnessBuckets (Results 1 – 1 of 1) sorted by relevance
305 std::array<int32_t, 256> brightnessBuckets = {}; in sampleArea() local316 ++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()