Lines Matching refs:vbi
139 struct v4l2_vbi_format *vbi = &f->fmt.vbi; in vidioc_g_fmt_vbi_out() local
145 vbi->sampling_rate = 25000000; in vidioc_g_fmt_vbi_out()
146 vbi->offset = 24; in vidioc_g_fmt_vbi_out()
147 vbi->samples_per_line = 1440; in vidioc_g_fmt_vbi_out()
148 vbi->sample_format = V4L2_PIX_FMT_GREY; in vidioc_g_fmt_vbi_out()
149 vbi->start[0] = is_60hz ? V4L2_VBI_ITU_525_F1_START + 9 : V4L2_VBI_ITU_625_F1_START + 5; in vidioc_g_fmt_vbi_out()
150 vbi->start[1] = is_60hz ? V4L2_VBI_ITU_525_F2_START + 9 : V4L2_VBI_ITU_625_F2_START + 5; in vidioc_g_fmt_vbi_out()
151 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vidioc_g_fmt_vbi_out()
152 vbi->flags = dev->vbi_cap_interlaced ? V4L2_VBI_INTERLACED : 0; in vidioc_g_fmt_vbi_out()
153 vbi->reserved[0] = 0; in vidioc_g_fmt_vbi_out()
154 vbi->reserved[1] = 0; in vidioc_g_fmt_vbi_out()
176 struct v4l2_sliced_vbi_format *vbi = &fmt->fmt.sliced; in vidioc_g_fmt_sliced_vbi_out() local
181 vivid_fill_service_lines(vbi, dev->service_set_out); in vidioc_g_fmt_sliced_vbi_out()
188 struct v4l2_sliced_vbi_format *vbi = &fmt->fmt.sliced; in vidioc_try_fmt_sliced_vbi_out() local
190 u32 service_set = vbi->service_set; in vidioc_try_fmt_sliced_vbi_out()
197 vivid_fill_service_lines(vbi, service_set); in vidioc_try_fmt_sliced_vbi_out()
205 struct v4l2_sliced_vbi_format *vbi = &fmt->fmt.sliced; in vidioc_s_fmt_sliced_vbi_out() local
212 dev->service_set_out = vbi->service_set; in vidioc_s_fmt_sliced_vbi_out()
221 struct v4l2_sliced_vbi_data *vbi = in vivid_sliced_vbi_out_process() local
224 vb2_get_plane_payload(&buf->vb.vb2_buf, 0) / sizeof(*vbi); in vivid_sliced_vbi_out_process()
230 switch (vbi->id) { in vivid_sliced_vbi_out_process()
232 if ((dev->std_out & V4L2_STD_525_60) && vbi->line == 21) { in vivid_sliced_vbi_out_process()
233 dev->vbi_out_have_cc[!!vbi->field] = true; in vivid_sliced_vbi_out_process()
234 dev->vbi_out_cc[!!vbi->field][0] = vbi->data[0]; in vivid_sliced_vbi_out_process()
235 dev->vbi_out_cc[!!vbi->field][1] = vbi->data[1]; in vivid_sliced_vbi_out_process()
240 vbi->field == 0 && vbi->line == 23) { in vivid_sliced_vbi_out_process()
242 dev->vbi_out_wss[0] = vbi->data[0]; in vivid_sliced_vbi_out_process()
243 dev->vbi_out_wss[1] = vbi->data[1]; in vivid_sliced_vbi_out_process()
247 vbi++; in vivid_sliced_vbi_out_process()