Lines Matching refs:c_fmt
8955 struct v4l2_format fmt, c_fmt;
8968 memset(&c_fmt, 0x0, sizeof(struct v4l2_format));
8978 c_fmt.type =V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
8979 c_fmt.fmt.pix_mp.pixelformat = capture_capability;
8980 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FMT, &c_fmt);
8981 c_fmt.fmt.pix_mp.plane_fmt[0].sizeimage = buf_size;
8982 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_FMT, &c_fmt);