Lines Matching refs:mBufferInfo
168 memset(&mBufferInfo, 0, sizeof(mBufferInfo)); in startStream()
169 mBufferInfo.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in startStream()
170 mBufferInfo.memory = V4L2_MEMORY_MMAP; in startStream()
171 mBufferInfo.index = 0; in startStream()
172 if (ioctl(mDeviceFd, VIDIOC_QUERYBUF, &mBufferInfo) < 0) { in startStream()
178 LOG(INFO) << " offset: " << mBufferInfo.m.offset; in startStream()
179 LOG(INFO) << " length: " << mBufferInfo.length; in startStream()
180 LOG(INFO) << " flags : " << std::hex << mBufferInfo.flags; in startStream()
185 mBufferInfo.length, in startStream()
189 mBufferInfo.m.offset in startStream()
195 memset(mPixelBuffer, 0, mBufferInfo.length); in startStream()
199 if (ioctl(mDeviceFd, VIDIOC_QBUF, &mBufferInfo) < 0) { in startStream()
205 int type = mBufferInfo.type; in startStream()
239 int type = mBufferInfo.type; in stopStream()
248 munmap(mPixelBuffer, mBufferInfo.length); in stopStream()
272 if (ioctl(mDeviceFd, VIDIOC_QBUF, &mBufferInfo) < 0) { in returnFrame()
286 if (ioctl(mDeviceFd, VIDIOC_DQBUF, &mBufferInfo) < 0) { in collectFrames()
295 mCallback(this, &mBufferInfo, mPixelBuffer); in collectFrames()