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.cpp211 float time_frac = time_since_idx / (float)(kOneHourInNsec * kTimeStep); in CalculateScene() local
214 float sun_lux = kSunlight[time_idx] * (1 - time_frac) + in CalculateScene()
215 kSunlight[next_time_idx] * time_frac; in CalculateScene()
243 prev_sun_xy[0] * (1 - time_frac) + next_sun_xy[0] * time_frac; in CalculateScene()
245 prev_sun_xy[1] * (1 - time_frac) + next_sun_xy[1] * time_frac; in CalculateScene()
248 prev_shade_xy[0] * (1 - time_frac) + next_shade_xy[0] * time_frac; in CalculateScene()
250 prev_shade_xy[1] * (1 - time_frac) + next_shade_xy[1] * time_frac; in CalculateScene()
271 float moon_lux = kMoonlight[time_idx] * (1 - time_frac) + in CalculateScene()
272 kMoonlight[next_time_idx] * time_frac; in CalculateScene()