Searched refs:video_fd (Results 1 – 1 of 1) sorted by relevance
59 int video_fd = -1; in CheckIsV4L2Device() local66 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK); in CheckIsV4L2Device()67 if ((video_fd >= 0) || (errno == EBUSY)) { in CheckIsV4L2Device()72 (::ioctl(video_fd, VIDIOC_QUERYCAP, &video_caps) >= 0 && in CheckIsV4L2Device()86 if (video_fd >= 0) in CheckIsV4L2Device()87 ::close(video_fd); in CheckIsV4L2Device()