ioctl VIDIOC_ENUMINPUT
&manvol;
VIDIOC_ENUMINPUT
Enumerate video inputs
int ioctl
int fd
int request
struct v4l2_input
*argp
Arguments
fd
&fd;
request
VIDIOC_ENUMINPUT
argp
Description
To query the attributes of a video input applications
initialize the index field of &v4l2-input;
and call the VIDIOC_ENUMINPUT ioctl with a
pointer to this structure. Drivers fill the rest of the structure or
return an &EINVAL; when the index is out of bounds. To enumerate all
inputs applications shall begin at index zero, incrementing by one
until the driver returns EINVAL.
&return-value;
EINVAL
The &v4l2-input; index is
out of bounds.