Searched refs:v2cap (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/v4l_id/
H A Dv4l_id.c39 struct v4l2_capability v2cap; local
66 if (ioctl(fd, VIDIOC_QUERYCAP, &v2cap) == 0) {
68 printf("ID_V4L_PRODUCT=%s\n", v2cap.card);
70 if ((v2cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) > 0)
72 if ((v2cap.capabilities & V4L2_CAP_VIDEO_OUTPUT) > 0)
74 if ((v2cap.capabilities & V4L2_CAP_VIDEO_OVERLAY) > 0)
76 if ((v2cap.capabilities & V4L2_CAP_AUDIO) > 0)
78 if ((v2cap.capabilities & V4L2_CAP_TUNER) > 0)
80 if ((v2cap.capabilities & V4L2_CAP_RADIO) > 0)

Completed in 17 milliseconds