Lines Matching refs:vbifmt
325 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in ivtv_g_fmt_sliced_vbi_out() local
327 vbifmt->reserved[0] = 0; in ivtv_g_fmt_sliced_vbi_out()
328 vbifmt->reserved[1] = 0; in ivtv_g_fmt_sliced_vbi_out()
331 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; in ivtv_g_fmt_sliced_vbi_out()
333 vbifmt->service_lines[0][21] = V4L2_SLICED_CAPTION_525; in ivtv_g_fmt_sliced_vbi_out()
334 vbifmt->service_lines[1][21] = V4L2_SLICED_CAPTION_525; in ivtv_g_fmt_sliced_vbi_out()
336 vbifmt->service_lines[0][23] = V4L2_SLICED_WSS_625; in ivtv_g_fmt_sliced_vbi_out()
337 vbifmt->service_lines[0][16] = V4L2_SLICED_VPS; in ivtv_g_fmt_sliced_vbi_out()
339 vbifmt->service_set = ivtv_get_service_set(vbifmt); in ivtv_g_fmt_sliced_vbi_out()
370 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; in ivtv_g_fmt_vbi_cap() local
372 vbifmt->sampling_rate = 27000000; in ivtv_g_fmt_vbi_cap()
373 vbifmt->offset = 248; in ivtv_g_fmt_vbi_cap()
374 vbifmt->samples_per_line = itv->vbi.raw_decoder_line_size - 4; in ivtv_g_fmt_vbi_cap()
375 vbifmt->sample_format = V4L2_PIX_FMT_GREY; in ivtv_g_fmt_vbi_cap()
376 vbifmt->start[0] = itv->vbi.start[0]; in ivtv_g_fmt_vbi_cap()
377 vbifmt->start[1] = itv->vbi.start[1]; in ivtv_g_fmt_vbi_cap()
378 vbifmt->count[0] = vbifmt->count[1] = itv->vbi.count; in ivtv_g_fmt_vbi_cap()
379 vbifmt->flags = 0; in ivtv_g_fmt_vbi_cap()
380 vbifmt->reserved[0] = 0; in ivtv_g_fmt_vbi_cap()
381 vbifmt->reserved[1] = 0; in ivtv_g_fmt_vbi_cap()
387 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in ivtv_g_fmt_sliced_vbi_cap() local
391 vbifmt->reserved[0] = 0; in ivtv_g_fmt_sliced_vbi_cap()
392 vbifmt->reserved[1] = 0; in ivtv_g_fmt_sliced_vbi_cap()
393 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; in ivtv_g_fmt_sliced_vbi_cap()
396 vbifmt->service_set = itv->is_50hz ? V4L2_SLICED_VBI_625 : in ivtv_g_fmt_sliced_vbi_cap()
398 ivtv_expand_service_set(vbifmt, itv->is_50hz); in ivtv_g_fmt_sliced_vbi_cap()
402 v4l2_subdev_call(itv->sd_video, vbi, g_sliced_fmt, vbifmt); in ivtv_g_fmt_sliced_vbi_cap()
403 vbifmt->service_set = ivtv_get_service_set(vbifmt); in ivtv_g_fmt_sliced_vbi_cap()
502 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in ivtv_try_fmt_sliced_vbi_cap() local
510 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; in ivtv_try_fmt_sliced_vbi_cap()
511 vbifmt->reserved[0] = 0; in ivtv_try_fmt_sliced_vbi_cap()
512 vbifmt->reserved[1] = 0; in ivtv_try_fmt_sliced_vbi_cap()
514 if (vbifmt->service_set) in ivtv_try_fmt_sliced_vbi_cap()
515 ivtv_expand_service_set(vbifmt, itv->is_50hz); in ivtv_try_fmt_sliced_vbi_cap()
516 check_service_set(vbifmt, itv->is_50hz); in ivtv_try_fmt_sliced_vbi_cap()
517 vbifmt->service_set = ivtv_get_service_set(vbifmt); in ivtv_try_fmt_sliced_vbi_cap()
617 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; in ivtv_s_fmt_sliced_vbi_cap() local
625 check_service_set(vbifmt, itv->is_50hz); in ivtv_s_fmt_sliced_vbi_cap()
629 v4l2_subdev_call(itv->sd_video, vbi, s_sliced_fmt, vbifmt); in ivtv_s_fmt_sliced_vbi_cap()
630 memcpy(itv->vbi.sliced_in, vbifmt, sizeof(*itv->vbi.sliced_in)); in ivtv_s_fmt_sliced_vbi_cap()