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()
273 if (!rvin_format_from_pixel(vin, pix->pixelformat)) in rvin_try_format()
274 pix->pixelformat = RVIN_DEFAULT_FORMAT; in rvin_try_format()
393 f->pixelformat = V4L2_PIX_FMT_SBGGR8; in rvin_enum_fmt_vid_cap()
398 f->pixelformat = V4L2_PIX_FMT_SGBRG8; in rvin_enum_fmt_vid_cap()
403 f->pixelformat = V4L2_PIX_FMT_SGRBG8; in rvin_enum_fmt_vid_cap()
408 f->pixelformat = V4L2_PIX_FMT_SRGGB8; in rvin_enum_fmt_vid_cap()
420 f->pixelformat = rvin_formats[i].fourcc; in rvin_enum_fmt_vid_cap()
570 fmt = rvin_format_from_pixel(vin, vin->format.pixelformat); in rvin_s_selection()
1120 vin->format.pixelformat = RVIN_DEFAULT_FORMAT; in rvin_v4l2_register()