Lines Matching +full:sub +full:- +full:frame
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on …
38 These ioctls are used to get and set the frame interval at specific
39 subdev pads in the image pipeline. The frame interval only makes sense
40 for sub-devices that can control the frame period on their own. This
41 includes, for instance, image sensors and TV tuners. Sub-devices that
42 don't support frame intervals must not implement these ioctls.
44 To retrieve the current frame interval applications set the ``pad``
51 To change the current frame interval applications set both the ``pad``
58 contains the current frame interval as would be returned by a
62 registered in read-only mode is not allowed. An error is returned and the errno
63 variable is set to ``-EPERM``.
70 Changing the frame interval shall never change the format. Changing the
71 format, on the other hand, may change the frame interval.
73 Sub-devices that support the frame interval ioctls should implement them
75 the same sub-device is not defined.
81 .. flat-table:: struct v4l2_subdev_frame_interval
82 :header-rows: 0
83 :stub-columns: 0
86 * - __u32
87 - ``pad``
88 - Pad number as reported by the media controller API.
89 * - struct :c:type:`v4l2_fract`
90 - ``interval``
91 - Period, in seconds, between consecutive video frames.
92 * - __u32
93 - ``stream``
94 - Stream identifier.
95 * - __u32
96 - ``reserved``\ [8]
97 - Reserved for future extensions. Applications and drivers must set
103 On success 0 is returned, on error -1 and the ``errno`` variable is set
105 :ref:`Generic Error Codes <gen-errors>` chapter.
108 The frame interval can't be changed because the pad is currently
117 ``pad`` references a non-existing pad, or the pad doesn't support
118 frame intervals.
121 The ``VIDIOC_SUBDEV_S_FRAME_INTERVAL`` ioctl has been called on a read-only