Lines Matching refs:mf

767 	struct v4l2_mbus_framefmt *mf = &sfmt.format;
784 ffmt = fimc_find_format(NULL, mf->code != 0 ? &mf->code : NULL,
793 mf->code = tfmt->code = ffmt->mbus_code;
806 mf->code = tfmt->code;
819 if (mf->code != tfmt->code)
823 tfmt->width = mf->width;
824 tfmt->height = mf->height;
830 mf->code = ffmt->mbus_code;
831 if (mf->width != tfmt->width || mf->height != tfmt->height)
833 tfmt->code = mf->code;
839 *tfmt = *mf;
945 struct v4l2_mbus_framefmt *mf;
947 mf = try ? &mbus_fmt : &fimc->vid_cap.ci_fmt;
949 mf->code = (*out_fmt)->mbus_code;
950 mf->width = pix->width;
951 mf->height = pix->height;
954 ret = fimc_pipeline_try_format(ctx, mf, inp_fmt, try);
960 pix->width = mf->width;
961 pix->height = mf->height;
1476 struct v4l2_mbus_framefmt *mf;
1479 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
1480 fmt->format = *mf;
1484 mf = &fmt->format;
1490 mf->code = ff->fmt->mbus_code;
1492 mf->width = ff->width;
1493 mf->height = ff->height;
1496 *mf = fimc->vid_cap.wb_fmt;
1500 *mf = fimc->vid_cap.ci_fmt;
1505 mf->colorspace = V4L2_COLORSPACE_JPEG;
1515 struct v4l2_mbus_framefmt *mf = &fmt->format;
1522 fmt->pad, mf->code, mf->width, mf->height);
1528 ffmt = fimc_capture_try_format(ctx, &mf->width, &mf->height,
1529 &mf->code, NULL, fmt->pad);
1531 mf->colorspace = V4L2_COLORSPACE_JPEG;
1534 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
1535 *mf = fmt->format;
1549 mf->width = ctx->s_frame.width;
1550 mf->height = ctx->s_frame.height;
1556 set_frame_bounds(ff, mf->width, mf->height);
1559 vc->wb_fmt = *mf;
1561 vc->ci_fmt = *mf;
1567 set_frame_crop(ff, 0, 0, mf->width, mf->height);