Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c190 struct TripleAxisDataPoint *curr_sample, *next_sample; in fillSamples() local
211 curr_sample = ev->samples; in fillSamples()
212 next_sample = curr_sample + 1; in fillSamples()
216 curr_sample = &mTask.last_sample[index]; in fillSamples()
240 curr_sample = next_sample; in fillSamples()
247 mTask.samples[index][w].x = curr_sample->x + weight_next * in fillSamples()
248 (next_sample->x - curr_sample->x); in fillSamples()
249 mTask.samples[index][w].y = curr_sample->y + weight_next * in fillSamples()
250 (next_sample->y - curr_sample->y); in fillSamples()
251 mTask.samples[index][w].z = curr_sample->z + weight_next * in fillSamples()
[all …]