v4l2_ctrl_modify_range — Update the range of a control.
|struct v4l2_ctrl * ctrl,|
The control to update.
The control's minimum value.
The control's maximum value.
The control's step value
The control's default value.
Update the range of a control on the fly. This works for control types
INTEGER, BOOLEAN, MENU, INTEGER MENU and BITMASK. For menu controls the
step value is interpreted as a menu_skip_mask.
An error is returned if one of the range arguments is invalid for this control type.
This function assumes that the control handler is not locked and will take the lock itself.