Lines Matching refs:m_v4l2SrcBuffer
27 memset(&m_v4l2SrcBuffer, 0, sizeof(m_v4l2SrcBuffer)); in CHWJpegV4L2Compressor()
42 m_v4l2SrcBuffer.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in CHWJpegV4L2Compressor()
45 m_v4l2SrcBuffer.m.planes = m_v4l2SrcPlanes; in CHWJpegV4L2Compressor()
207 m_v4l2SrcBuffer.memory = V4L2_MEMORY_USERPTR; in SetImageBuffer()
234 m_v4l2SrcBuffer.memory = V4L2_MEMORY_DMABUF; in SetImageBuffer()
383 m_v4l2SrcBuffer.length = m_v4l2Format.fmt.pix_mp.num_planes; in Compress()
393 m_v4l2SrcBuffer.length *= 2; in Compress()
398 m_v4l2SrcBuffer.flags |= V4L2_BUF_FLAG_NO_CACHE_CLEAN; in Compress()
497 reqbufs.memory = m_v4l2SrcBuffer.memory; in ReqBufs()
498 reqbufs.type = m_v4l2SrcBuffer.type; in ReqBufs()
511 reqbufs.memory = m_v4l2SrcBuffer.memory; in ReqBufs()
512 reqbufs.type = m_v4l2SrcBuffer.type; in ReqBufs()
536 if (ioctl(GetDeviceFD(), VIDIOC_STREAMON, &m_v4l2SrcBuffer.type) < 0) { in StreamOn()
543 ioctl(GetDeviceFD(), VIDIOC_STREAMOFF, &m_v4l2SrcBuffer.type); in StreamOn()
558 if (ioctl(GetDeviceFD(), VIDIOC_STREAMOFF, &m_v4l2SrcBuffer.type) < 0) in StreamOff()
576 if (ioctl(GetDeviceFD(), VIDIOC_QBUF, &m_v4l2SrcBuffer) < 0) { in QBuf()
608 buffer_src.type = m_v4l2SrcBuffer.type; in DQBuf()
609 buffer_src.memory = m_v4l2SrcBuffer.memory; in DQBuf()
610 buffer_src.length = m_v4l2SrcBuffer.length; in DQBuf()
657 if (m_v4l2SrcBuffer.memory != V4L2_MEMORY_DMABUF) { in GetImageBuffers()
669 buffers[i] = m_v4l2SrcBuffer.m.planes[i].m.fd; in GetImageBuffers()
670 len_buffers[i] = m_v4l2SrcBuffer.m.planes[i].length; in GetImageBuffers()
679 if (m_v4l2SrcBuffer.memory != V4L2_MEMORY_USERPTR) { in GetImageBuffers()
691 buffers[i] = reinterpret_cast<char *>(m_v4l2SrcBuffer.m.planes[i].m.userptr); in GetImageBuffers()
692 len_buffers[i] = m_v4l2SrcBuffer.m.planes[i].length; in GetImageBuffers()