Lines Matching refs:pixelformat
102 __u32 pixelformat; member
108 .pixelformat = V4L2_PIX_FMT_YUYV,
114 .pixelformat = V4L2_PIX_FMT_YVYU,
120 .pixelformat = V4L2_PIX_FMT_YUV420,
126 .pixelformat = V4L2_PIX_FMT_YVU420,
132 .pixelformat = V4L2_PIX_FMT_XRGB444,
138 .pixelformat = V4L2_PIX_FMT_RGB565,
144 .pixelformat = V4L2_PIX_FMT_SBGGR8,
152 static struct mcam_format_struct *mcam_find_format(u32 pixelformat) in mcam_find_format() argument
157 if (mcam_formats[i].pixelformat == pixelformat) in mcam_find_format()
169 .pixelformat = V4L2_PIX_FMT_YUYV,
333 switch (fmt->pixelformat) { in mcam_write_yuv_bases()
347 if (mcam_fmt_is_planar(fmt->pixelformat)) { in mcam_write_yuv_bases()
731 switch (fmt->pixelformat) { in mcam_ctlr_image()
756 switch (fmt->pixelformat) { in mcam_ctlr_image()
783 cam_err(cam, "camera: unknown format: %#x\n", fmt->pixelformat); in mcam_ctlr_image()
1342 fmt->pixelformat = mcam_formats[fmt->index].pixelformat; in mcam_vidioc_enum_fmt_vid_cap()
1361 f = mcam_find_format(pix->pixelformat); in mcam_vidioc_try_fmt_vid_cap()
1362 pix->pixelformat = f->pixelformat; in mcam_vidioc_try_fmt_vid_cap()
1367 switch (f->pixelformat) { in mcam_vidioc_try_fmt_vid_cap()
1394 f = mcam_find_format(fmt->fmt.pix.pixelformat); in mcam_vidioc_s_fmt_vid_cap()
1501 if (f->pixelformat != sizes->pixel_format) in mcam_vidioc_enum_framesizes()
1538 if (f->pixelformat != interval->pixel_format) in mcam_vidioc_enum_frameintervals()