/linux-2.6.39/drivers/media/video/ivtv/ |
D | ivtv-vbi.c | 36 data.data[2] = itv->vbi.vps_payload.data[0]; in ivtv_set_vps() 37 data.data[8] = itv->vbi.vps_payload.data[1]; in ivtv_set_vps() 38 data.data[9] = itv->vbi.vps_payload.data[2]; in ivtv_set_vps() 39 data.data[10] = itv->vbi.vps_payload.data[3]; in ivtv_set_vps() 40 data.data[11] = itv->vbi.vps_payload.data[4]; in ivtv_set_vps() 41 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_vps() 55 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_cc() 60 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_cc() 83 ivtv_call_hw(itv, IVTV_HW_SAA7127, vbi, s_vbi_data, &data); in ivtv_set_wss() 99 struct vbi_info *vi = &itv->vbi; in ivtv_write_vbi_line() [all …]
|
D | ivtv-controls.c | 30 if (fmt && itv->vbi.sliced_mpeg_data[0] == NULL) { in ivtv_s_stream_vbi_fmt() 35 itv->vbi.sliced_mpeg_data[i] = kmalloc(2049, GFP_KERNEL); in ivtv_s_stream_vbi_fmt() 36 if (itv->vbi.sliced_mpeg_data[i] == NULL) { in ivtv_s_stream_vbi_fmt() 38 kfree(itv->vbi.sliced_mpeg_data[i]); in ivtv_s_stream_vbi_fmt() 39 itv->vbi.sliced_mpeg_data[i] = NULL; in ivtv_s_stream_vbi_fmt() 46 itv->vbi.insert_mpeg = fmt; in ivtv_s_stream_vbi_fmt() 48 if (itv->vbi.insert_mpeg == 0) { in ivtv_s_stream_vbi_fmt() 52 if (ivtv_get_service_set(itv->vbi.sliced_in) == 0) { in ivtv_s_stream_vbi_fmt() 54 itv->vbi.sliced_in->service_set = V4L2_SLICED_CAPTION_525; in ivtv_s_stream_vbi_fmt() 56 itv->vbi.sliced_in->service_set = V4L2_SLICED_WSS_625; in ivtv_s_stream_vbi_fmt() [all …]
|
D | ivtv-streams.c | 351 v4l2_subdev_call(itv->sd_video, vbi, s_raw_fmt, &itv->vbi.in.fmt.vbi); in ivtv_vbi_setup() 353 v4l2_subdev_call(itv->sd_video, vbi, s_sliced_fmt, &itv->vbi.in.fmt.sliced); in ivtv_vbi_setup() 361 lines = itv->vbi.count * 2; in ivtv_vbi_setup() 368 itv->vbi.enc_size = lines * (raw ? itv->vbi.raw_size : itv->vbi.sliced_size); in ivtv_vbi_setup() 377 data[2] = raw ? 4 : 4 * (itv->vbi.raw_size / itv->vbi.enc_size); in ivtv_vbi_setup() 397 data[6] = (raw ? itv->vbi.raw_size : itv->vbi.sliced_size); in ivtv_vbi_setup() 410 data[6] = itv->vbi.enc_size / lines; in ivtv_vbi_setup() 420 itv->vbi.enc_start = data[2]; in ivtv_vbi_setup() 421 itv->vbi.fpi = data[0]; in ivtv_vbi_setup() 422 if (!itv->vbi.fpi) in ivtv_vbi_setup() [all …]
|
D | ivtv-driver.c | 757 itv->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in ivtv_init_struct1() 758 itv->vbi.sliced_in = &itv->vbi.in.fmt.sliced; in ivtv_init_struct1() 792 itv->vbi.sliced_size = 288; /* multiple of 16, real size = 284 */ in ivtv_init_struct2() 794 itv->vbi.sliced_size = 64; /* multiple of 16, real size = 52 */ in ivtv_init_struct2() 937 itv->vbi.raw_decoder_line_size = 1444; in ivtv_load_and_init_modules() 938 itv->vbi.raw_decoder_sav_odd_field = 0x20; in ivtv_load_and_init_modules() 939 itv->vbi.raw_decoder_sav_even_field = 0x60; in ivtv_load_and_init_modules() 940 itv->vbi.sliced_decoder_line_size = 272; in ivtv_load_and_init_modules() 941 itv->vbi.sliced_decoder_sav_odd_field = 0xB0; in ivtv_load_and_init_modules() 942 itv->vbi.sliced_decoder_sav_even_field = 0xF0; in ivtv_load_and_init_modules() [all …]
|
D | ivtv-fileops.c | 83 itv->vbi.insert_mpeg && !ivtv_raw_vbi(itv)) { in ivtv_claim_stream() 231 buf = &itv->vbi.sliced_mpeg_buf; in ivtv_get_buffer() 287 int idx = itv->vbi.inserted_frame % IVTV_VBI_FRAMES; in ivtv_setup_sliced_vbi_buf() 289 itv->vbi.sliced_mpeg_buf.buf = itv->vbi.sliced_mpeg_data[idx]; in ivtv_setup_sliced_vbi_buf() 290 itv->vbi.sliced_mpeg_buf.bytesused = itv->vbi.sliced_mpeg_size[idx]; in ivtv_setup_sliced_vbi_buf() 291 itv->vbi.sliced_mpeg_buf.readpos = 0; in ivtv_setup_sliced_vbi_buf() 301 if (itv->vbi.insert_mpeg && s->type == IVTV_ENC_STREAM_TYPE_MPG && in ivtv_copy_buf_to_user() 302 !ivtv_raw_vbi(itv) && buf != &itv->vbi.sliced_mpeg_buf) { in ivtv_copy_buf_to_user() 349 if (s->type == IVTV_ENC_STREAM_TYPE_MPG && buf != &itv->vbi.sliced_mpeg_buf) in ivtv_copy_buf_to_user() 392 if (buf != &itv->vbi.sliced_mpeg_buf) { in ivtv_read() [all …]
|
D | ivtv-ioctl.c | 362 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; in ivtv_g_fmt_vbi_cap() 366 vbifmt->samples_per_line = itv->vbi.raw_decoder_line_size - 4; in ivtv_g_fmt_vbi_cap() 368 vbifmt->start[0] = itv->vbi.start[0]; in ivtv_g_fmt_vbi_cap() 369 vbifmt->start[1] = itv->vbi.start[1]; in ivtv_g_fmt_vbi_cap() 370 vbifmt->count[0] = vbifmt->count[1] = itv->vbi.count; in ivtv_g_fmt_vbi_cap() 394 v4l2_subdev_call(itv->sd_video, vbi, g_sliced_fmt, vbifmt); in ivtv_g_fmt_sliced_vbi_cap() 601 itv->vbi.sliced_in->service_set = 0; in ivtv_s_fmt_vbi_cap() 602 itv->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in ivtv_s_fmt_vbi_cap() 603 v4l2_subdev_call(itv->sd_video, vbi, s_raw_fmt, &fmt->fmt.vbi); in ivtv_s_fmt_vbi_cap() 620 itv->vbi.in.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; in ivtv_s_fmt_sliced_vbi_cap() [all …]
|
/linux-2.6.39/drivers/media/video/cx18/ |
D | cx18-vbi.c | 59 int idx = cx->vbi.frame % CX18_VBI_FRAMES; in copy_vbi_data() 60 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; in copy_vbi_data() 63 struct v4l2_sliced_vbi_data *sdata = cx->vbi.sliced_data + i; in copy_vbi_data() 103 cx->vbi.sliced_mpeg_size[idx] = sd + size; in copy_vbi_data() 112 u32 lines = cx->vbi.count * 2; in compress_raw_buf() 145 struct v4l2_decode_vbi_line vbi; in compress_sliced_buf() local 176 vbi.p = p + 4; in compress_sliced_buf() 177 v4l2_subdev_call(cx->sd_av, vbi, decode_vbi_line, &vbi); in compress_sliced_buf() 178 if (vbi.type) { in compress_sliced_buf() 179 cx->vbi.sliced_data[line].id = vbi.type; in compress_sliced_buf() [all …]
|
D | cx18-controls.c | 46 cx->vbi.insert_mpeg = V4L2_MPEG_STREAM_VBI_FMT_NONE; in cx18_s_stream_vbi_fmt() 53 if (cx->vbi.sliced_mpeg_data[0] == NULL) { in cx18_s_stream_vbi_fmt() 57 cx->vbi.sliced_mpeg_data[i] = in cx18_s_stream_vbi_fmt() 59 if (cx->vbi.sliced_mpeg_data[i] == NULL) { in cx18_s_stream_vbi_fmt() 61 kfree(cx->vbi.sliced_mpeg_data[i]); in cx18_s_stream_vbi_fmt() 62 cx->vbi.sliced_mpeg_data[i] = NULL; in cx18_s_stream_vbi_fmt() 64 cx->vbi.insert_mpeg = in cx18_s_stream_vbi_fmt() 73 cx->vbi.insert_mpeg = fmt; in cx18_s_stream_vbi_fmt() 81 if (cx18_get_service_set(cx->vbi.sliced_in) == 0) { in cx18_s_stream_vbi_fmt() 83 cx->vbi.sliced_in->service_set = in cx18_s_stream_vbi_fmt() [all …]
|
D | cx18-av-vbi.c | 258 struct v4l2_decode_vbi_line *vbi) in cx18_av_decode_vbi_line() argument 262 struct vbi_anc_data *anc = (struct vbi_anc_data *)vbi->p; in cx18_av_decode_vbi_line() 273 vbi->line = vbi->type = 0; in cx18_av_decode_vbi_line() 306 vbi->type = err ? 0 : sdid; in cx18_av_decode_vbi_line() 307 vbi->line = err ? 0 : l; in cx18_av_decode_vbi_line() 308 vbi->is_second_field = err ? 0 : (did == sliced_vbi_did[1]); in cx18_av_decode_vbi_line() 309 vbi->p = p; in cx18_av_decode_vbi_line()
|
D | cx18-streams.c | 393 cx->vbi.count = 12; in cx18_vbi_setup() 394 cx->vbi.start[0] = 10; in cx18_vbi_setup() 395 cx->vbi.start[1] = 273; in cx18_vbi_setup() 397 cx->vbi.count = 18; in cx18_vbi_setup() 398 cx->vbi.start[0] = 6; in cx18_vbi_setup() 399 cx->vbi.start[1] = 318; in cx18_vbi_setup() 404 v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &cx->vbi.in.fmt.vbi); in cx18_vbi_setup() 406 v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &cx->vbi.in.fmt.sliced); in cx18_vbi_setup() 417 lines = cx->vbi.count * 2; in cx18_vbi_setup() 658 cx->vbi.frame = 0; in cx18_start_v4l2_encode_stream() [all …]
|
D | cx18-fileops.c | 88 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream() 209 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl() 260 struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_setup_sliced_vbi_mdl() 261 struct cx18_buffer *buf = &cx->vbi.sliced_mpeg_buf; in cx18_setup_sliced_vbi_mdl() 262 int idx = cx->vbi.inserted_frame % CX18_VBI_FRAMES; in cx18_setup_sliced_vbi_mdl() 264 buf->buf = cx->vbi.sliced_mpeg_data[idx]; in cx18_setup_sliced_vbi_mdl() 265 buf->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl() 269 mdl->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl() 282 if (cx->vbi.insert_mpeg && s->type == CX18_ENC_STREAM_TYPE_MPG && in cx18_copy_buf_to_user() 283 !cx18_raw_vbi(cx) && buf != &cx->vbi.sliced_mpeg_buf) { in cx18_copy_buf_to_user() [all …]
|
D | cx18-ioctl.c | 177 struct v4l2_vbi_format *vbifmt = &fmt->fmt.vbi; in cx18_g_fmt_vbi_cap() 183 vbifmt->start[0] = cx->vbi.start[0]; in cx18_g_fmt_vbi_cap() 184 vbifmt->start[1] = cx->vbi.start[1]; in cx18_g_fmt_vbi_cap() 185 vbifmt->count[0] = vbifmt->count[1] = cx->vbi.count; in cx18_g_fmt_vbi_cap() 210 if (v4l2_subdev_call(cx->sd_av, vbi, g_sliced_fmt, &fmt->fmt.sliced)) in cx18_g_fmt_sliced_vbi_cap() 318 ret = v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &fmt->fmt.vbi); in cx18_s_fmt_vbi_cap() 323 cx->vbi.sliced_in->service_set = 0; in cx18_s_fmt_vbi_cap() 324 cx->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in cx18_s_fmt_vbi_cap() 351 ret = v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &fmt->fmt.sliced); in cx18_s_fmt_sliced_vbi_cap() 355 cx->vbi.in.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; in cx18_s_fmt_sliced_vbi_cap() [all …]
|
D | Makefile | 3 cx18-mailbox.o cx18-vbi.o cx18-audio.o cx18-video.o cx18-irq.o \ 4 cx18-av-core.o cx18-av-audio.o cx18-av-firmware.o cx18-av-vbi.o cx18-scb.o \
|
D | cx18-driver.c | 755 cx->vbi.in.type = V4L2_BUF_TYPE_VBI_CAPTURE; in cx18_init_struct1() 756 cx->vbi.sliced_in = &cx->vbi.in.fmt.sliced; in cx18_init_struct1() 759 INIT_LIST_HEAD(&cx->vbi.sliced_mpeg_buf.list); in cx18_init_struct1() 760 INIT_LIST_HEAD(&cx->vbi.sliced_mpeg_mdl.list); in cx18_init_struct1() 761 INIT_LIST_HEAD(&cx->vbi.sliced_mpeg_mdl.buf_list); in cx18_init_struct1() 762 list_add(&cx->vbi.sliced_mpeg_buf.list, in cx18_init_struct1() 763 &cx->vbi.sliced_mpeg_mdl.buf_list); in cx18_init_struct1() 1284 if (cx->vbi.sliced_mpeg_data[0] != NULL) in cx18_remove() 1286 kfree(cx->vbi.sliced_mpeg_data[i]); in cx18_remove()
|
/linux-2.6.39/drivers/media/video/usbvision/ |
D | usbvision-cards.c | 41 .vbi = 1, 55 .vbi = 1, 71 .vbi = 1, 85 .vbi = 1, 101 .vbi = 1, 117 .vbi = 1, 131 .vbi = 1, 147 .vbi = 1, 161 .vbi = 1, 177 .vbi = 1, [all …]
|
/linux-2.6.39/drivers/media/video/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() 31 f->fmt.vbi.count[0] = VBI_LINE_COUNT; in cx8800_vbi_fmt() 32 f->fmt.vbi.count[1] = VBI_LINE_COUNT; in cx8800_vbi_fmt() 36 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt() 37 f->fmt.vbi.start[0] = 10; in cx8800_vbi_fmt() 38 f->fmt.vbi.start[1] = 273; in cx8800_vbi_fmt() 42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt() 43 f->fmt.vbi.start[0] = 7 -1; in cx8800_vbi_fmt() [all …]
|
/linux-2.6.39/drivers/media/video/cx25840/ |
D | cx25840-vbi.c | 210 int cx25840_decode_vbi_line(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi) in cx25840_decode_vbi_line() argument 213 u8 *p = vbi->p; in cx25840_decode_vbi_line() 218 vbi->line = vbi->type = 0; in cx25840_decode_vbi_line() 251 vbi->type = err ? 0 : id2; in cx25840_decode_vbi_line() 252 vbi->line = err ? 0 : l; in cx25840_decode_vbi_line() 253 vbi->is_second_field = err ? 0 : (id1 == 0x55); in cx25840_decode_vbi_line() 254 vbi->p = p; in cx25840_decode_vbi_line()
|
/linux-2.6.39/drivers/media/video/bt8xx/ |
D | bttv-vbi.c | 321 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); in bttv_try_fmt_vbi_cap() 341 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap() 345 start1 = frt->fmt.vbi.start[1] - tvnorm->vbistart[1] + in bttv_s_fmt_vbi_cap() 354 end = max(frt->fmt.vbi.start[0], start1) * 2 + 2; in bttv_s_fmt_vbi_cap() 356 mutex_lock(&fh->vbi.vb_lock); in bttv_s_fmt_vbi_cap() 358 fh->vbi_fmt.fmt = frt->fmt.vbi; in bttv_s_fmt_vbi_cap() 362 mutex_unlock(&fh->vbi.vb_lock); in bttv_s_fmt_vbi_cap() 378 frt->fmt.vbi = fh->vbi_fmt.fmt; in bttv_g_fmt_vbi_cap() 393 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap() 398 new_start = frt->fmt.vbi.start[i] in bttv_g_fmt_vbi_cap() [all …]
|
D | bttv-risc.c | 595 struct bttv_buffer *vbi) in bttv_buffer_activate_vbi() argument 607 if (vbi) { in bttv_buffer_activate_vbi() 610 vbi->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_vbi() 611 list_del(&vbi->vb.queue); in bttv_buffer_activate_vbi() 617 if (vbi->geo.vdelay > vdelay) { in bttv_buffer_activate_vbi() 618 vdelay = vbi->geo.vdelay & 0xfe; in bttv_buffer_activate_vbi() 619 crop = (crop & 0x3f) | ((vbi->geo.vdelay >> 2) & 0xc0); in bttv_buffer_activate_vbi() 627 if (vbi->vbi_count[0] > 0) { in bttv_buffer_activate_vbi() 628 top = &vbi->top; in bttv_buffer_activate_vbi() 632 if (vbi->vbi_count[1] > 0) { in bttv_buffer_activate_vbi() [all …]
|
/linux-2.6.39/drivers/media/video/tlg2300/ |
D | pd-video.c | 170 video->vbi->copied = 0; /* set it here */ in init_copy() 269 struct vbi_data *vbi = video->vbi; in check_trailer() local 273 offset = (video->context.pix.sizeimage / 2 + vbi->vbi_size / 2) in check_trailer() 274 - (vbi->copied + video->lines_size * video->lines_copied); in check_trailer() 298 static inline void copy_vbi_data(struct vbi_data *vbi, in copy_vbi_data() argument 301 struct front_face *front = vbi->front; in copy_vbi_data() 306 if (vbi->video->field_count) in copy_vbi_data() 307 buf += (vbi->vbi_size / 2); in copy_vbi_data() 308 memcpy(buf + vbi->copied, src, count); in copy_vbi_data() 310 vbi->copied += count; in copy_vbi_data() [all …]
|
/linux-2.6.39/drivers/media/video/cx23885/ |
D | cx23885-vbi.c | 52 f->fmt.vbi.sampling_rate = 28636363; in cx23885_vbi_fmt() 53 f->fmt.vbi.start[0] = 10; in cx23885_vbi_fmt() 54 f->fmt.vbi.start[1] = 273; in cx23885_vbi_fmt() 58 f->fmt.vbi.sampling_rate = 35468950; in cx23885_vbi_fmt() 59 f->fmt.vbi.start[0] = 7 - 1; in cx23885_vbi_fmt() 60 f->fmt.vbi.start[1] = 319 - 1; in cx23885_vbi_fmt()
|
/linux-2.6.39/drivers/media/video/em28xx/ |
D | em28xx-video.c | 1804 v4l2_device_call_all(&dev->v4l2_dev, 0, vbi, g_sliced_fmt, &f->fmt.sliced); in vidioc_g_fmt_sliced_vbi_cap() 1823 v4l2_device_call_all(&dev->v4l2_dev, 0, vbi, g_sliced_fmt, &f->fmt.sliced); in vidioc_try_set_sliced_vbi_cap() 1839 format->fmt.vbi.samples_per_line = dev->vbi_width; in vidioc_g_fmt_vbi_cap() 1840 format->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in vidioc_g_fmt_vbi_cap() 1841 format->fmt.vbi.offset = 0; in vidioc_g_fmt_vbi_cap() 1842 format->fmt.vbi.flags = 0; in vidioc_g_fmt_vbi_cap() 1843 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap() 1844 format->fmt.vbi.count[0] = dev->vbi_height; in vidioc_g_fmt_vbi_cap() 1845 format->fmt.vbi.count[1] = dev->vbi_height; in vidioc_g_fmt_vbi_cap() 1850 format->fmt.vbi.start[0] = 10; in vidioc_g_fmt_vbi_cap() [all …]
|
/linux-2.6.39/drivers/media/video/ |
D | saa7115.c | 1112 static int saa711x_decode_vbi_line(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi) in saa711x_decode_vbi_line() argument 1118 u8 *p = vbi->p; in saa711x_decode_vbi_line() 1122 vbi->type = 0; /* mark result as a failure */ in saa711x_decode_vbi_line() 1131 vbi->p = p; in saa711x_decode_vbi_line() 1134 vbi->is_second_field = ((id1 & 0x40) != 0); in saa711x_decode_vbi_line() 1135 vbi->line = (id1 & 0x3f) << 3; in saa711x_decode_vbi_line() 1136 vbi->line |= (id2 & 0x70) >> 4; in saa711x_decode_vbi_line() 1149 vbi->type = V4L2_SLICED_TELETEXT_B; in saa711x_decode_vbi_line() 1154 vbi->type = V4L2_SLICED_CAPTION_525; in saa711x_decode_vbi_line() 1162 vbi->type = V4L2_SLICED_WSS_625; in saa711x_decode_vbi_line() [all …]
|
D | saa7127.c | 739 .vbi = &saa7127_vbi_ops, 749 struct v4l2_sliced_vbi_data vbi = { 0, 0, 0, 0 }; /* set to disabled */ in saa7127_probe() local 803 saa7127_set_vps(sd, &vbi); in saa7127_probe() 804 saa7127_set_wss(sd, &vbi); in saa7127_probe() 805 saa7127_set_cc(sd, &vbi); in saa7127_probe() 806 saa7127_set_xds(sd, &vbi); in saa7127_probe()
|
/linux-2.6.39/drivers/media/video/cx231xx/ |
D | cx231xx-video.c | 1915 call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced); in vidioc_g_fmt_sliced_vbi_cap() 1934 call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced); in vidioc_try_set_sliced_vbi_cap() 1949 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_g_fmt_vbi_cap() 1950 f->fmt.vbi.samples_per_line = VBI_LINE_LENGTH; in vidioc_g_fmt_vbi_cap() 1951 f->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY; in vidioc_g_fmt_vbi_cap() 1952 f->fmt.vbi.offset = 0; in vidioc_g_fmt_vbi_cap() 1953 f->fmt.vbi.start[0] = (dev->norm & V4L2_STD_625_50) ? in vidioc_g_fmt_vbi_cap() 1955 f->fmt.vbi.count[0] = (dev->norm & V4L2_STD_625_50) ? in vidioc_g_fmt_vbi_cap() 1957 f->fmt.vbi.start[1] = (dev->norm & V4L2_STD_625_50) ? in vidioc_g_fmt_vbi_cap() 1959 f->fmt.vbi.count[1] = f->fmt.vbi.count[0]; in vidioc_g_fmt_vbi_cap() [all …]
|