Searched refs:vbifmt (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 325 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; ivtv_g_fmt_sliced_vbi_out() local 327 vbifmt->reserved[0] = 0; ivtv_g_fmt_sliced_vbi_out() 328 vbifmt->reserved[1] = 0; ivtv_g_fmt_sliced_vbi_out() 331 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; ivtv_g_fmt_sliced_vbi_out() 332 memset(vbifmt->service_lines, 0, sizeof(vbifmt->service_lines)); ivtv_g_fmt_sliced_vbi_out() 334 vbifmt->service_lines[0][21] = V4L2_SLICED_CAPTION_525; ivtv_g_fmt_sliced_vbi_out() 335 vbifmt->service_lines[1][21] = V4L2_SLICED_CAPTION_525; ivtv_g_fmt_sliced_vbi_out() 337 vbifmt->service_lines[0][23] = V4L2_SLICED_WSS_625; ivtv_g_fmt_sliced_vbi_out() 338 vbifmt->service_lines[0][16] = V4L2_SLICED_VPS; ivtv_g_fmt_sliced_vbi_out() 340 vbifmt->service_set = ivtv_get_service_set(vbifmt); ivtv_g_fmt_sliced_vbi_out() 370 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; ivtv_g_fmt_vbi_cap() local 372 vbifmt->sampling_rate = 27000000; ivtv_g_fmt_vbi_cap() 373 vbifmt->offset = 248; ivtv_g_fmt_vbi_cap() 374 vbifmt->samples_per_line = itv->vbi.raw_decoder_line_size - 4; ivtv_g_fmt_vbi_cap() 375 vbifmt->sample_format = V4L2_PIX_FMT_GREY; ivtv_g_fmt_vbi_cap() 376 vbifmt->start[0] = itv->vbi.start[0]; ivtv_g_fmt_vbi_cap() 377 vbifmt->start[1] = itv->vbi.start[1]; ivtv_g_fmt_vbi_cap() 378 vbifmt->count[0] = vbifmt->count[1] = itv->vbi.count; ivtv_g_fmt_vbi_cap() 379 vbifmt->flags = 0; ivtv_g_fmt_vbi_cap() 380 vbifmt->reserved[0] = 0; ivtv_g_fmt_vbi_cap() 381 vbifmt->reserved[1] = 0; ivtv_g_fmt_vbi_cap() 387 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; ivtv_g_fmt_sliced_vbi_cap() local 391 vbifmt->reserved[0] = 0; ivtv_g_fmt_sliced_vbi_cap() 392 vbifmt->reserved[1] = 0; ivtv_g_fmt_sliced_vbi_cap() 393 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; ivtv_g_fmt_sliced_vbi_cap() 396 vbifmt->service_set = itv->is_50hz ? V4L2_SLICED_VBI_625 : ivtv_g_fmt_sliced_vbi_cap() 398 ivtv_expand_service_set(vbifmt, itv->is_50hz); ivtv_g_fmt_sliced_vbi_cap() 399 vbifmt->service_set = ivtv_get_service_set(vbifmt); ivtv_g_fmt_sliced_vbi_cap() 403 v4l2_subdev_call(itv->sd_video, vbi, g_sliced_fmt, vbifmt); ivtv_g_fmt_sliced_vbi_cap() 404 vbifmt->service_set = ivtv_get_service_set(vbifmt); ivtv_g_fmt_sliced_vbi_cap() 505 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; ivtv_try_fmt_sliced_vbi_cap() local 513 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; ivtv_try_fmt_sliced_vbi_cap() 514 vbifmt->reserved[0] = 0; ivtv_try_fmt_sliced_vbi_cap() 515 vbifmt->reserved[1] = 0; ivtv_try_fmt_sliced_vbi_cap() 517 if (vbifmt->service_set) ivtv_try_fmt_sliced_vbi_cap() 518 ivtv_expand_service_set(vbifmt, itv->is_50hz); ivtv_try_fmt_sliced_vbi_cap() 519 check_service_set(vbifmt, itv->is_50hz); ivtv_try_fmt_sliced_vbi_cap() 520 vbifmt->service_set = ivtv_get_service_set(vbifmt); ivtv_try_fmt_sliced_vbi_cap() 625 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; ivtv_s_fmt_sliced_vbi_cap() local 633 check_service_set(vbifmt, itv->is_50hz); ivtv_s_fmt_sliced_vbi_cap() 637 v4l2_subdev_call(itv->sd_video, vbi, s_sliced_fmt, vbifmt); ivtv_s_fmt_sliced_vbi_cap() 638 memcpy(itv->vbi.sliced_in, vbifmt, sizeof(*itv->vbi.sliced_in)); ivtv_s_fmt_sliced_vbi_cap()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.c | 176 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; cx18_g_fmt_vbi_cap() local 178 vbifmt->sampling_rate = 27000000; cx18_g_fmt_vbi_cap() 179 vbifmt->offset = 248; /* FIXME - slightly wrong for both 50 & 60 Hz */ cx18_g_fmt_vbi_cap() 180 vbifmt->samples_per_line = vbi_active_samples - 4; cx18_g_fmt_vbi_cap() 181 vbifmt->sample_format = V4L2_PIX_FMT_GREY; cx18_g_fmt_vbi_cap() 182 vbifmt->start[0] = cx->vbi.start[0]; cx18_g_fmt_vbi_cap() 183 vbifmt->start[1] = cx->vbi.start[1]; cx18_g_fmt_vbi_cap() 184 vbifmt->count[0] = vbifmt->count[1] = cx->vbi.count; cx18_g_fmt_vbi_cap() 185 vbifmt->flags = 0; cx18_g_fmt_vbi_cap() 186 vbifmt->reserved[0] = 0; cx18_g_fmt_vbi_cap() 187 vbifmt->reserved[1] = 0; cx18_g_fmt_vbi_cap() 195 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; cx18_g_fmt_sliced_vbi_cap() local 198 vbifmt->reserved[0] = 0; cx18_g_fmt_sliced_vbi_cap() 199 vbifmt->reserved[1] = 0; cx18_g_fmt_sliced_vbi_cap() 200 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; cx18_g_fmt_sliced_vbi_cap() 201 memset(vbifmt->service_lines, 0, sizeof(vbifmt->service_lines)); cx18_g_fmt_sliced_vbi_cap() 202 vbifmt->service_set = 0; cx18_g_fmt_sliced_vbi_cap() 212 vbifmt->service_set = cx18_get_service_set(vbifmt); cx18_g_fmt_sliced_vbi_cap() 250 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; cx18_try_fmt_sliced_vbi_cap() local 252 vbifmt->io_size = sizeof(struct v4l2_sliced_vbi_data) * 36; cx18_try_fmt_sliced_vbi_cap() 253 vbifmt->reserved[0] = 0; cx18_try_fmt_sliced_vbi_cap() 254 vbifmt->reserved[1] = 0; cx18_try_fmt_sliced_vbi_cap() 257 if (vbifmt->service_set) cx18_try_fmt_sliced_vbi_cap() 258 cx18_expand_service_set(vbifmt, cx->is_50hz); cx18_try_fmt_sliced_vbi_cap() 260 if (check_service_set(vbifmt, cx->is_50hz)) cx18_try_fmt_sliced_vbi_cap() 261 vbifmt->service_set = cx18_get_service_set(vbifmt); cx18_try_fmt_sliced_vbi_cap() 344 struct v4l2_sliced_vbi_format *vbifmt = &fmt->fmt.sliced; cx18_s_fmt_sliced_vbi_cap() local 365 memcpy(cx->vbi.sliced_in, vbifmt, sizeof(*cx->vbi.sliced_in)); cx18_s_fmt_sliced_vbi_cap()
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
H A D | saa7164-api.c | 948 struct tmComResVBIFormatDescrHeader *vbifmt; saa7164_api_dump_subdevs() local 1106 vbifmt = saa7164_api_dump_subdevs() 1114 memcpy(&vbiport->vbi_fmt_ntsc, vbifmt, saa7164_api_dump_subdevs() 1115 sizeof(*vbifmt)); saa7164_api_dump_subdevs()
|
Completed in 102 milliseconds