Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/
Dhistogram_mediator.h51 constexpr size_t HISTOGRAM_BINS_SIZE = 256; variable
69 uint16_t mHistData[HISTOGRAM_BINS_SIZE]; // luma buffer
Dhistogram_mediator.cpp64 std::memcpy(mHistData, bin, HISTOGRAM_BINS_SIZE * sizeof(char16_t)); in callbackHistogram()
96 buf->assign(mIDLHistogram->mHistData, mIDLHistogram->mHistData + HISTOGRAM_BINS_SIZE); in collectRoiLuma()
/hardware/google/graphics/zuma/libhwc2.1/libdevice/
DHistogramController.cpp178 if (histogramBuffer.size() != HISTOGRAM_BINS_SIZE) { in calculateOPRVal()
180 HISTOGRAM_BINS_SIZE); in calculateOPRVal()
187 for (int i = 0; i < HISTOGRAM_BINS_SIZE; ++i) { in calculateOPRVal()
190 totalLuma += std::pow((i / (double)(HISTOGRAM_BINS_SIZE - 1)), 2.2) * histogramBuffer[i]; in calculateOPRVal()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DHistogramDevice.h85 static constexpr size_t HISTOGRAM_BINS_SIZE = 256; variable