Lines Matching refs:pixelformat
92 u32 pixelformat) in rvin_format_from_pixel() argument
96 switch (pixelformat) { in rvin_format_from_pixel()
114 if (rvin_formats[i].fourcc == pixelformat) in rvin_format_from_pixel()
126 fmt = rvin_format_from_pixel(vin, pix->pixelformat); in rvin_format_bytesperline()
131 switch (pix->pixelformat) { in rvin_format_bytesperline()
149 switch (pix->pixelformat) { in rvin_format_sizeimage()
163 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_format_align()
164 pix->pixelformat = RVIN_DEFAULT_FORMAT; in rvin_format_align()
183 switch (pix->pixelformat) { in rvin_format_align()
275 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_try_format()
276 pix->pixelformat = RVIN_DEFAULT_FORMAT; in rvin_try_format()
396 f->pixelformat = V4L2_PIX_FMT_SBGGR8; in rvin_enum_fmt_vid_cap()
401 f->pixelformat = V4L2_PIX_FMT_SGBRG8; in rvin_enum_fmt_vid_cap()
406 f->pixelformat = V4L2_PIX_FMT_SGRBG8; in rvin_enum_fmt_vid_cap()
411 f->pixelformat = V4L2_PIX_FMT_SRGGB8; in rvin_enum_fmt_vid_cap()
423 f->pixelformat = rvin_formats[i].fourcc; in rvin_enum_fmt_vid_cap()
518 fmt = rvin_format_from_pixel(vin, vin->format.pixelformat); in rvin_s_selection()
1065 vin->format.pixelformat = RVIN_DEFAULT_FORMAT; in rvin_v4l2_register()