Lines Matching refs:mf

1215 	struct v4l2_mbus_framefmt *mf = &fmt->format;
1218 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
1219 fmt->format = *mf;
1228 *mf = camif->mbus_fmt;
1233 mf->width = camif->camif_crop.width;
1234 mf->height = camif->camif_crop.height;
1235 mf->code = camif->mbus_fmt.code;
1240 mf->field = V4L2_FIELD_NONE;
1241 mf->colorspace = V4L2_COLORSPACE_JPEG;
1246 struct v4l2_mbus_framefmt *mf, int pad)
1256 if (camif_mbus_formats[i] == mf->code)
1260 mf->code = camif_mbus_formats[0];
1263 v4l_bound_align_image(&mf->width, 8, CAMIF_MAX_PIX_WIDTH,
1265 &mf->height, 8, CAMIF_MAX_PIX_HEIGHT, 0,
1269 v4l_bound_align_image(&mf->width, 8, crop->width,
1271 &mf->height, 8, crop->height,
1275 v4l2_dbg(1, debug, &camif->subdev, "%ux%u\n", mf->width, mf->height);
1283 struct v4l2_mbus_framefmt *mf = &fmt->format;
1288 fmt->pad, mf->code, mf->width, mf->height);
1290 mf->field = V4L2_FIELD_NONE;
1291 mf->colorspace = V4L2_COLORSPACE_JPEG;
1304 __camif_subdev_try_format(camif, mf, fmt->pad);
1307 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad);
1308 *mf = fmt->format;
1315 camif->mbus_fmt = *mf;
1317 crop->width = mf->width;
1318 crop->height = mf->height;
1328 frame->f_width = mf->width;
1329 frame->f_height = mf->height;
1335 mf->code = camif->mbus_fmt.code;
1336 mf->width = crop->width;
1337 mf->height = crop->height;
1351 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt;
1368 sel->r.width = mf->width;
1369 sel->r.height = mf->height;
1378 crop->height, mf->width, mf->height);
1385 struct v4l2_mbus_framefmt *mf = &camif->mbus_fmt;
1392 * - r->width + 2 * r->left = mf->width;
1393 * - r->height + 2 * r->top = mf->height;
1397 v4l_bound_align_image(&r->width, 0, mf->width,
1399 &r->height, 0, mf->height, 1, 0);
1401 v4l_bound_align_image(&left, 0, mf->width - r->width,
1403 &top, 0, mf->height - r->height, 2, 0);
1407 r->width = mf->width - left;
1408 r->height = mf->height - top;
1429 r->left, r->top, r->width, r->height, mf->width, mf->height);