Home
last modified time | relevance | path

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

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedScene.cpp219 float time_frac = time_since_idx / (float)(kOneHourInNsec * kTimeStep); in CalculateScene() local
222 float sun_lux = kSunlight[time_idx] * (1 - time_frac) + in CalculateScene()
223 kSunlight[next_time_idx] * time_frac; in CalculateScene()
251 prev_sun_xy[0] * (1 - time_frac) + next_sun_xy[0] * time_frac; in CalculateScene()
253 prev_sun_xy[1] * (1 - time_frac) + next_sun_xy[1] * time_frac; in CalculateScene()
256 prev_shade_xy[0] * (1 - time_frac) + next_shade_xy[0] * time_frac; in CalculateScene()
258 prev_shade_xy[1] * (1 - time_frac) + next_shade_xy[1] * time_frac; in CalculateScene()
279 float moon_lux = kMoonlight[time_idx] * (1 - time_frac) + in CalculateScene()
280 kMoonlight[next_time_idx] * time_frac; in CalculateScene()