Home
last modified time | relevance | path

Searched refs:mBufferInfo (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/evs/sampleDriver/
DVideoCapture.cpp170 memset(&mBufferInfo, 0, sizeof(mBufferInfo)); in startStream()
171 mBufferInfo.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in startStream()
172 mBufferInfo.memory = V4L2_MEMORY_MMAP; in startStream()
173 mBufferInfo.index = 0; in startStream()
174 if (ioctl(mDeviceFd, VIDIOC_QUERYBUF, &mBufferInfo) < 0) { in startStream()
180 ALOGI(" offset: %d", mBufferInfo.m.offset); in startStream()
181 ALOGI(" length: %d", mBufferInfo.length); in startStream()
186 mBufferInfo.length, in startStream()
190 mBufferInfo.m.offset in startStream()
196 memset(mPixelBuffer, 0, mBufferInfo.length); in startStream()
[all …]
DVideoCapture.h57 v4l2_buffer mBufferInfo = {}; variable