Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedScene.cpp214 int time_idx = hour_ / kTimeStep; in CalculateScene() local
215 int next_time_idx = (time_idx + 1) % (24 / kTimeStep); in CalculateScene()
218 (hour_ - time_idx * kTimeStep) * kOneHourInNsec + time; in CalculateScene()
222 float sun_lux = kSunlight[time_idx] * (1 - time_frac) + in CalculateScene()
234 if (kSunlight[time_idx] == kSunsetIllum || in CalculateScene()
235 kSunlight[time_idx] == kTwilightIllum) { in CalculateScene()
279 float moon_lux = kMoonlight[time_idx] * (1 - time_frac) + in CalculateScene()