Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DhostIntf.c816 uint32_t deltaTime; in encodeDeltaTime() local
819 deltaTime = time | delta_time_fine_mask; in encodeDeltaTime()
821deltaTime = ((time + delta_time_rounding) >> delta_time_multiplier_order) & delta_time_coarse_mask; in encodeDeltaTime()
823 return deltaTime; in encodeDeltaTime()
846 uint32_t deltaTime; in copySingleSamples() local
858 sensor->lastTime += single->samples[i].deltaTime; in copySingleSamples()
881 deltaTime = encodeDeltaTime(single->referenceTime - sensor->lastTime); in copySingleSamples()
885 sensor->buffer.single[numSamples].deltaTime = deltaTime; in copySingleSamples()
892 deltaTime = single->samples[i].deltaTime; in copySingleSamples()
896 sensor->buffer.single[numSamples].deltaTime = deltaTime | delta_time_fine_mask; in copySingleSamples()
[all …]
/device/google/contexthub/util/nanotool/
Dsensorevent.h38 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
48 uint32_t deltaTime; member
56 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
/device/google/contexthub/firmware/os/inc/
Dsensors.h66 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
85 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
111 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
/device/google/contexthub/firmware/app/chre/common/
Dchre_app.c64 three.header.baseTimestamp += src->samples[i].deltaTime; in processTripleAxisData()
87 occ.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
102 flt.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
117 byte.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData()
/device/google/contexthub/sensorhal/
Dhubconnection.h172 uint32_t deltaTime; member
178 uint32_t deltaTime; member
184 uint32_t deltaTime; member
Dhubconnection.cpp1249 …imestamp += ((uint64_t)data->oneSamples[i].deltaTime) << delta_time_shift_table[data->oneSamples[i… in processBuf()
1258 …p += ((uint64_t)data->rawThreeSamples[i].deltaTime) << delta_time_shift_table[data->rawThreeSample… in processBuf()
1267 …stamp += ((uint64_t)data->threeSamples[i].deltaTime) << delta_time_shift_table[data->threeSamples[… in processBuf()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c92 sample_ts += sample->deltaTime; in algoUpdate()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c227 next_time = curr_time + next_sample->deltaTime; in fillSamples()
324 sample->deltaTime = time > mSensor->prev_time ? (time - mSensor->prev_time) : 0; in addSample()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c408 now_nsec += i > 0 ? ev->samples[i].deltaTime : 0; in add_samples()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c2203 sample->deltaTime = delta_time;