Searched refs:req_buffers (Results 1 – 2 of 2) sorted by relevance
559 v4l2_requestbuffers req_buffers; in RequestBuffers() local560 memset(&req_buffers, 0, sizeof(req_buffers)); in RequestBuffers()561 req_buffers.type = format_->type(); in RequestBuffers()562 req_buffers.memory = V4L2_MEMORY_USERPTR; in RequestBuffers()563 req_buffers.count = num_requested; in RequestBuffers()565 int res = IoctlLocked(VIDIOC_REQBUFS, &req_buffers); in RequestBuffers()573 if (num_requested > 0 && req_buffers.count < 1) { in RequestBuffers()577 buffers_.resize(req_buffers.count); in RequestBuffers()
1908 v4l2_requestbuffers req_buffers{}; in v4l2StreamOffLocked() local1909 req_buffers.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in v4l2StreamOffLocked()1910 req_buffers.memory = V4L2_MEMORY_MMAP; in v4l2StreamOffLocked()1911 req_buffers.count = 0; in v4l2StreamOffLocked()1912 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_REQBUFS, &req_buffers)) < 0) { in v4l2StreamOffLocked()2047 v4l2_requestbuffers req_buffers{}; in configureV4l2StreamLocked() local2048 req_buffers.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in configureV4l2StreamLocked()2049 req_buffers.memory = V4L2_MEMORY_MMAP; in configureV4l2StreamLocked()2050 req_buffers.count = v4lBufferCount; in configureV4l2StreamLocked()2051 if (TEMP_FAILURE_RETRY(ioctl(mV4l2Fd.get(), VIDIOC_REQBUFS, &req_buffers)) < 0) { in configureV4l2StreamLocked()[all …]