Lines Matching refs:m_fd
170 …: m_fd(fd), m_has_capture(false), m_has_output(false), m_has_m2m(false), m_capture_streamer(0), m_… in VideoDevice()
213 ::close(m_fd); in ~VideoDevice()
222 m_capture_streamer = new VideoStreamer(m_fd, type); in get_capture_streamer()
234 m_output_streamer = new VideoStreamer(m_fd, type); in get_output_streamer()
247 int r = ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms); in get_discrete_frame_sizes()
252 while (ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms) == 0) { in get_discrete_frame_sizes()
265 int r = ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms); in get_frame_sizes()
325 : m_fd(fd), m_type(type) in VideoStreamer()
340 while (ioctl(m_fd, VIDIOC_ENUMINPUT, &input) == 0) { in get_ports()
353 while (ioctl(m_fd, VIDIOC_ENUMOUTPUT, &output) == 0) { in get_ports()
387 int r = ioctl(m_fd, req, &index); in set_port()
409 return v4l2_get_formats(m_fd, get_buf_type(m_type)); in get_formats()
414 v4l2_set_format(m_fd, fmt, width, height, get_buf_type(m_type)); in set_format()
419 v4l2_request_bufs(m_fd, queue_size, get_buf_type(m_type)); in set_queue_size()
436 v4l2_queue_dmabuf(m_fd, idx, fb, get_buf_type(m_type)); in queue()
441 uint32_t idx = v4l2_dequeue(m_fd, get_buf_type(m_type)); in dequeue()
452 int r = ioctl(m_fd, VIDIOC_STREAMON, &buf_type); in stream_on()
459 int r = ioctl(m_fd, VIDIOC_STREAMOFF, &buf_type); in stream_off()