Searched refs:last_sample (Results 1 – 2 of 2) sorted by relevance
395 struct TripleAxisDataPoint *last_sample; in add_samples() local415 last_sample = &mTask.last_filtered_sample; in add_samples()425 x = alpha * (x - last_sample->x) + last_sample->x; in add_samples()426 y = alpha * (y - last_sample->y) + last_sample->y; in add_samples()427 z = alpha * (z - last_sample->z) + last_sample->z; in add_samples()
123 struct TripleAxisDataPoint last_sample[NUM_OF_RAW_SENSOR]; member216 curr_sample = &mTask.last_sample[index]; in fillSamples()277 mTask.last_sample[index] = *curr_sample; in fillSamples()