Searched refs:v4lfmt (Results 1 – 2 of 2) sorted by relevance
/external/libkmsxx/kms++util/src/ |
D | videodevice.cpp | 38 v4l2_format v4lfmt { }; in v4l2_set_format() local 40 v4lfmt.type = buf_type; in v4l2_set_format() 41 r = ioctl(fd, VIDIOC_G_FMT, &v4lfmt); in v4l2_set_format() 49 v4l2_pix_format_mplane& mp = v4lfmt.fmt.pix_mp; in v4l2_set_format() 65 r = ioctl(fd, VIDIOC_S_FMT, &v4lfmt); in v4l2_set_format() 84 v4lfmt.fmt.pix.pixelformat = (uint32_t)fmt; in v4l2_set_format() 85 v4lfmt.fmt.pix.width = width; in v4l2_set_format() 86 v4lfmt.fmt.pix.height = height; in v4l2_set_format() 87 v4lfmt.fmt.pix.bytesperline = width * pfi.planes[0].bitspp / 8; in v4l2_set_format() 89 r = ioctl(fd, VIDIOC_S_FMT, &v4lfmt); in v4l2_set_format() [all …]
|
/external/libkmsxx/utils/ |
D | kmscapture.cpp | 141 struct v4l2_format v4lfmt = { }; in CameraPipeline() local 142 v4lfmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in CameraPipeline() 143 r = ioctl(m_fd, VIDIOC_G_FMT, &v4lfmt); in CameraPipeline() 146 v4lfmt.fmt.pix.pixelformat = (uint32_t)pixfmt; in CameraPipeline() 147 v4lfmt.fmt.pix.width = m_in_width; in CameraPipeline() 148 v4lfmt.fmt.pix.height = m_in_height; in CameraPipeline() 150 r = ioctl(m_fd, VIDIOC_S_FMT, &v4lfmt); in CameraPipeline()
|