Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c394 uint64_t then, time_delta; in add_samples() local
417 time_delta = now - then; in add_samples()
424 … alpha = floatFromUint64(time_delta) / floatFromUint64(FILTER_TIME_CONSTANT + time_delta); in add_samples()
434 if (!skip_sample && (time_delta < MIN_ACCEL_INTERVAL)) { in add_samples()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c502 uint64_t time_delta[NUM_CONT_SENSOR]; member
1522 mTask.time_delta[idx] = 1ull << (16 - odr);
2343 saved_time_delta[j] = mTask.time_delta[j];
2386 min_delta = min_delta < mTask.time_delta[j] ? min_delta :
2387 mTask.time_delta[j];
2430 mTask.time_delta[j] = saved_time_delta[j];
2473 mTask.time_delta[j] = mTask.next_delta[j];
2476 (unsigned int)mTask.time_delta[j]);
2506 tmp_time[j] = mTask.prev_frame_time[j] + mTask.time_delta[j];