Lines Matching refs:mf
1050 struct v4l2_mbus_framefmt *mf; in ov2659_get_fmt() local
1052 mf = v4l2_subdev_get_try_format(sd, cfg, 0); in ov2659_get_fmt()
1054 fmt->format = *mf; in ov2659_get_fmt()
1073 static void __ov2659_try_frame_size(struct v4l2_mbus_framefmt *mf, in __ov2659_try_frame_size() argument
1082 int err = abs(fsize->width - mf->width) in __ov2659_try_frame_size()
1083 + abs(fsize->height - mf->height); in __ov2659_try_frame_size()
1094 mf->width = match->width; in __ov2659_try_frame_size()
1095 mf->height = match->height; in __ov2659_try_frame_size()
1107 struct v4l2_mbus_framefmt *mf = &fmt->format; in ov2659_set_fmt() local
1114 __ov2659_try_frame_size(mf, &size); in ov2659_set_fmt()
1117 if (ov2659_formats[index].code == mf->code) in ov2659_set_fmt()
1123 mf->colorspace = V4L2_COLORSPACE_SRGB; in ov2659_set_fmt()
1124 mf->code = ov2659_formats[index].code; in ov2659_set_fmt()
1125 mf->field = V4L2_FIELD_NONE; in ov2659_set_fmt()
1131 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in ov2659_set_fmt()
1132 *mf = fmt->format; in ov2659_set_fmt()