Lines Matching refs:pix_mp

39     m_v4l2Format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_RGB24;  in CHWJpegV4L2Compressor()
40 m_v4l2Format.fmt.pix_mp.width = TO_IMAGE_SIZE(16, 0); in CHWJpegV4L2Compressor()
41 m_v4l2Format.fmt.pix_mp.height = TO_IMAGE_SIZE(16, 0); in CHWJpegV4L2Compressor()
153 if ((m_v4l2Format.fmt.pix_mp.pixelformat == v4l2_fmt) && in SetImageFormat()
154 (m_v4l2Format.fmt.pix_mp.width == TO_IMAGE_SIZE(width, width2)) && in SetImageFormat()
155 (m_v4l2Format.fmt.pix_mp.height == TO_IMAGE_SIZE(height, height2))) in SetImageFormat()
158 m_v4l2Format.fmt.pix_mp.pixelformat = v4l2_fmt; in SetImageFormat()
159 m_v4l2Format.fmt.pix_mp.width = TO_IMAGE_SIZE(width, width2); in SetImageFormat()
160 m_v4l2Format.fmt.pix_mp.height = TO_IMAGE_SIZE(height, height2); in SetImageFormat()
170 for (unsigned int i = 0; i < m_v4l2Format.fmt.pix_mp.num_planes; i++) in GetImageBufferSizes()
171 buf_sizes[i] = m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage; in GetImageBufferSizes()
175 if (*num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in GetImageBufferSizes()
177 *num_buffers, m_v4l2Format.fmt.pix_mp.num_planes); in GetImageBufferSizes()
181 *num_buffers = m_v4l2Format.fmt.pix_mp.num_planes; in GetImageBufferSizes()
190 if (num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in SetImageBuffer()
192 num_buffers,m_v4l2Format.fmt.pix_mp.num_planes); in SetImageBuffer()
196 for (unsigned int i = 0; i < m_v4l2Format.fmt.pix_mp.num_planes; i++) { in SetImageBuffer()
198 if (len_buffers[i] < m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage) { in SetImageBuffer()
200 i, len_buffers[i], m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage); in SetImageBuffer()
203 m_v4l2SrcPlanes[i].bytesused = m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage; in SetImageBuffer()
217 if (num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in SetImageBuffer()
219 num_buffers,m_v4l2Format.fmt.pix_mp.num_planes); in SetImageBuffer()
223 for (unsigned int i = 0; i < m_v4l2Format.fmt.pix_mp.num_planes; i++) { in SetImageBuffer()
225 if (len_buffers[i] < m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage) { in SetImageBuffer()
227 i, len_buffers[i], m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage); in SetImageBuffer()
230 m_v4l2SrcPlanes[i].bytesused = m_v4l2Format.fmt.pix_mp.plane_fmt[i].sizeimage; in SetImageBuffer()
249 if (num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in SetImageBuffer2()
251 num_buffers,m_v4l2Format.fmt.pix_mp.num_planes); in SetImageBuffer2()
256 for (unsigned int i = m_v4l2Format.fmt.pix_mp.num_planes; in SetImageBuffer2()
257 i < (m_v4l2Format.fmt.pix_mp.num_planes * 2); i++, ibuf++) { in SetImageBuffer2()
278 if (num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in SetImageBuffer2()
280 num_buffers,m_v4l2Format.fmt.pix_mp.num_planes); in SetImageBuffer2()
285 for (unsigned int i = m_v4l2Format.fmt.pix_mp.num_planes; in SetImageBuffer2()
286 i < (m_v4l2Format.fmt.pix_mp.num_planes * 2); i++, ibuf++) { in SetImageBuffer2()
383 m_v4l2SrcBuffer.length = m_v4l2Format.fmt.pix_mp.num_planes; in Compress()
429 v4l2JpegFormat.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_JPEG; in SetFormat()
430 v4l2JpegFormat.fmt.pix_mp.width = m_v4l2Format.fmt.pix_mp.width; in SetFormat()
431 v4l2JpegFormat.fmt.pix_mp.height = m_v4l2Format.fmt.pix_mp.height; in SetFormat()
662 if (num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in GetImageBuffers()
664 m_v4l2Format.fmt.pix_mp.num_planes, num_buffers); in GetImageBuffers()
668 for (unsigned int i = 0; i < m_v4l2Format.fmt.pix_mp.num_planes; i++) { in GetImageBuffers()
684 if (num_buffers < m_v4l2Format.fmt.pix_mp.num_planes) { in GetImageBuffers()
686 m_v4l2Format.fmt.pix_mp.num_planes, num_buffers); in GetImageBuffers()
690 for (unsigned int i = 0; i < m_v4l2Format.fmt.pix_mp.num_planes; i++) { in GetImageBuffers()