Home
last modified time | relevance | path

Searched refs:reqbufs (Results 1 – 3 of 3) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-v4l2.cpp531 v4l2_requestbuffers reqbufs; in ReqBufs() local
533 memset(&reqbufs, 0, sizeof(reqbufs)); in ReqBufs()
534 reqbufs.count = count; in ReqBufs()
535 reqbufs.memory = m_v4l2SrcBuffer.memory; in ReqBufs()
536 reqbufs.type = m_v4l2SrcBuffer.type; in ReqBufs()
537 if (ioctl(GetDeviceFD(), VIDIOC_REQBUFS, &reqbufs) < 0) { in ReqBufs()
542 memset(&reqbufs, 0, sizeof(reqbufs)); in ReqBufs()
543 reqbufs.count = count; in ReqBufs()
544 reqbufs.memory = m_v4l2DstBuffer.memory; in ReqBufs()
545 reqbufs.type = m_v4l2DstBuffer.type; in ReqBufs()
[all …]
DLibScalerForJpeg.cpp99 v4l2_requestbuffers reqbufs{}; in requestBuffers() local
101 reqbufs.type = buftype; in requestBuffers()
102 reqbufs.memory = memtype; in requestBuffers()
103 reqbufs.count = count; in requestBuffers()
105 if (ioctl(mFd, VIDIOC_REQBUFS, &reqbufs) < 0) { in requestBuffers()
/hardware/google/graphics/common/libscaler/
Dlibscaler-v4l2.cpp260 v4l2_requestbuffers reqbufs; in ResetDevice() local
261 memset(&reqbufs, 0, sizeof(reqbufs)); in ResetDevice()
262 reqbufs.type = frm.type; in ResetDevice()
263 reqbufs.memory = frm.memory; in ResetDevice()
264 if (ioctl(m_fdScaler, VIDIOC_REQBUFS, &reqbufs) < 0 ) { in ResetDevice()
409 v4l2_requestbuffers reqbufs; in ReqBufs() local
416 memset(&reqbufs, 0, sizeof(reqbufs)); in ReqBufs()
418 reqbufs.type = frm.type; in ReqBufs()
419 reqbufs.memory = frm.memory; in ReqBufs()
420 reqbufs.count = 1; in ReqBufs()
[all …]