Lines Matching refs:test_pat_idx
258 unsigned int test_pattern, test_pat_idx, rand; in vivid_fillbuff_tch() local
264 test_pat_idx = buf->vb.sequence % TCH_SEQ_COUNT; in vivid_fillbuff_tch()
268 if (test_pat_idx >= TCH_PATTERN_COUNT) in vivid_fillbuff_tch()
271 if (test_pat_idx == 0) in vivid_fillbuff_tch()
277 if (test_pat_idx == 2) in vivid_fillbuff_tch()
281 if (test_pat_idx == 2 || test_pat_idx == 4) in vivid_fillbuff_tch()
285 if (test_pat_idx == 2 || test_pat_idx == 4 || test_pat_idx == 6) in vivid_fillbuff_tch()
291 test_pat_idx * in vivid_fillbuff_tch()
297 offset_x = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * x) / in vivid_fillbuff_tch()
299 offset_y = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * y) / in vivid_fillbuff_tch()
309 offset_x = (test_pat_idx * x) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
310 offset_y = (test_pat_idx * y) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()