Lines Matching refs:pixfmt
609 struct v4l2_pix_format *pixfmt, in bcap_try_format() argument
622 if (pixfmt->pixelformat == fmt->pixelformat) in bcap_try_format()
628 v4l2_fill_mbus_format(&format.format, pixfmt, fmt->mbus_code); in bcap_try_format()
633 v4l2_fill_pix_format(pixfmt, &format.format); in bcap_try_format()
642 pixfmt->bytesperline = pixfmt->width * fmt->bpp / 8; in bcap_try_format()
643 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; in bcap_try_format()
668 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in bcap_try_fmt_vid_cap() local
670 return bcap_try_format(bcap_dev, pixfmt, NULL); in bcap_try_fmt_vid_cap()
690 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in bcap_s_fmt_vid_cap() local
697 ret = bcap_try_format(bcap_dev, pixfmt, &bcap_fmt); in bcap_s_fmt_vid_cap()
701 v4l2_fill_mbus_format(&format.format, pixfmt, bcap_fmt.mbus_code); in bcap_s_fmt_vid_cap()
705 bcap_dev->fmt = *pixfmt; in bcap_s_fmt_vid_cap()