Home
last modified time | relevance | path

Searched refs:service_lines (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/media/i2c/cx25840/
Dcx25840-vbi.c86 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in cx25840_g_sliced_fmt()
98 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt()
99 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt()
100 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt()
101 svbi->service_lines[1][i]; in cx25840_g_sliced_fmt()
108 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx25840_g_sliced_fmt()
109 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx25840_g_sliced_fmt()
110 svbi->service_set |= svbi->service_lines[0][i] | in cx25840_g_sliced_fmt()
111 svbi->service_lines[1][i]; in cx25840_g_sliced_fmt()
163 svbi->service_lines[0][i] = in cx25840_s_sliced_fmt()
[all …]
/linux-6.1.9/drivers/media/pci/cx18/
Dcx18-av-vbi.c132 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in cx18_av_g_sliced_fmt()
143 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
144 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
145 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
146 svbi->service_lines[1][i]; in cx18_av_g_sliced_fmt()
152 svbi->service_lines[0][i] = lcr2vbi[v >> 4]; in cx18_av_g_sliced_fmt()
153 svbi->service_lines[1][i] = lcr2vbi[v & 0xf]; in cx18_av_g_sliced_fmt()
154 svbi->service_set |= svbi->service_lines[0][i] | in cx18_av_g_sliced_fmt()
155 svbi->service_lines[1][i]; in cx18_av_g_sliced_fmt()
197 svbi->service_lines[0][i] = in cx18_av_s_sliced_fmt()
[all …]
Dcx18-ioctl.c99 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set()
114 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set()
115 set |= fmt->service_lines[f][l]; in check_service_set()
129 set |= fmt->service_lines[f][l]; in cx18_get_service_set()
187 memset(vbifmt->service_lines, 0, sizeof(vbifmt->service_lines)); in cx18_g_fmt_sliced_vbi_cap()
656 cap->service_lines[f][l] = set; in cx18_g_sliced_vbi_cap()
659 cap->service_lines[f][l] = 0; in cx18_g_sliced_vbi_cap()
/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-vbi-cap.c267 memset(vbi->service_lines, 0, sizeof(vbi->service_lines)); in vivid_fill_service_lines()
274 vbi->service_lines[0][21] = V4L2_SLICED_CAPTION_525; in vivid_fill_service_lines()
275 vbi->service_lines[1][21] = V4L2_SLICED_CAPTION_525; in vivid_fill_service_lines()
281 vbi->service_lines[0][i] = in vivid_fill_service_lines()
282 vbi->service_lines[1][i] = V4L2_SLICED_TELETEXT_B; in vivid_fill_service_lines()
283 vbi->service_lines[0][23] = V4L2_SLICED_WSS_625; in vivid_fill_service_lines()
350 cap->service_lines[0][21] = V4L2_SLICED_CAPTION_525; in vidioc_g_sliced_vbi_cap()
351 cap->service_lines[1][21] = V4L2_SLICED_CAPTION_525; in vidioc_g_sliced_vbi_cap()
356 cap->service_lines[0][i] = in vidioc_g_sliced_vbi_cap()
357 cap->service_lines[1][i] = V4L2_SLICED_TELETEXT_B; in vidioc_g_sliced_vbi_cap()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dvidioc-g-sliced-vbi-cap.rst59 Equal to the union of all elements of the ``service_lines`` array.
61 - ``service_lines``\ [2][24]
73 - ``service_lines``\ [0][1]
78 - ``service_lines``\ [0][23]
83 - ``service_lines``\ [1][1]
88 - ``service_lines``\ [1][23]
104 - :cspan:`2` Drivers must set ``service_lines`` [0][0] and
105 ``service_lines``\ [1][0] to zero.
Ddev-sliced-vbi.rst86 to the required services and let the driver fill the ``service_lines``
88 is needed should the programmer set the ``service_lines`` array
126 :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>`, the ``service_lines``
133 zero, then the values of ``service_lines`` will be used instead.
136 of the returned ``service_lines`` array. It may contain less
141 - ``service_lines``\ [2][24]
161 - ``service_lines``\ [0][1]
166 - ``service_lines``\ [0][23]
171 - ``service_lines``\ [1][1]
176 - ``service_lines``\ [1][23]
[all …]
/linux-6.1.9/drivers/media/i2c/
Dsaa7115.c1082 fmt->service_lines[0][i] = in saa711x_set_lcr()
1083 fmt->service_lines[1][i] = 0; in saa711x_set_lcr()
1087 fmt->service_lines[0][i] = in saa711x_set_lcr()
1088 fmt->service_lines[1][i] = 0; in saa711x_set_lcr()
1090 fmt->service_lines[0][i] = in saa711x_set_lcr()
1091 fmt->service_lines[1][i] = 0; in saa711x_set_lcr()
1098 switch (fmt->service_lines[1-x][i]) { in saa711x_set_lcr()
1141 memset(sliced->service_lines, 0, sizeof(sliced->service_lines)); in saa711x_g_sliced_fmt()
1149 sliced->service_lines[0][i] = lcr2vbi[v >> 4]; in saa711x_g_sliced_fmt()
1150 sliced->service_lines[1][i] = lcr2vbi[v & 0xf]; in saa711x_g_sliced_fmt()
[all …]
Dsaa7127.c619 memset(fmt->service_lines, 0, sizeof(fmt->service_lines)); in saa7127_g_sliced_fmt()
621 fmt->service_lines[0][16] = V4L2_SLICED_VPS; in saa7127_g_sliced_fmt()
623 fmt->service_lines[0][23] = V4L2_SLICED_WSS_625; in saa7127_g_sliced_fmt()
625 fmt->service_lines[0][21] = V4L2_SLICED_CAPTION_525; in saa7127_g_sliced_fmt()
626 fmt->service_lines[1][21] = V4L2_SLICED_CAPTION_525; in saa7127_g_sliced_fmt()
Dtvp5150.c658 cap->service_lines[0][line] |= regs->type.vbi_type; in tvp5150_g_sliced_vbi_cap()
1521 svbi->service_lines[1][i] = 0; in tvp5150_s_sliced_fmt()
1522 svbi->service_lines[0][i] = in tvp5150_s_sliced_fmt()
1523 tvp5150_set_vbi(sd, svbi->service_lines[0][i], in tvp5150_s_sliced_fmt()
1546 memset(svbi->service_lines, 0, sizeof(svbi->service_lines)); in tvp5150_g_sliced_fmt()
1549 svbi->service_lines[0][i] = in tvp5150_g_sliced_fmt()
1551 mask |= svbi->service_lines[0][i]; in tvp5150_g_sliced_fmt()
/linux-6.1.9/drivers/media/pci/ivtv/
Divtv-ioctl.c85 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in ivtv_expand_service_set()
96 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); in check_service_set()
108 set |= fmt->service_lines[f][l]; in ivtv_get_service_set()
319 memset(vbifmt->service_lines, 0, sizeof(vbifmt->service_lines)); in ivtv_g_fmt_sliced_vbi_out()
321 vbifmt->service_lines[0][21] = V4L2_SLICED_CAPTION_525; in ivtv_g_fmt_sliced_vbi_out()
322 vbifmt->service_lines[1][21] = V4L2_SLICED_CAPTION_525; in ivtv_g_fmt_sliced_vbi_out()
324 vbifmt->service_lines[0][23] = V4L2_SLICED_WSS_625; in ivtv_g_fmt_sliced_vbi_out()
325 vbifmt->service_lines[0][16] = V4L2_SLICED_VPS; in ivtv_g_fmt_sliced_vbi_out()
1225 cap->service_lines[f][l] = set; in ivtv_g_sliced_vbi_cap()
1232 cap->service_lines[0][21] = V4L2_SLICED_CAPTION_525; in ivtv_g_sliced_vbi_cap()
[all …]
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110_v4l.c537 cap->service_lines[0][23] = V4L2_SLICED_WSS_625; in vidioc_g_sliced_vbi_cap()
554 f->fmt.sliced.service_lines[0][23] = V4L2_SLICED_WSS_625; in vidioc_g_fmt_sliced_vbi_out()
570 f->fmt.sliced.service_lines[0][23] != V4L2_SLICED_WSS_625) { in vidioc_s_fmt_sliced_vbi_out()
580 f->fmt.sliced.service_lines[0][23] = V4L2_SLICED_WSS_625; in vidioc_s_fmt_sliced_vbi_out()
/linux-6.1.9/include/uapi/linux/
Dvideodev2.h2219 __u16 service_lines[2][24]; member
2243 __u16 service_lines[2][24]; member
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-ioctl.c343 sliced->service_lines[0][i], in v4l_print_format()
344 sliced->service_lines[1][i]); in v4l_print_format()
838 p->service_lines[0][i], in v4l_print_sliced_vbi_cap()
839 p->service_lines[1][i]); in v4l_print_sliced_vbi_cap()
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1965 fmt.fmt.sliced.service_lines[0][21] = V4L2_SLICED_CAPTION_525; in pvr2_hdw_cx25840_vbi_hack()
1966 fmt.fmt.sliced.service_lines[1][21] = V4L2_SLICED_CAPTION_525; in pvr2_hdw_cx25840_vbi_hack()