Lines Matching refs:mf
358 static int noon010_try_frame_size(struct v4l2_mbus_framefmt *mf,
367 int err = abs(fsize->width - mf->width)
368 + abs(fsize->height - mf->height);
377 mf->width = match->width;
378 mf->height = match->height;
506 struct v4l2_mbus_framefmt *mf;
510 mf = v4l2_subdev_get_try_format(sd, cfg, 0);
511 fmt->format = *mf;
515 mf = &fmt->format;
518 mf->width = info->curr_win->width;
519 mf->height = info->curr_win->height;
520 mf->code = info->curr_fmt->code;
521 mf->colorspace = info->curr_fmt->colorspace;
522 mf->field = V4L2_FIELD_NONE;
530 struct v4l2_mbus_framefmt *mf)
535 if (mf->code == noon010_formats[i].code)
537 mf->code = noon010_formats[i].code;
548 struct v4l2_mbus_framefmt *mf;
558 mf = v4l2_subdev_get_try_format(sd, cfg, 0);
559 *mf = fmt->format;
640 struct v4l2_mbus_framefmt *mf = v4l2_subdev_get_try_format(sd, fh->pad, 0);
642 mf->width = noon010_sizes[0].width;
643 mf->height = noon010_sizes[0].height;
644 mf->code = noon010_formats[0].code;
645 mf->colorspace = V4L2_COLORSPACE_JPEG;
646 mf->field = V4L2_FIELD_NONE;