Searched refs:reqbufs (Results 1 – 3 of 3) sorted by relevance
/hardware/google/graphics/common/libhwjpeg/ |
D | hwjpeg-v4l2.cpp | 493 v4l2_requestbuffers reqbufs; in ReqBufs() local 495 memset(&reqbufs, 0, sizeof(reqbufs)); in ReqBufs() 496 reqbufs.count = count; in ReqBufs() 497 reqbufs.memory = m_v4l2SrcBuffer.memory; in ReqBufs() 498 reqbufs.type = m_v4l2SrcBuffer.type; in ReqBufs() 499 if (ioctl(GetDeviceFD(), VIDIOC_REQBUFS, &reqbufs) < 0) { in ReqBufs() 504 memset(&reqbufs, 0, sizeof(reqbufs)); in ReqBufs() 505 reqbufs.count = count; in ReqBufs() 506 reqbufs.memory = m_v4l2DstBuffer.memory; in ReqBufs() 507 reqbufs.type = m_v4l2DstBuffer.type; in ReqBufs() [all …]
|
D | LibScalerForJpeg.cpp | 116 v4l2_requestbuffers reqbufs{}; in requestBuffers() local 118 reqbufs.type = buftype; in requestBuffers() 119 reqbufs.memory = memtype; in requestBuffers() 120 reqbufs.count = count; in requestBuffers() 122 if (ioctl(mFd, VIDIOC_REQBUFS, &reqbufs) < 0) { in requestBuffers()
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-v4l2.cpp | 260 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 …]
|