Searched refs:bufrequest (Results 1 – 1 of 1) sorted by relevance
158 v4l2_requestbuffers bufrequest; in startStream() local159 bufrequest.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in startStream()160 bufrequest.memory = V4L2_MEMORY_MMAP; in startStream()161 bufrequest.count = 1; in startStream()162 if (ioctl(mDeviceFd, VIDIOC_REQBUFS, &bufrequest) < 0) { in startStream()251 v4l2_requestbuffers bufrequest; in stopStream() local252 bufrequest.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in stopStream()253 bufrequest.memory = V4L2_MEMORY_MMAP; in stopStream()254 bufrequest.count = 0; in stopStream()255 ioctl(mDeviceFd, VIDIOC_REQBUFS, &bufrequest); in stopStream()