• Home
  • Raw
  • Download

Lines Matching refs:m_v4l2DstBuffer

29     memset(&m_v4l2DstBuffer, 0, sizeof(m_v4l2DstBuffer));  in CHWJpegV4L2Compressor()
44 m_v4l2DstBuffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in CHWJpegV4L2Compressor()
47 m_v4l2DstBuffer.m.planes = m_v4l2DstPlanes; in CHWJpegV4L2Compressor()
356 m_v4l2DstBuffer.memory = V4L2_MEMORY_USERPTR; in SetJpegBuffer()
365 m_v4l2DstBuffer.memory = V4L2_MEMORY_DMABUF; in SetJpegBuffer()
428 m_v4l2DstBuffer.length = 1; in Compress()
439 m_v4l2DstBuffer.length = 2; in Compress()
445 m_v4l2DstBuffer.flags |= V4L2_BUF_FLAG_NO_CACHE_CLEAN; in Compress()
544 reqbufs.memory = m_v4l2DstBuffer.memory; in ReqBufs()
545 reqbufs.type = m_v4l2DstBuffer.type; in ReqBufs()
577 if (ioctl(GetDeviceFD(), VIDIOC_STREAMON, &m_v4l2DstBuffer.type) < 0) { in StreamOn()
595 if (ioctl(GetDeviceFD(), VIDIOC_STREAMOFF, &m_v4l2DstBuffer.type) < 0) in StreamOff()
615 if (ioctl(GetDeviceFD(), VIDIOC_QBUF, &m_v4l2DstBuffer) < 0) { in QBuf()
645 buffer_dst.type = m_v4l2DstBuffer.type; in DQBuf()
646 buffer_dst.memory = m_v4l2DstBuffer.memory; in DQBuf()
647 buffer_dst.length = m_v4l2DstBuffer.length; in DQBuf()
727 if (m_v4l2DstBuffer.memory != V4L2_MEMORY_DMABUF) { in GetJpegBuffer()
732 *buffer = m_v4l2DstBuffer.m.planes[0].m.fd; in GetJpegBuffer()
733 *len_buffer = m_v4l2DstBuffer.m.planes[0].length; in GetJpegBuffer()
739 if (m_v4l2DstBuffer.memory != V4L2_MEMORY_USERPTR) { in GetJpegBuffer()
744 *buffer = reinterpret_cast<char *>(m_v4l2DstBuffer.m.planes[0].m.userptr); in GetJpegBuffer()
745 *len_buffer = m_v4l2DstBuffer.m.planes[0].length; in GetJpegBuffer()
761 memset(&m_v4l2DstBuffer, 0, sizeof(m_v4l2DstBuffer)); in CHWJpegV4L2Decompressor()
762 m_v4l2DstBuffer.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in CHWJpegV4L2Decompressor()
780 if (m_v4l2DstBuffer.length < m_v4l2Format.fmt.pix.sizeimage) { in PrepareCapture()
781 ALOGE("The size of the buffer %u is smaller than required %u", m_v4l2DstBuffer.length, in PrepareCapture()
792 reqbufs.memory = m_v4l2DstBuffer.memory; in PrepareCapture()
819 reqbufs.memory = m_v4l2DstBuffer.memory; in CancelCapture()
854 m_v4l2DstBuffer.m.userptr = reinterpret_cast<unsigned long>(buffer); in SetImageBuffer()
855 m_v4l2DstBuffer.bytesused = m_v4l2Format.fmt.pix.sizeimage; in SetImageBuffer()
856 m_v4l2DstBuffer.length = len_buffer; in SetImageBuffer()
857 m_v4l2DstBuffer.memory = V4L2_MEMORY_USERPTR; in SetImageBuffer()
863 m_v4l2DstBuffer.m.fd = buffer; in SetImageBuffer()
864 m_v4l2DstBuffer.bytesused = m_v4l2Format.fmt.pix.sizeimage; in SetImageBuffer()
865 m_v4l2DstBuffer.length = len_buffer; in SetImageBuffer()
866 m_v4l2DstBuffer.memory = V4L2_MEMORY_DMABUF; in SetImageBuffer()
938 if (ioctl(GetDeviceFD(), VIDIOC_QBUF, &m_v4l2DstBuffer) < 0) { in QBufAndWait()
951 buf.type = m_v4l2DstBuffer.type; in QBufAndWait()
952 buf.memory = m_v4l2DstBuffer.memory; in QBufAndWait()
970 if (m_v4l2DstBuffer.length == 0) { in Decompress()