• Home
  • Raw
  • Download

Lines Matching full:set

13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co…
42 These ioctls allow the caller to get or set multiple controls
53 To get the current value of a set of controls applications initialize
56 :ref:`VIDIOC_G_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. String controls controls must also set the
58 (``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set) must set the ``ptr`` field.
62 set ``size`` to a valid value and return an ``ENOSPC`` error code. You
70 N-dimensional arrays are set and retrieved row-by-row. You cannot set a
71 partial array, all elements have to be set or retrieved. The total size
75 To change the value of a set of controls applications initialize the
78 the :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` ioctl. The controls will only be set if *all*
81 To check if a set of controls have correct values applications
92 appropriate. In the first case the new value is set in struct
97 If ``request_fd`` is set to a not-yet-queued :ref:`request <media-request-api>`
98 file descriptor and ``which`` is set to ``V4L2_CTRL_WHICH_REQUEST_VAL``,
109 If ``request_fd`` is specified and ``which`` is set to
116 The driver will only set/get these controls if all control values are
118 were set/get. Only low-level errors (e. g. a failed i2c command) can
134 - Identifies the control, set by the application.
138 normally 0, but for pointer controls this should be set to the
141 less than is required to store the payload result, then it is set
153 - Reserved for future extensions. Drivers and applications must set
161 not set.
166 not set.
200 ``V4L2_CTRL_FLAG_HAS_PAYLOAD`` is set for this control.
228 - Which value of the control to get/set/try.
232 these controls have to be retrieved from a request or tried/set for
240 get the default value of the control, you cannot set or try it.
258 - Set by the driver in case of an error. If the error is associated
259 with a particular control, then ``error_idx`` is set to the index
262 ``error_idx`` is set to ``count``. The value is undefined if the
282 The, in hindsight quite poor, solution for that is to set
293 ``error_idx`` will just be set to the control that failed the
295 :ref:`VIDIOC_S_EXT_CTRLS <VIDIOC_G_EXT_CTRLS>` fails with ``error_idx`` set to ``count``,
302 valid if ``which`` is set to ``V4L2_CTRL_WHICH_REQUEST_VAL``.
310 Drivers and applications must set the array to zero.
329 in :ref:`control`. All controls that can be set using the
377 On success 0 is returned, on error -1 and the ``errno`` variable is set
387 driver), or the ``which`` field was set to ``V4L2_CTRL_WHICH_REQUEST_VAL``
401 belongs to, or (if the ``which`` field was set to
407 field ``size`` is set to a value that is enough to store the payload
411 Attempt to try or set a read-only control, or to get a write-only
415 Or the ``which`` field was set to ``V4L2_CTRL_WHICH_REQUEST_VAL`` but the