SYNOPSIS
- struct v4l2_ctrl * v4l2_ctrl_new_custom(struct v4l2_ctrl_handler * hdl, const struct v4l2_ctrl_config * cfg, void * priv);
ARGUMENTS
hdl
-
- The control handler.
cfg
- The control's configuration data.
priv
- The control's driver-specific private data.
DESCRIPTION
If the v4l2_ctrl struct could not be allocated then NULL is returned and hdl->error is set to the error code (if it wasn't set already).
COPYRIGHT