Lines Matching refs:req_buffers
1908 v4l2_requestbuffers req_buffers{}; in v4l2StreamOffLocked() local
1909 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() local
2048 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()
2057 if (req_buffers.count < v4lBufferCount) { in configureV4l2StreamLocked()
2059 __FUNCTION__, v4lBufferCount, req_buffers.count); in configureV4l2StreamLocked()
2065 mV4L2BufferCount = req_buffers.count; in configureV4l2StreamLocked()
2066 for (uint32_t i = 0; i < req_buffers.count; i++) { in configureV4l2StreamLocked()