Lines Matching refs:test_pat_idx
261 unsigned int test_pattern, test_pat_idx, rand; in vivid_fillbuff_tch() local
267 test_pat_idx = buf->vb.sequence % TCH_SEQ_COUNT; in vivid_fillbuff_tch()
271 if (test_pat_idx >= TCH_PATTERN_COUNT) in vivid_fillbuff_tch()
274 if (test_pat_idx == 0) in vivid_fillbuff_tch()
280 if (test_pat_idx == 2) in vivid_fillbuff_tch()
284 if (test_pat_idx == 2 || test_pat_idx == 4) in vivid_fillbuff_tch()
288 if (test_pat_idx == 2 || test_pat_idx == 4 || test_pat_idx == 6) in vivid_fillbuff_tch()
294 test_pat_idx * in vivid_fillbuff_tch()
300 offset_x = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * x) / in vivid_fillbuff_tch()
302 offset_y = ((TCH_PATTERN_COUNT - 1 - test_pat_idx) * y) / in vivid_fillbuff_tch()
312 offset_x = (test_pat_idx * x) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()
313 offset_y = (test_pat_idx * y) / TCH_PATTERN_COUNT; in vivid_fillbuff_tch()