Searched refs:requestBuffers (Results 1 – 1 of 1) sorted by relevance
605 struct v4l2_requestbuffers requestBuffers {}; in allocateAndMapBuffers() struct607 requestBuffers.count = NUM_BUFFERS_ALLOC; in allocateAndMapBuffers()608 requestBuffers.memory = V4L2_MEMORY_MMAP; in allocateAndMapBuffers()609 requestBuffers.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in allocateAndMapBuffers()612 if (ioctl(mUVCFd.get(), VIDIOC_REQBUFS, &requestBuffers) < 0) { in allocateAndMapBuffers()618 if (requestBuffers.count != NUM_BUFFERS_ALLOC) { in allocateAndMapBuffers()620 requestBuffers.count, NUM_BUFFERS_ALLOC); in allocateAndMapBuffers()