Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DhostIntf.c750 uint32_t deltaTime; in encodeDeltaTime() local
753 deltaTime = time | delta_time_fine_mask; in encodeDeltaTime()
755deltaTime = ((time + delta_time_rounding) >> delta_time_multiplier_order) & delta_time_coarse_mask; in encodeDeltaTime()
757 return deltaTime; in encodeDeltaTime()
763 uint32_t deltaTime; in copyTripleSamplesRaw() local
776 sensor->lastTime += triple->samples[i].deltaTime; in copyTripleSamplesRaw()
803 deltaTime = encodeDeltaTime(triple->referenceTime - sensor->lastTime); in copyTripleSamplesRaw()
807 sensor->buffer.rawTriple[numSamples].deltaTime = deltaTime; in copyTripleSamplesRaw()
816 deltaTime = triple->samples[i].deltaTime; in copyTripleSamplesRaw()
820 sensor->buffer.rawTriple[numSamples].deltaTime = deltaTime | delta_time_fine_mask; in copyTripleSamplesRaw()
[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/inc/
Dsensors.h60 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
79 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
105 uint32_t deltaTime; //delta since last sample, for 0th sample this is firstSample member
/device/google/contexthub/sensorhal/
Dhubconnection.h138 uint32_t deltaTime; member
144 uint32_t deltaTime; member
150 uint32_t deltaTime; member
Dhubconnection.cpp804 …imestamp += ((uint64_t)data->oneSamples[i].deltaTime) << delta_time_shift_table[data->oneSamples[i… in processBuf()
809 …p += ((uint64_t)data->rawThreeSamples[i].deltaTime) << delta_time_shift_table[data->rawThreeSample… in processBuf()
814 …stamp += ((uint64_t)data->threeSamples[i].deltaTime) << delta_time_shift_table[data->threeSamples[… in processBuf()
/device/google/contexthub/firmware/src/drivers/tilt_detection/
Dtilt_detection.c90 sample_ts += sample->deltaTime; in algoUpdate()
/device/google/contexthub/firmware/src/drivers/orientation/
Dorientation.c212 next_time = curr_time + next_sample->deltaTime; in fillSamples()
300 sample->deltaTime = time > mSensor->prev_time ? (time - mSensor->prev_time) : 0; in addSample()
/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c353 now_nsec += i > 0 ? ev->samples[i].deltaTime : 0; in add_samples()
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c1835 sample->deltaTime = delta_time; in parseRawData()