Lines Matching refs:pix
43 struct v4l2_pix_format_mplane *pix, in video_mbus_to_pix_mp() argument
50 memset(pix, 0, sizeof(*pix)); in video_mbus_to_pix_mp()
51 v4l2_fill_pix_format_mplane(pix, mbus); in video_mbus_to_pix_mp()
52 pix->pixelformat = f->pixelformat; in video_mbus_to_pix_mp()
53 pix->num_planes = f->planes; in video_mbus_to_pix_mp()
54 for (i = 0; i < pix->num_planes; i++) { in video_mbus_to_pix_mp()
55 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp()
58 pix->plane_fmt[i].bytesperline = bytesperline; in video_mbus_to_pix_mp()
59 pix->plane_fmt[i].sizeimage = pix->height / in video_mbus_to_pix_mp()
208 struct v4l2_pix_format_mplane *pix = &video->active_fmt.fmt.pix_mp; in video_check_format() local
213 sd_pix->pixelformat = pix->pixelformat; in video_check_format()
218 if (pix->pixelformat != sd_pix->pixelformat || in video_check_format()
219 pix->height != sd_pix->height || in video_check_format()
220 pix->width != sd_pix->width || in video_check_format()
221 pix->num_planes != sd_pix->num_planes || in video_check_format()
222 pix->field != format.fmt.pix_mp.field) in video_check_format()