v4l2_ctrl_new_int_menu — Create a new standard V4L2 integer menu control.
struct v4l2_ctrl * v4l2_ctrl_new_int_menu ( | struct v4l2_ctrl_handler * hdl, |
| const struct v4l2_ctrl_ops * ops, | |
| u32 id, | |
| u8 max, | |
| u8 def, | |
const s64 * qmenu_int); |
hdlThe control handler.
opsThe control ops.
idThe control ID.
maxThe control's maximum value.
defThe control's default value.
qmenu_intThe control's menu entries.
Same as v4l2_ctrl_new_std_menu, but mask is set to 0 and it additionaly
takes as an argument an array of integers determining the menu items.
If id refers to a non-integer-menu control, then this function will return NULL.