/linux-6.1.9/drivers/media/pci/ivtv/ |
D | ivtv-vbi.c | 24 data.data[2] = itv->vbi.vps_payload.data[0]; in ivtv_set_vps() 25 data.data[8] = itv->vbi.vps_payload.data[1]; in ivtv_set_vps() 26 data.data[9] = itv->vbi.vps_payload.data[2]; in ivtv_set_vps() 27 data.data[10] = itv->vbi.vps_payload.data[3]; in ivtv_set_vps() 28 data.data[11] = itv->vbi.vps_payload.data[4]; in ivtv_set_vps() 29 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_vps() 43 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_cc() 48 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_cc() 71 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_wss() 87 struct vbi_info *vi = &itv->vbi; in ivtv_write_vbi_line() [all …]
|
D | ivtv-controls.c | 19 if (fmt && itv->vbi.sliced_mpeg_data[0] == NULL) { in ivtv_s_stream_vbi_fmt() 24 itv->vbi.sliced_mpeg_data[i] = kmalloc(2049, GFP_KERNEL); in ivtv_s_stream_vbi_fmt() 25 if (itv->vbi.sliced_mpeg_data[i] == NULL) { in ivtv_s_stream_vbi_fmt() 27 kfree(itv->vbi.sliced_mpeg_data[i]); in ivtv_s_stream_vbi_fmt() 28 itv->vbi.sliced_mpeg_data[i] = NULL; in ivtv_s_stream_vbi_fmt() 35 itv->vbi.insert_mpeg = fmt; in ivtv_s_stream_vbi_fmt() 37 if (itv->vbi.insert_mpeg == 0) { in ivtv_s_stream_vbi_fmt() 41 if (ivtv_get_service_set(itv->vbi.sliced_in) == 0) { in ivtv_s_stream_vbi_fmt() 43 itv->vbi.sliced_in->service_set = V4L2_SLICED_CAPTION_525; in ivtv_s_stream_vbi_fmt() 45 itv->vbi.sliced_in->service_set = V4L2_SLICED_WSS_625; in ivtv_s_stream_vbi_fmt() [all …]
|
D | ivtv-streams.c | 386 v4l2_subdev_call(itv->sd_video, vbi, s_raw_fmt, &itv->vbi.in.fmt.vbi); in ivtv_vbi_setup() 388 v4l2_subdev_call(itv->sd_video, vbi, s_sliced_fmt, &itv->vbi.in.fmt.sliced); in ivtv_vbi_setup() 396 lines = itv->vbi.count * 2; in ivtv_vbi_setup() 403 itv->vbi.enc_size = lines * (raw ? itv->vbi.raw_size : itv->vbi.sliced_size); in ivtv_vbi_setup() 412 data[2] = raw ? 4 : 4 * (itv->vbi.raw_size / itv->vbi.enc_size); in ivtv_vbi_setup() 432 data[6] = (raw ? itv->vbi.raw_size : itv->vbi.sliced_size); in ivtv_vbi_setup() 445 data[6] = itv->vbi.enc_size / lines; in ivtv_vbi_setup() 455 itv->vbi.enc_start = data[2]; in ivtv_vbi_setup() 456 itv->vbi.fpi = data[0]; in ivtv_vbi_setup() 457 if (!itv->vbi.fpi) in ivtv_vbi_setup() [all …]
|
D | ivtv-driver.c | 776 itv->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in ivtv_init_struct1() 777 itv->vbi.sliced_in = &itv->vbi.in.fmt.sliced; in ivtv_init_struct1() 811 itv->vbi.sliced_size = 288; /* multiple of 16, real size = 284 */ in ivtv_init_struct2() 813 itv->vbi.sliced_size = 64; /* multiple of 16, real size = 52 */ in ivtv_init_struct2() 958 itv->vbi.raw_decoder_line_size = 1444; in ivtv_load_and_init_modules() 959 itv->vbi.raw_decoder_sav_odd_field = 0x20; in ivtv_load_and_init_modules() 960 itv->vbi.raw_decoder_sav_even_field = 0x60; in ivtv_load_and_init_modules() 961 itv->vbi.sliced_decoder_line_size = 272; in ivtv_load_and_init_modules() 962 itv->vbi.sliced_decoder_sav_odd_field = 0xB0; in ivtv_load_and_init_modules() 963 itv->vbi.sliced_decoder_sav_even_field = 0xF0; in ivtv_load_and_init_modules() [all …]
|
D | ivtv-fileops.c | 71 itv->vbi.insert_mpeg && !ivtv_raw_vbi(itv)) { in ivtv_claim_stream() 221 buf = &itv->vbi.sliced_mpeg_buf; in ivtv_get_buffer() 279 int idx = itv->vbi.inserted_frame % IVTV_VBI_FRAMES; in ivtv_setup_sliced_vbi_buf() 281 itv->vbi.sliced_mpeg_buf.buf = itv->vbi.sliced_mpeg_data[idx]; in ivtv_setup_sliced_vbi_buf() 282 itv->vbi.sliced_mpeg_buf.bytesused = itv->vbi.sliced_mpeg_size[idx]; in ivtv_setup_sliced_vbi_buf() 283 itv->vbi.sliced_mpeg_buf.readpos = 0; in ivtv_setup_sliced_vbi_buf() 293 if (itv->vbi.insert_mpeg && s->type == IVTV_ENC_STREAM_TYPE_MPG && in ivtv_copy_buf_to_user() 294 !ivtv_raw_vbi(itv) && buf != &itv->vbi.sliced_mpeg_buf) { in ivtv_copy_buf_to_user() 341 if (s->type == IVTV_ENC_STREAM_TYPE_MPG && buf != &itv->vbi.sliced_mpeg_buf) in ivtv_copy_buf_to_user() 384 if (buf != &itv->vbi.sliced_mpeg_buf) { in ivtv_read() [all …]
|
/linux-6.1.9/drivers/media/test-drivers/vivid/ |
D | vivid-vbi-out.c | 140 struct v4l2_vbi_format *vbi = &f->fmt.vbi; in vidioc_g_fmt_vbi_out() local 146 vbi->sampling_rate = 25000000; in vidioc_g_fmt_vbi_out() 147 vbi->offset = 24; in vidioc_g_fmt_vbi_out() 148 vbi->samples_per_line = 1440; in vidioc_g_fmt_vbi_out() 149 vbi->sample_format = V4L2_PIX_FMT_GREY; in vidioc_g_fmt_vbi_out() 150 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() 151 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() 152 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vidioc_g_fmt_vbi_out() 153 vbi->flags = dev->vbi_cap_interlaced ? V4L2_VBI_INTERLACED : 0; in vidioc_g_fmt_vbi_out() 154 vbi->reserved[0] = 0; in vidioc_g_fmt_vbi_out() [all …]
|
D | vivid-vbi-cap.c | 66 static void vivid_g_fmt_vbi_cap(struct vivid_dev *dev, struct v4l2_vbi_format *vbi) in vivid_g_fmt_vbi_cap() argument 70 vbi->sampling_rate = 27000000; in vivid_g_fmt_vbi_cap() 71 vbi->offset = 24; in vivid_g_fmt_vbi_cap() 72 vbi->samples_per_line = 1440; in vivid_g_fmt_vbi_cap() 73 vbi->sample_format = V4L2_PIX_FMT_GREY; in vivid_g_fmt_vbi_cap() 74 vbi->start[0] = is_60hz ? V4L2_VBI_ITU_525_F1_START + 9 : V4L2_VBI_ITU_625_F1_START + 5; in vivid_g_fmt_vbi_cap() 75 vbi->start[1] = is_60hz ? V4L2_VBI_ITU_525_F2_START + 9 : V4L2_VBI_ITU_625_F2_START + 5; in vivid_g_fmt_vbi_cap() 76 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vivid_g_fmt_vbi_cap() 77 vbi->flags = dev->vbi_cap_interlaced ? V4L2_VBI_INTERLACED : 0; in vivid_g_fmt_vbi_cap() 78 vbi->reserved[0] = 0; in vivid_g_fmt_vbi_cap() [all …]
|
D | vivid-vbi-gen.c | 109 void vivid_vbi_gen_raw(const struct vivid_vbi_gen_data *vbi, in vivid_vbi_gen_raw() argument 115 const struct v4l2_sliced_vbi_data *data = vbi->data + idx; in vivid_vbi_gen_raw() 246 void vivid_vbi_gen_sliced(struct vivid_vbi_gen_data *vbi, in vivid_vbi_gen_sliced() argument 249 struct v4l2_sliced_vbi_data *data0 = vbi->data; in vivid_vbi_gen_sliced() 250 struct v4l2_sliced_vbi_data *data1 = vbi->data + 1; in vivid_vbi_gen_sliced() 253 memset(vbi->data, 0, sizeof(vbi->data)); in vivid_vbi_gen_sliced() 300 vivid_vbi_gen_set_time_of_day(vbi->time_of_day_packet); in vivid_vbi_gen_sliced() 303 data1->data[0] = vbi->time_of_day_packet[frame * 2]; in vivid_vbi_gen_sliced() 304 data1->data[1] = vbi->time_of_day_packet[frame * 2 + 1]; in vivid_vbi_gen_sliced()
|
D | Makefile | 2 vivid-objs := vivid-core.o vivid-ctrls.o vivid-vid-common.o vivid-vbi-gen.o \ 5 vivid-rds-gen.o vivid-sdr-cap.o vivid-vbi-cap.o vivid-vbi-out.o \
|
D | vivid-vbi-gen.h | 16 void vivid_vbi_gen_sliced(struct vivid_vbi_gen_data *vbi, 18 void vivid_vbi_gen_raw(const struct vivid_vbi_gen_data *vbi,
|
/linux-6.1.9/drivers/media/pci/cx18/ |
D | cx18-vbi.c | 45 int idx = cx->vbi.frame % CX18_VBI_FRAMES; in copy_vbi_data() 46 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; in copy_vbi_data() 49 struct v4l2_sliced_vbi_data *sdata = cx->vbi.sliced_data + i; in copy_vbi_data() 89 cx->vbi.sliced_mpeg_size[idx] = sd + size; in copy_vbi_data() 98 u32 lines = cx->vbi.count * 2; in compress_raw_buf() 131 struct v4l2_decode_vbi_line vbi; in compress_sliced_buf() local 162 vbi.p = p + 4; in compress_sliced_buf() 163 v4l2_subdev_call(cx->sd_av, vbi, decode_vbi_line, &vbi); in compress_sliced_buf() 164 if (vbi.type) { in compress_sliced_buf() 165 cx->vbi.sliced_data[line].id = vbi.type; in compress_sliced_buf() [all …]
|
D | cx18-controls.c | 32 cx->vbi.insert_mpeg = V4L2_MPEG_STREAM_VBI_FMT_NONE; in cx18_s_stream_vbi_fmt() 38 if (cx->vbi.sliced_mpeg_data[0] == NULL) { in cx18_s_stream_vbi_fmt() 42 cx->vbi.sliced_mpeg_data[i] = in cx18_s_stream_vbi_fmt() 44 if (cx->vbi.sliced_mpeg_data[i] == NULL) { in cx18_s_stream_vbi_fmt() 46 kfree(cx->vbi.sliced_mpeg_data[i]); in cx18_s_stream_vbi_fmt() 47 cx->vbi.sliced_mpeg_data[i] = NULL; in cx18_s_stream_vbi_fmt() 49 cx->vbi.insert_mpeg = in cx18_s_stream_vbi_fmt() 57 cx->vbi.insert_mpeg = fmt; in cx18_s_stream_vbi_fmt() 64 if (cx18_get_service_set(cx->vbi.sliced_in) == 0) { in cx18_s_stream_vbi_fmt() 66 cx->vbi.sliced_in->service_set = in cx18_s_stream_vbi_fmt() [all …]
|
D | cx18-av-vbi.c | 246 struct v4l2_decode_vbi_line *vbi) in cx18_av_decode_vbi_line() argument 250 struct vbi_anc_data *anc = (struct vbi_anc_data *)vbi->p; in cx18_av_decode_vbi_line() 261 vbi->line = vbi->type = 0; in cx18_av_decode_vbi_line() 294 vbi->type = err ? 0 : sdid; in cx18_av_decode_vbi_line() 295 vbi->line = err ? 0 : l; in cx18_av_decode_vbi_line() 296 vbi->is_second_field = err ? 0 : (did == sliced_vbi_did[1]); in cx18_av_decode_vbi_line() 297 vbi->p = p; in cx18_av_decode_vbi_line()
|
D | cx18-fileops.c | 74 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream() 195 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl() 246 struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_setup_sliced_vbi_mdl() 247 struct cx18_buffer *buf = &cx->vbi.sliced_mpeg_buf; in cx18_setup_sliced_vbi_mdl() 248 int idx = cx->vbi.inserted_frame % CX18_VBI_FRAMES; in cx18_setup_sliced_vbi_mdl() 250 buf->buf = cx->vbi.sliced_mpeg_data[idx]; in cx18_setup_sliced_vbi_mdl() 251 buf->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl() 255 mdl->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl() 268 if (cx->vbi.insert_mpeg && s->type == CX18_ENC_STREAM_TYPE_MPG && in cx18_copy_buf_to_user() 269 !cx18_raw_vbi(cx) && buf != &cx->vbi.sliced_mpeg_buf) { in cx18_copy_buf_to_user() [all …]
|
D | cx18-streams.c | 545 cx->vbi.count = 12; in cx18_vbi_setup() 546 cx->vbi.start[0] = 10; in cx18_vbi_setup() 547 cx->vbi.start[1] = 273; in cx18_vbi_setup() 549 cx->vbi.count = 18; in cx18_vbi_setup() 550 cx->vbi.start[0] = 6; in cx18_vbi_setup() 551 cx->vbi.start[1] = 318; in cx18_vbi_setup() 556 v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &cx->vbi.in.fmt.vbi); in cx18_vbi_setup() 558 v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &cx->vbi.in.fmt.sliced); in cx18_vbi_setup() 569 lines = cx->vbi.count * 2; in cx18_vbi_setup() 813 cx->vbi.frame = 0; in cx18_start_v4l2_encode_stream() [all …]
|
D | cx18-ioctl.c | 162 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; 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() 195 if (v4l2_subdev_call(cx->sd_av, vbi, g_sliced_fmt, &fmt->fmt.sliced)) in cx18_g_fmt_sliced_vbi_cap() 313 ret = v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &fmt->fmt.vbi); in cx18_s_fmt_vbi_cap() 318 cx->vbi.sliced_in->service_set = 0; in cx18_s_fmt_vbi_cap() 319 cx->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in cx18_s_fmt_vbi_cap() 346 ret = v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &fmt->fmt.sliced); in cx18_s_fmt_sliced_vbi_cap() 350 cx->vbi.in.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; in cx18_s_fmt_sliced_vbi_cap() [all …]
|
/linux-6.1.9/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 41 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt() 42 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in cx23885_vbi_fmt() 43 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in cx23885_vbi_fmt() 44 f->fmt.vbi.offset = 0; in cx23885_vbi_fmt() 45 f->fmt.vbi.flags = 0; in cx23885_vbi_fmt() 48 f->fmt.vbi.start[0] = V4L2_VBI_ITU_525_F1_START + 9; in cx23885_vbi_fmt() 49 f->fmt.vbi.start[1] = V4L2_VBI_ITU_525_F2_START + 9; in cx23885_vbi_fmt() 50 f->fmt.vbi.count[0] = VBI_NTSC_LINE_COUNT; in cx23885_vbi_fmt() 51 f->fmt.vbi.count[1] = VBI_NTSC_LINE_COUNT; in cx23885_vbi_fmt() 54 f->fmt.vbi.start[0] = V4L2_VBI_ITU_625_F1_START + 5; in cx23885_vbi_fmt() [all …]
|
/linux-6.1.9/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 28 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in cx8800_vbi_fmt() 29 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in cx8800_vbi_fmt() 30 f->fmt.vbi.offset = 244; in cx8800_vbi_fmt() 34 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt() 35 f->fmt.vbi.start[0] = 10; in cx8800_vbi_fmt() 36 f->fmt.vbi.start[1] = 273; in cx8800_vbi_fmt() 37 f->fmt.vbi.count[0] = VBI_LINE_NTSC_COUNT; in cx8800_vbi_fmt() 38 f->fmt.vbi.count[1] = VBI_LINE_NTSC_COUNT; in cx8800_vbi_fmt() 42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt() 43 f->fmt.vbi.start[0] = V4L2_VBI_ITU_625_F1_START + 5; in cx8800_vbi_fmt() [all …]
|
/linux-6.1.9/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 314 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); in bttv_try_fmt_vbi_cap() 334 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap() 338 start1 = frt->fmt.vbi.start[1] - tvnorm->vbistart[1] + in bttv_s_fmt_vbi_cap() 347 end = max(frt->fmt.vbi.start[0], start1) * 2 + 2; in bttv_s_fmt_vbi_cap() 349 mutex_lock(&fh->vbi.vb_lock); in bttv_s_fmt_vbi_cap() 351 fh->vbi_fmt.fmt = frt->fmt.vbi; in bttv_s_fmt_vbi_cap() 355 mutex_unlock(&fh->vbi.vb_lock); in bttv_s_fmt_vbi_cap() 371 frt->fmt.vbi = fh->vbi_fmt.fmt; in bttv_g_fmt_vbi_cap() 386 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap() 391 new_start = frt->fmt.vbi.start[i] in bttv_g_fmt_vbi_cap() [all …]
|
/linux-6.1.9/drivers/media/i2c/cx25840/ |
D | cx25840-vbi.c | 216 int cx25840_decode_vbi_line(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi) in cx25840_decode_vbi_line() argument 219 u8 *p = vbi->p; in cx25840_decode_vbi_line() 224 vbi->line = vbi->type = 0; in cx25840_decode_vbi_line() 257 vbi->type = err ? 0 : id2; in cx25840_decode_vbi_line() 258 vbi->line = err ? 0 : l; in cx25840_decode_vbi_line() 259 vbi->is_second_field = err ? 0 : (id1 == 0x55); in cx25840_decode_vbi_line() 260 vbi->p = p; in cx25840_decode_vbi_line()
|
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/ |
D | saa7146_fops.c | 112 struct saa7146_dmaqueue *q, int vbi) in saa7146_buffer_next() argument 118 DEB_INT("dev:%p, dmaq:%p, vbi:%d\n", dev, q, vbi); in saa7146_buffer_next() 133 if( 0 != vbi ) { in saa7146_buffer_next() 468 struct v4l2_vbi_format *vbi; in saa7146_vv_init() local 550 vbi = &vv->vbi_fmt; in saa7146_vv_init() 551 vbi->sampling_rate = 27000000; in saa7146_vv_init() 552 vbi->offset = 248; /* todo */ in saa7146_vv_init() 553 vbi->samples_per_line = 720 * 2; in saa7146_vv_init() 554 vbi->sample_format = V4L2_PIX_FMT_GREY; in saa7146_vv_init() 557 vbi->start[0] = 5; in saa7146_vv_init() [all …]
|
/linux-6.1.9/drivers/media/pci/saa7164/ |
D | saa7164-vbi.c | 399 f->fmt.vbi.samples_per_line = 1440; in saa7164_vbi_fmt() 400 f->fmt.vbi.sampling_rate = 27000000; in saa7164_vbi_fmt() 401 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in saa7164_vbi_fmt() 402 f->fmt.vbi.offset = 0; in saa7164_vbi_fmt() 403 f->fmt.vbi.flags = 0; in saa7164_vbi_fmt() 404 f->fmt.vbi.start[0] = 10; in saa7164_vbi_fmt() 405 f->fmt.vbi.count[0] = 18; in saa7164_vbi_fmt() 406 f->fmt.vbi.start[1] = 263 + 10 + 1; in saa7164_vbi_fmt() 407 f->fmt.vbi.count[1] = 18; in saa7164_vbi_fmt() 408 memset(f->fmt.vbi.reserved, 0, sizeof(f->fmt.vbi.reserved)); in saa7164_vbi_fmt()
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | dev-sliced-vbi.rst | 17 :ref:`raw VBI interface <raw-vbi>`. The data is passed as short 23 interfaces, the default function of a ``/dev/vbi`` device is *raw* VBI 51 .. _sliced-vbi-format-negotitation: 152 Data services are defined in :ref:`vbi-services2`. Array indices 319 - A flag from :ref:`vbi-services` identifying the type of data in 334 captured from, or shall be inserted at. See :ref:`vbi-525` and 335 :ref:`vbi-625` for valid values. Sliced VBI capture devices can 345 - The packet payload. See :ref:`vbi-services` for the contents and 380 :ref:`negotiated sliced VBI services <sliced-vbi-format-negotitation>` 383 :ref:`V4L2_CID_MPEG_STREAM_VBI_FMT <v4l2-mpeg-stream-vbi-fmt>` [all …]
|
D | devices.rst | 18 dev-raw-vbi 19 dev-sliced-vbi
|
/linux-6.1.9/drivers/media/usb/cx231xx/ |
D | cx231xx-video.c | 1416 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_g_fmt_vbi_cap() 1417 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in vidioc_g_fmt_vbi_cap() 1418 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in vidioc_g_fmt_vbi_cap() 1419 f->fmt.vbi.offset = 0; in vidioc_g_fmt_vbi_cap() 1420 f->fmt.vbi.start[0] = (dev->norm & V4L2_STD_625_50) ? in vidioc_g_fmt_vbi_cap() 1422 f->fmt.vbi.count[0] = (dev->norm & V4L2_STD_625_50) ? in vidioc_g_fmt_vbi_cap() 1424 f->fmt.vbi.start[1] = (dev->norm & V4L2_STD_625_50) ? in vidioc_g_fmt_vbi_cap() 1426 f->fmt.vbi.count[1] = f->fmt.vbi.count[0]; in vidioc_g_fmt_vbi_cap() 1427 memset(f->fmt.vbi.reserved, 0, sizeof(f->fmt.vbi.reserved)); in vidioc_g_fmt_vbi_cap() 1438 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_try_fmt_vbi_cap() [all …]
|