Searched refs:m_fd (Results 1 – 9 of 9) sorted by relevance
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()[all …]
38 int fd() const { return m_fd; } in fd()42 int m_fd; /* camera file descriptor */ member in CameraPipeline75 r = buffer_export(m_fd, V4L2_BUF_TYPE_VIDEO_CAPTURE, i, &dmafd); in GetExtFrameBuffer()103 : m_fd(cam_fd), m_crtc(crtc), m_buffer_provider(buffer_provider), m_prev_fb_index(-1) in CameraPipeline()112 while (ioctl(m_fd, VIDIOC_ENUM_FRAMESIZES, &v4lfrms) == 0) { in CameraPipeline()143 r = ioctl(m_fd, VIDIOC_G_FMT, &v4lfmt); in CameraPipeline()150 r = ioctl(m_fd, VIDIOC_S_FMT, &v4lfmt); in CameraPipeline()164 r = ioctl(m_fd, VIDIOC_REQBUFS, &v4lreqbuf); in CameraPipeline()184 r = ioctl(m_fd, VIDIOC_QBUF, &v4lbuf); in CameraPipeline()220 ::close(m_fd); in ~CameraPipeline()[all …]
78 m_fd = open(filename, O_RDWR); in Open()79 if (m_fd < 0) in Open()85 rc = ioctl(m_fd, HIDIOCGRDESCSIZE, &desc_size); in Open()90 rc = ioctl(m_fd, HIDIOCGRDESC, &m_rptDesc); in Open()94 rc = ioctl(m_fd, HIDIOCGRAWINFO, &m_info); in Open()263 count = write(m_fd, m_outputReport + bytesWritten, in Read()316 count = write(m_fd, m_outputReport, m_outputReportSize); in Write()337 rc = ioctl(m_fd, HIDIOCSFEATURE(2), buf); in SetMode()353 close(m_fd); in Close()354 m_fd = -1; in Close()[all …]
52 int m_fd;
31 m_fd = fd; in Card()39 r = drmSetClientCap(m_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); in Card()47 r = drmSetClientCap(m_fd, DRM_CLIENT_CAP_ATOMIC, 1); in Card()61 auto res = drmModeGetResources(m_fd); in Card()88 auto planeRes = drmModeGetPlaneResources(m_fd); in Card()101 auto props = drmModeObjectGetProperties(m_fd, ob->id(), ob->object_type()); in Card()133 close(m_fd); in ~Card()
30 int fd() const { return m_fd; } in fd()39 int m_fd;80 int fd() const { return m_fd; } in fd()83 int m_fd;
72 : m_fd (-1) in NativeHandle()80 : m_fd (-1) in NativeHandle()85 if (other.m_fd >= 0) in NativeHandle()90 m_fd = dup(other.m_fd); in NativeHandle()91 TCU_CHECK(m_fd >= 0); in NativeHandle()105 DE_ASSERT(other.m_fd == -1); in NativeHandle()129 DE_ASSERT(other.m_fd == -1); in NativeHandle()139 : m_fd (fd) in NativeHandle()147 : m_fd (-1) in NativeHandle()155 : m_fd (-1) in NativeHandle()[all …]
64 int m_fd; member in vkt::ExternalMemoryUtil::NativeHandle
23 int fd() const { return m_fd; } in fd()66 int m_fd; variable