• Home
  • Raw
  • Download

Lines Matching refs:m_fd

246 	: m_fd(fd), m_has_capture(false), m_has_output(false), m_has_m2m(false)  in VideoDevice()
290 ::close(m_fd); in ~VideoDevice()
299 m_capture_streamer = std::unique_ptr<VideoStreamer>(new VideoStreamer(m_fd, type)); in get_capture_streamer()
311 m_output_streamer = std::unique_ptr<VideoStreamer>(new VideoStreamer(m_fd, type)); in get_output_streamer()
324 int r = ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms); in get_discrete_frame_sizes()
329 while (ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms) == 0) { in get_discrete_frame_sizes()
342 int r = ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms); in get_frame_sizes()
407 : m_fd(fd), m_type(type) in VideoStreamer()
421 while (ioctl(m_fd, VIDIOC_ENUMINPUT, &input) == 0) { in get_ports()
434 while (ioctl(m_fd, VIDIOC_ENUMOUTPUT, &output) == 0) { in get_ports()
468 int r = ioctl(m_fd, req, &index); in set_port()
490 return v4l2_get_formats(m_fd, get_buf_type(m_type)); in get_formats()
495 v4l2_set_format(m_fd, fmt, width, height, get_buf_type(m_type)); in set_format()
500 v4l2_get_selection(m_fd, left, top, width, height, get_buf_type(m_type)); in get_selection()
505 v4l2_set_selection(m_fd, left, top, width, height, get_buf_type(m_type)); in set_selection()
510 v4l2_request_bufs(m_fd, queue_size, get_buf_type(m_type)); in set_queue_size()
527 v4l2_queue_dmabuf(m_fd, idx, fb, get_buf_type(m_type)); in queue()
532 uint32_t idx = v4l2_dequeue(m_fd, get_buf_type(m_type)); in dequeue()
543 int r = ioctl(m_fd, VIDIOC_STREAMON, &buf_type); in stream_on()
550 int r = ioctl(m_fd, VIDIOC_STREAMOFF, &buf_type); in stream_off()