Lines Matching refs:that

8 After all, the only part that a driver developer is interested in is:
18 All the rest is something that can be done centrally.
24 Note that the control framework relies on the presence of a struct v4l2_device
36 v4l2_ctrl_handler is the object that keeps track of controls. It maintains a
37 list of v4l2_ctrl objects that it owns and another list of references to
110 Note: this is a temporary solution only. Once all V4L2 drivers that depend
196 controls. There is no min argument since that is always 0 for menu controls,
202 v4l2_ctrl_new_std_menu in that it doesn't have the mask argument and takes
203 as the last argument an array of signed 64-bit integers that form an exact
209 control is the test pattern control for capture/display/sensors devices that
213 Note that if something fails, the function will return NULL or an error and
222 a bit faster that way.
230 that you do this as this ensures that both the internal data structures and
280 contains controls that already exist in the V4L2 driver, then those will be
283 What happens here is that v4l2_device_register_subdev() calls
301 The v4l2_ctrl struct contains these fields that can be used to access both
331 Whenever a new value is set that new value is automatically cached. This means
332 that most drivers do not need to implement the g_volatile_ctrl() op. The
333 exception is for controls that return a volatile register such as a signal
334 strength read-out that changes continuously. In that case you will need to
346 Note that you use the 'new value' union as well in g_volatile_ctrl. In general
347 controls that need to implement g_volatile_ctrl are read-only controls. If they
376 do. Don't use these inside the control ops g_volatile/s/try_ctrl, though, that
397 For menu controls menu_skip_mask is used. What it does is that it allows you
400 present. Note that VIDIOC_QUERYCTRL always returns a step value of 1 for
407 it to 0 means that all menu items are supported.
449 controls are active. Note that the framework does not check for this flag.
453 The other flag is the 'grabbed' flag. A grabbed control means that you cannot
455 bitrate controls that cannot be changed while capturing is in progress.
468 In that case you need to 'cluster' them:
534 Note that controls in a cluster may be NULL. For example, if for some
535 reason mute was never added (because the hardware doesn't support that
536 particular feature), then mute will be NULL. So in that case we have a
538 only restriction is that the first control of the cluster must always be
539 present, since that is the 'master' control of the cluster. The master
540 control is the one that identifies the cluster and that provides the
541 pointer to the v4l2_ctrl_ops struct that is used for that cluster.
559 A common type of control cluster is one that handles 'auto-foo/foo'-type
562 that determines whether another control is handled automatically by the hardware,
567 g_volatile_ctrl operation should return the value that the hardware's automatic
577 changing that control affects the control flags of the manual controls.
589 use that if the hardware does not give you the option to read back to values as
595 Using this function will ensure that you don't need to handle all the complex
612 Usually the V4L2 driver has just one control handler that is global for
614 different video nodes. You can do that by manually setting the ctrl_handler
619 control handler. You do that by simply setting the ctrl_handler field in
641 The last argument to v4l2_ctrl_add_handler() is a filter function that allows
659 control. The rule is to have one control for each hardware 'knob' that you
669 But sometimes you need to find a control from another handler that you do
672 You can do that by calling v4l2_ctrl_find:
703 have low-level controls that make sense for some advanced embedded system, but
704 not when it is used in consumer-level hardware. In that case you want to keep
747 with a pointer to the control and the priv pointer that was passed with
748 v4l2_ctrl_notify. Note that the control's handler lock is held when the