Lines Matching refs:mf
394 static int sr030pc30_try_frame_size(struct v4l2_mbus_framefmt *mf)
401 int err = abs(fsize->width - mf->width)
402 + abs(fsize->height - mf->height);
410 mf->width = match->width;
411 mf->height = match->height;
486 struct v4l2_mbus_framefmt *mf;
492 mf = &format->format;
497 mf->width = info->curr_win->width;
498 mf->height = info->curr_win->height;
499 mf->code = info->curr_fmt->code;
500 mf->colorspace = info->curr_fmt->colorspace;
501 mf->field = V4L2_FIELD_NONE;
508 struct v4l2_mbus_framefmt *mf)
512 sr030pc30_try_frame_size(mf);
515 if (mf->code == sr030pc30_formats[i].code)
521 mf->code = sr030pc30_formats[i].code;
533 struct v4l2_mbus_framefmt *mf;
538 mf = &format->format;
542 fmt = try_fmt(sd, mf);
544 cfg->try_fmt = *mf;