Lines Matching +full:capture +full:- +full:only

1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_FMT - VIDIOC_S_FMT - VIDIOC_TRY_FMT - Get or set the data format, try a format
47 type. For example video capture devices use
51 the respective member of the ``fmt`` union. In case of video capture
62 first, and to modify only those parameters not suitable for the
94 .. flat-table:: struct v4l2_format
95 :header-rows: 0
96 :stub-columns: 0
98 * - __u32
99 - ``type``
100 - Type of the data stream, see :c:type:`v4l2_buf_type`.
101 * - union {
102 - ``fmt``
103 * - struct :c:type:`v4l2_pix_format`
104 - ``pix``
105 - Definition of an image format, see :ref:`pixfmt`, used by video
106 capture and output devices.
107 * - struct :c:type:`v4l2_pix_format_mplane`
108 - ``pix_mp``
109 - Definition of an image format, see :ref:`pixfmt`, used by video
110 capture and output devices that support the
111 :ref:`multi-planar version of the API <planar-apis>`.
112 * - struct :c:type:`v4l2_window`
113 - ``win``
114 - Definition of an overlaid image, see :ref:`overlay`, used by
116 * - struct :c:type:`v4l2_vbi_format`
117 - ``vbi``
118 - Raw VBI capture or output parameters. This is discussed in more
119 detail in :ref:`raw-vbi`. Used by raw VBI capture and output
121 * - struct :c:type:`v4l2_sliced_vbi_format`
122 - ``sliced``
123 - Sliced VBI capture or output parameters. See :ref:`sliced` for
124 details. Used by sliced VBI capture and output devices.
125 * - struct :c:type:`v4l2_sdr_format`
126 - ``sdr``
127 - Definition of a data format, see :ref:`pixfmt`, used by SDR
128 capture and output devices.
129 * - struct :c:type:`v4l2_meta_format`
130 - ``meta``
131 - Definition of a metadata format, see :ref:`meta-formats`, used by
132 metadata capture devices.
133 * - __u8
134 - ``raw_data``\ [200]
135 - Place holder for future extensions.
136 * - }
137 -
142 On success 0 is returned, on error -1 and the ``errno`` variable is set
144 :ref:`Generic Error Codes <gen-errors>` chapter.
154 <VIDIOC_G_FMT>` only.