Lines Matching refs:mpix
1086 struct v4l2_pix_format_mplane *mpix = &f->fmt.pix_mp; in cio2_v4l2_try_fmt() local
1088 fmt = cio2_find_format(&mpix->pixelformat, NULL); in cio2_v4l2_try_fmt()
1093 if (mpix->width > CIO2_IMAGE_MAX_WIDTH) in cio2_v4l2_try_fmt()
1094 mpix->width = CIO2_IMAGE_MAX_WIDTH; in cio2_v4l2_try_fmt()
1095 if (mpix->height > CIO2_IMAGE_MAX_HEIGHT) in cio2_v4l2_try_fmt()
1096 mpix->height = CIO2_IMAGE_MAX_HEIGHT; in cio2_v4l2_try_fmt()
1098 mpix->num_planes = 1; in cio2_v4l2_try_fmt()
1099 mpix->pixelformat = fmt->fourcc; in cio2_v4l2_try_fmt()
1100 mpix->colorspace = V4L2_COLORSPACE_RAW; in cio2_v4l2_try_fmt()
1101 mpix->field = V4L2_FIELD_NONE; in cio2_v4l2_try_fmt()
1102 mpix->plane_fmt[0].bytesperline = cio2_bytesperline(mpix->width); in cio2_v4l2_try_fmt()
1103 mpix->plane_fmt[0].sizeimage = mpix->plane_fmt[0].bytesperline * in cio2_v4l2_try_fmt()
1104 mpix->height; in cio2_v4l2_try_fmt()
1107 mpix->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in cio2_v4l2_try_fmt()
1108 mpix->quantization = V4L2_QUANTIZATION_DEFAULT; in cio2_v4l2_try_fmt()
1109 mpix->xfer_func = V4L2_XFER_FUNC_DEFAULT; in cio2_v4l2_try_fmt()