Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
A Dvivid-touch-cap.c256 unsigned int test_pattern, test_pat_idx, rand; in vivid_fillbuff_tch() local
262 test_pat_idx = buf->vb.sequence % TCH_SEQ_COUNT; in vivid_fillbuff_tch()
266 if (test_pat_idx >= TCH_PATTERN_COUNT) in vivid_fillbuff_tch()
269 if (test_pat_idx == 0) in vivid_fillbuff_tch()
275 if (test_pat_idx == 2) in vivid_fillbuff_tch()
279 if (test_pat_idx == 2 || test_pat_idx == 4) in vivid_fillbuff_tch()
283 if (test_pat_idx == 2 || test_pat_idx == 4 || test_pat_idx == 6) in vivid_fillbuff_tch()
289 test_pat_idx * in vivid_fillbuff_tch()
295 offset_x = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * x) / in vivid_fillbuff_tch()
307 offset_x = (test_pat_idx * x) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
[all …]

Completed in 7 milliseconds