Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DfloatRt.c126 float floatFromUint64(uint64_t v) in floatFromUint64() function
144 return -floatFromUint64(-v); in floatFromInt64()
146 return floatFromUint64(v); in floatFromInt64()
/device/google/contexthub/firmware/inc/
DfloatRt.h29 float floatFromUint64(uint64_t v);
45 static inline float floatFromUint64(uint64_t v) in floatFromUint64() function
/device/google/contexthub/firmware/src/algos/
Dtime_sync.c119 mean_y += floatFromUint64(sync->time1[ii] - time1_base) * invN; in time_sync_estimate_time1()
120 mean_x += floatFromUint64(sync->time2[ii] - time2_base) * invN; in time_sync_estimate_time1()
134 float y = floatFromUint64(sync->time1[ii] - time1_base) - mean_y; in time_sync_estimate_time1()
135 float x = floatFromUint64(sync->time2[ii] - time2_base) - mean_x; in time_sync_estimate_time1()
/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c365 … alpha = floatFromUint64(time_delta) / floatFromUint64(FILTER_TIME_CONSTANT + time_delta); in add_samples()
/device/google/contexthub/firmware/src/drivers/orientation/
Dorientation.c230 weight_next = (float)counter / floatFromUint64(sample_spacing_ns); in fillSamples()
427 dT = floatFromUint64(mTask.ResamplePeriodNs[which]) * 1e-9f; in drainSamples()