Searched refs:calcBrightness (Results 1 – 1 of 1) sorted by relevance
682 int32_t calcBrightness = GetBrightnessFromLightScalar(scalar); in CalculateBrightness() local683 int32_t difference = abs(calcBrightness - brightness); in CalculateBrightness()685 lastLux, scalar, brightness, calcBrightness); in CalculateBrightness()687 || (scalar > lastLux && calcBrightness < brightness) in CalculateBrightness()688 || (scalar < lastLux && calcBrightness > brightness)) { in CalculateBrightness()692 brightness = calcBrightness; in CalculateBrightness()