Lines Matching refs:pixfmt
467 struct v4l2_pix_format *pixfmt = &common->fmt.fmt.pix; in vpif_update_std_info() local
475 if (pixfmt->width && pixfmt->height) { in vpif_update_std_info()
476 if (pixfmt->field == V4L2_FIELD_ANY || in vpif_update_std_info()
477 pixfmt->field == V4L2_FIELD_NONE) in vpif_update_std_info()
478 pixfmt->field = V4L2_FIELD_NONE; in vpif_update_std_info()
481 if (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10 || in vpif_update_std_info()
482 pixfmt->pixelformat == V4L2_PIX_FMT_SBGGR8) in vpif_update_std_info()
485 if (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10) in vpif_update_std_info()
959 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in vpif_try_fmt_vid_cap() local
965 pixfmt->field = common->fmt.fmt.pix.field; in vpif_try_fmt_vid_cap()
966 pixfmt->colorspace = common->fmt.fmt.pix.colorspace; in vpif_try_fmt_vid_cap()
967 pixfmt->bytesperline = common->fmt.fmt.pix.width; in vpif_try_fmt_vid_cap()
968 pixfmt->width = common->fmt.fmt.pix.width; in vpif_try_fmt_vid_cap()
969 pixfmt->height = common->fmt.fmt.pix.height; in vpif_try_fmt_vid_cap()
970 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height * 2; in vpif_try_fmt_vid_cap()
971 if (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10) { in vpif_try_fmt_vid_cap()
972 pixfmt->bytesperline = common->fmt.fmt.pix.width * 2; in vpif_try_fmt_vid_cap()
973 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; in vpif_try_fmt_vid_cap()
977 pixfmt->width, pixfmt->height, in vpif_try_fmt_vid_cap()
978 pixfmt->bytesperline, pixfmt->pixelformat, in vpif_try_fmt_vid_cap()
979 pixfmt->field, pixfmt->sizeimage); in vpif_try_fmt_vid_cap()