• Home
  • Raw
  • Download

Lines Matching refs:mf

524 	struct v4l2_mbus_framefmt *mf = &format->format;  in mt9m111_get_fmt()  local
532 mf = v4l2_subdev_get_try_format(sd, cfg, format->pad); in mt9m111_get_fmt()
533 format->format = *mf; in mt9m111_get_fmt()
540 mf->width = mt9m111->width; in mt9m111_get_fmt()
541 mf->height = mt9m111->height; in mt9m111_get_fmt()
542 mf->code = mt9m111->fmt->code; in mt9m111_get_fmt()
543 mf->colorspace = mt9m111->fmt->colorspace; in mt9m111_get_fmt()
544 mf->field = V4L2_FIELD_NONE; in mt9m111_get_fmt()
545 mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in mt9m111_get_fmt()
546 mf->quantization = V4L2_QUANTIZATION_DEFAULT; in mt9m111_get_fmt()
547 mf->xfer_func = V4L2_XFER_FUNC_DEFAULT; in mt9m111_get_fmt()
630 struct v4l2_mbus_framefmt *mf = &format->format; in mt9m111_set_fmt() local
644 fmt = mt9m111_find_datafmt(mt9m111, mf->code); in mt9m111_set_fmt()
660 mf->width = rect->width; in mt9m111_set_fmt()
661 mf->height = rect->height; in mt9m111_set_fmt()
664 if (mf->width > rect->width) in mt9m111_set_fmt()
665 mf->width = rect->width; in mt9m111_set_fmt()
666 if (mf->height > rect->height) in mt9m111_set_fmt()
667 mf->height = rect->height; in mt9m111_set_fmt()
671 mf->width, mf->height, fmt->code); in mt9m111_set_fmt()
673 mf->code = fmt->code; in mt9m111_set_fmt()
674 mf->colorspace = fmt->colorspace; in mt9m111_set_fmt()
675 mf->field = V4L2_FIELD_NONE; in mt9m111_set_fmt()
676 mf->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in mt9m111_set_fmt()
677 mf->quantization = V4L2_QUANTIZATION_DEFAULT; in mt9m111_set_fmt()
678 mf->xfer_func = V4L2_XFER_FUNC_DEFAULT; in mt9m111_set_fmt()
681 cfg->try_fmt = *mf; in mt9m111_set_fmt()
685 ret = mt9m111_setup_geometry(mt9m111, rect, mf->width, mf->height, mf->code); in mt9m111_set_fmt()
687 ret = mt9m111_set_pixfmt(mt9m111, mf->code); in mt9m111_set_fmt()
689 mt9m111->width = mf->width; in mt9m111_set_fmt()
690 mt9m111->height = mf->height; in mt9m111_set_fmt()