Searched refs:tch_buf (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-touch-cap.c | 207 static void vivid_fill_buff_noise(__s16 *tch_buf, int size) in vivid_fill_buff_noise() argument 216 tch_buf[i] = 0; in vivid_fill_buff_noise() 218 tch_buf[i] = (rand / 10) % 7 - 3; in vivid_fill_buff_noise() 228 __s16 *tch_buf, in vivid_tch_buf_set() 235 tch_buf[index] = offset + get_random_pressure(); in vivid_tch_buf_set() 238 tch_buf[index - 1] = offset + get_random_pressure(); in vivid_tch_buf_set() 240 tch_buf[index + 1] = offset + get_random_pressure(); in vivid_tch_buf_set() 242 tch_buf[index - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set() 244 tch_buf[index + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set() 247 tch_buf[inde in vivid_tch_buf_set() 227 vivid_tch_buf_set(struct v4l2_pix_format *f, __s16 *tch_buf, int index) vivid_tch_buf_set() argument 263 __s16 *tch_buf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vivid_fillbuff_tch() local [all...] |
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-touch-cap.c | 207 static void vivid_fill_buff_noise(__s16 *tch_buf, int size) in vivid_fill_buff_noise() argument 216 tch_buf[i] = 0; in vivid_fill_buff_noise() 218 tch_buf[i] = (rand / 10) % 7 - 3; in vivid_fill_buff_noise() 228 __s16 *tch_buf, in vivid_tch_buf_set() 235 tch_buf[index] = offset + get_random_pressure(); in vivid_tch_buf_set() 238 tch_buf[index - 1] = offset + get_random_pressure(); in vivid_tch_buf_set() 240 tch_buf[index + 1] = offset + get_random_pressure(); in vivid_tch_buf_set() 242 tch_buf[index - f->width] = offset + get_random_pressure(); in vivid_tch_buf_set() 244 tch_buf[index + f->width] = offset + get_random_pressure(); in vivid_tch_buf_set() 247 tch_buf[inde in vivid_tch_buf_set() 227 vivid_tch_buf_set(struct v4l2_pix_format *f, __s16 *tch_buf, int index) vivid_tch_buf_set() argument 263 __s16 *tch_buf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); vivid_fillbuff_tch() local [all...] |
Completed in 2 milliseconds