Lines Matching refs:m_v4l2DstBuffer
28 memset(&m_v4l2DstBuffer, 0, sizeof(m_v4l2DstBuffer)); in CHWJpegV4L2Compressor()
43 m_v4l2DstBuffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in CHWJpegV4L2Compressor()
46 m_v4l2DstBuffer.m.planes = m_v4l2DstPlanes; in CHWJpegV4L2Compressor()
304 m_v4l2DstBuffer.memory = V4L2_MEMORY_USERPTR; in SetJpegBuffer()
314 m_v4l2DstBuffer.memory = V4L2_MEMORY_DMABUF; in SetJpegBuffer()
384 m_v4l2DstBuffer.length = 1; in Compress()
394 m_v4l2DstBuffer.length = 2; in Compress()
400 m_v4l2DstBuffer.flags |= V4L2_BUF_FLAG_NO_CACHE_CLEAN; in Compress()
506 reqbufs.memory = m_v4l2DstBuffer.memory; in ReqBufs()
507 reqbufs.type = m_v4l2DstBuffer.type; in ReqBufs()
541 if (ioctl(GetDeviceFD(), VIDIOC_STREAMON, &m_v4l2DstBuffer.type) < 0) { in StreamOn()
561 if (ioctl(GetDeviceFD(), VIDIOC_STREAMOFF, &m_v4l2DstBuffer.type) < 0) in StreamOff()
582 if (ioctl(GetDeviceFD(), VIDIOC_QBUF, &m_v4l2DstBuffer) < 0) { in QBuf()
613 buffer_dst.type = m_v4l2DstBuffer.type; in DQBuf()
614 buffer_dst.memory = m_v4l2DstBuffer.memory; in DQBuf()
615 buffer_dst.length = m_v4l2DstBuffer.length; in DQBuf()
700 if (m_v4l2DstBuffer.memory != V4L2_MEMORY_DMABUF) { in GetJpegBuffer()
705 *buffer = m_v4l2DstBuffer.m.planes[0].m.fd; in GetJpegBuffer()
706 *len_buffer = m_v4l2DstBuffer.m.planes[0].length; in GetJpegBuffer()
713 if (m_v4l2DstBuffer.memory != V4L2_MEMORY_USERPTR) { in GetJpegBuffer()
718 *buffer = reinterpret_cast<char *>(m_v4l2DstBuffer.m.planes[0].m.userptr); in GetJpegBuffer()
719 *len_buffer = m_v4l2DstBuffer.m.planes[0].length; in GetJpegBuffer()
737 memset(&m_v4l2DstBuffer, 0, sizeof(m_v4l2DstBuffer)); in CHWJpegV4L2Decompressor()
738 m_v4l2DstBuffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in CHWJpegV4L2Decompressor()
758 if (m_v4l2DstBuffer.length < m_v4l2Format.fmt.pix.sizeimage) { in PrepareCapture()
760 m_v4l2DstBuffer.length, m_v4l2Format.fmt.pix.sizeimage); in PrepareCapture()
771 reqbufs.memory = m_v4l2DstBuffer.memory; in PrepareCapture()
800 reqbufs.memory = m_v4l2DstBuffer.memory; in CancelCapture()
839 m_v4l2DstBuffer.m.userptr = reinterpret_cast<unsigned long>(buffer); in SetImageBuffer()
840 m_v4l2DstBuffer.bytesused = m_v4l2Format.fmt.pix.sizeimage; in SetImageBuffer()
841 m_v4l2DstBuffer.length = len_buffer; in SetImageBuffer()
842 m_v4l2DstBuffer.memory = V4L2_MEMORY_USERPTR; in SetImageBuffer()
849 m_v4l2DstBuffer.m.fd = buffer; in SetImageBuffer()
850 m_v4l2DstBuffer.bytesused = m_v4l2Format.fmt.pix.sizeimage; in SetImageBuffer()
851 m_v4l2DstBuffer.length = len_buffer; in SetImageBuffer()
852 m_v4l2DstBuffer.memory = V4L2_MEMORY_DMABUF; in SetImageBuffer()
929 if (ioctl(GetDeviceFD(), VIDIOC_QBUF, &m_v4l2DstBuffer) < 0) { in QBufAndWait()
942 buf.type = m_v4l2DstBuffer.type; in QBufAndWait()
943 buf.memory = m_v4l2DstBuffer.memory; in QBufAndWait()
962 if (m_v4l2DstBuffer.length == 0) { in Decompress()