• Home
  • Raw
  • Download

Lines Matching refs:vbifmt

162 	struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi;  in cx18_g_fmt_vbi_cap()  local
164 vbifmt->sampling_rate = 27000000; in cx18_g_fmt_vbi_cap()
165 vbifmt->offset = 248; /* FIXME - slightly wrong for both 50 & 60 Hz */ in cx18_g_fmt_vbi_cap()
166 vbifmt->samples_per_line = VBI_ACTIVE_SAMPLES - 4; in cx18_g_fmt_vbi_cap()
167 vbifmt->sample_format = V4L2_PIX_FMT_GREY; in cx18_g_fmt_vbi_cap()
168 vbifmt->start[0] = cx->vbi.start[0]; in cx18_g_fmt_vbi_cap()
169 vbifmt->start[1] = cx->vbi.start[1]; in cx18_g_fmt_vbi_cap()
170 vbifmt->count[0] = vbifmt->count[1] = cx->vbi.count; in cx18_g_fmt_vbi_cap()
171 vbifmt->flags = 0; in cx18_g_fmt_vbi_cap()
172 vbifmt->reserved[0] = 0; in cx18_g_fmt_vbi_cap()
173 vbifmt->reserved[1] = 0; in cx18_g_fmt_vbi_cap()
181 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in cx18_g_fmt_sliced_vbi_cap() local
184 vbifmt->reserved[0] = 0; in cx18_g_fmt_sliced_vbi_cap()
185 vbifmt->reserved[1] = 0; in cx18_g_fmt_sliced_vbi_cap()
186 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; in cx18_g_fmt_sliced_vbi_cap()
187 memset(vbifmt->service_lines, 0, sizeof(vbifmt->service_lines)); in cx18_g_fmt_sliced_vbi_cap()
188 vbifmt->service_set = 0; in cx18_g_fmt_sliced_vbi_cap()
198 vbifmt->service_set = cx18_get_service_set(vbifmt); in cx18_g_fmt_sliced_vbi_cap()
236 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in cx18_try_fmt_sliced_vbi_cap() local
238 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; in cx18_try_fmt_sliced_vbi_cap()
239 vbifmt->reserved[0] = 0; in cx18_try_fmt_sliced_vbi_cap()
240 vbifmt->reserved[1] = 0; in cx18_try_fmt_sliced_vbi_cap()
243 if (vbifmt->service_set) in cx18_try_fmt_sliced_vbi_cap()
244 cx18_expand_service_set(vbifmt, cx->is_50hz); in cx18_try_fmt_sliced_vbi_cap()
246 if (check_service_set(vbifmt, cx->is_50hz)) in cx18_try_fmt_sliced_vbi_cap()
247 vbifmt->service_set = cx18_get_service_set(vbifmt); in cx18_try_fmt_sliced_vbi_cap()
330 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in cx18_s_fmt_sliced_vbi_cap() local
351 memcpy(cx->vbi.sliced_in, vbifmt, sizeof(*cx->vbi.sliced_in)); in cx18_s_fmt_sliced_vbi_cap()